import os import sys # ----- FILE IO ----- # stdio("name") picks the mode from the directory it runs in, like template.rs: # name.in exists -> read name.in, write name.out (USACO + the site's Run) # name.in missing -> read stdin, write stdout (Codeforces submission) # Like freopen in template.cpp, it points fds 0 and 1 at the files, so # input(), print() and sys.stdin.buffer all follow without being swapped. def stdio(name): if os.path.exists(name + ".in"): os.dup2(os.open(name + ".in", os.O_RDONLY), 0) os.dup2(os.open(name + ".out", os.O_WRONLY | os.O_CREAT | os.O_TRUNC), 1) # ----- INPUT ----- # Slurps the whole input (call it after stdio), then hands out tokens: # n = int(next(tok)) # a = [int(next(tok)) for _ in range(n)] # s = next(tok).decode() def tokens(): return iter(sys.stdin.buffer.read().split()) def main(): stdio("problem") tok = tokens() t = int(next(tok)) for _ in range(t): pass main()