QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#779515 | #9794. ICPC Shenyang in NEU, the Tenth Consecutive Year | Lord-scheme | WA | 12ms | 10720kb | Python3 | 282b | 2024-11-24 19:33:17 | 2024-11-24 19:33:17 |
Judging History
answer
import sys, math
T = int(input())
for _ in range(T):
cur: int = 1923
while True:
print('?', cur)
sys.stdout.flush()
ans = int(input())
if not ans:
break
cur += ans
print('!', cur)
sys.stdout.flush()
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 0
Wrong Answer
time: 12ms
memory: 10720kb
input:
1 0
output:
? 1923 ! 1923
result:
wrong answer the answer is incorrect, expect: 2014, find: 1923 (test case 1)