QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#779515#9794. ICPC Shenyang in NEU, the Tenth Consecutive YearLord-schemeWA 12ms10720kbPython3282b2024-11-24 19:33:172024-11-24 19:33:17

Judging History

This is the latest submission verdict.

  • [2024-11-24 19:33:17]
  • Judged
  • Verdict: WA
  • Time: 12ms
  • Memory: 10720kb
  • [2024-11-24 19:33:17]
  • Submitted

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)