Submission #44919

# Submission time Handle Problem Language Result Execution time Memory
44919 2018-04-09T10:18:32 Z admin Go, Gopher! (GCJ18Q_gogopher) Python 3
0 / 30
34 ms 3300 KB
import sys

T = int(input())
A = int(input())

if A == 20:
  def go():
    for i in [2,3,4]:
      for j in [2,3]:
        for _ in range(100):
          print(i, j)
          sys.stdout.flush()
          x, y = map(int, input().split(" "))
          if x == 0 and y == 0:
            return
else:
  def go():
    return
  
for _ in range(T):
  go()
# Verdict Execution time Memory Grader output
1 Runtime error 34 ms 3300 KB Execution failed because the return code was nonzero
# Verdict Execution time Memory Grader output
1 Incorrect 23 ms 3300 KB Unexpected end of file - token expected