CompetitiveProgramming/src/bin/test.py

14 lines
350 B
Python
Raw Normal View History

2024-07-02 12:19:33 +01:00
from math import lcm, ceil, log2
2024-05-28 02:28:12 +01:00
from random import choice, randint
from os import system
2024-06-12 18:41:40 +01:00
from collections import defaultdict
2024-05-28 02:28:12 +01:00
import io
2024-06-12 18:41:40 +01:00
PRIME = 998_244_353
2024-05-28 02:28:12 +01:00
if __name__ == '__main__':
2024-10-16 11:58:13 +01:00
N = 100000
print(1)
print(N, N, 0, 2 * N)
print(*[f'{randint(1, N)} {randint(1, N)} {randint(0, (1 << 30) - 1)}' for _ in range(2 * N)], sep = '\n')