(f, n)
| 26 | exec(sources, vars(test_module)) |
| 27 | |
| 28 | def read_exact(f, n): |
| 29 | buf = b'' |
| 30 | while len(buf) < n: |
| 31 | chunk = f.read(n - len(buf)) |
| 32 | if not chunk: |
| 33 | raise EOFError |
| 34 | buf += chunk |
| 35 | return buf |
| 36 | |
| 37 | in_stream = getattr(sys.stdin, 'buffer', sys.stdin) |
| 38 | out_stream = getattr(sys.stdout, 'buffer', sys.stdout) |
no test coverage detected
searching dependent graphs…