QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#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()
詳細信息
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)