結果
問題 | No.2357 Guess the Function |
ユーザー | ゼット |
提出日時 | 2024-02-17 09:08:05 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 69 ms / 1,000 ms |
コード長 | 235 bytes |
コンパイル時間 | 283 ms |
コンパイル使用メモリ | 81,572 KB |
実行使用メモリ | 69,468 KB |
平均クエリ数 | 2.91 |
最終ジャッジ日時 | 2024-02-17 09:08:08 |
合計ジャッジ時間 | 2,962 ms |
ジャッジサーバーID (参考情報) |
judge11 / judge14 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 54 ms
69,468 KB |
testcase_01 | AC | 49 ms
69,460 KB |
testcase_02 | AC | 49 ms
69,460 KB |
testcase_03 | AC | 50 ms
69,460 KB |
testcase_04 | AC | 69 ms
69,460 KB |
testcase_05 | AC | 53 ms
69,460 KB |
testcase_06 | AC | 64 ms
69,460 KB |
testcase_07 | AC | 65 ms
69,460 KB |
testcase_08 | AC | 56 ms
69,460 KB |
testcase_09 | AC | 53 ms
69,460 KB |
testcase_10 | AC | 55 ms
69,460 KB |
ソースコード
print('?',100,flush=True) y=int(input()) pos=y if y==99: print('!',99,100,flush=True) exit() z=100-y print('?',z-1,flush=True) y=int(input()) B=y+1 for x in range(B): if (x+100)%B==pos: A=x break print('!',A,B,flush=True)