結果
問題 | No.2357 Guess the Function |
ユーザー | miya145592 |
提出日時 | 2023-06-23 23:36:54 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 211 bytes |
コンパイル時間 | 986 ms |
コンパイル使用メモリ | 86,668 KB |
実行使用メモリ | 87,756 KB |
平均クエリ数 | 2.91 |
最終ジャッジ日時 | 2023-09-13 18:45:56 |
合計ジャッジ時間 | 2,840 ms |
ジャッジサーバーID (参考情報) |
judge14 / judge11 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 96 ms
87,172 KB |
testcase_01 | AC | 96 ms
87,384 KB |
testcase_02 | AC | 94 ms
87,040 KB |
testcase_03 | AC | 95 ms
86,952 KB |
testcase_04 | WA | - |
testcase_05 | WA | - |
testcase_06 | WA | - |
testcase_07 | AC | 95 ms
87,512 KB |
testcase_08 | WA | - |
testcase_09 | AC | 97 ms
87,644 KB |
testcase_10 | WA | - |
ソースコード
x1 = 100 print(f"? {x1}", flush=True) y1 = int(input()) if y1==99: print(f"! 99 100") exit() x2 = x1 - y1 - 1 print(f"? {x2}", flush=True) y2 = int(input()) print(f"! {(y2-x2)%x2} {y2+1}" ,flush=True)