結果
問題 | No.2357 Guess the Function |
ユーザー | mkawa2 |
提出日時 | 2023-06-23 21:58:12 |
言語 | Python3 (3.12.2 + numpy 1.26.4 + scipy 1.12.0) |
結果 |
AC
|
実行時間 | 41 ms / 1,000 ms |
コード長 | 186 bytes |
コンパイル時間 | 177 ms |
コンパイル使用メモリ | 10,704 KB |
実行使用メモリ | 24,168 KB |
平均クエリ数 | 2.91 |
最終ジャッジ日時 | 2023-09-13 16:59:33 |
合計ジャッジ時間 | 1,502 ms |
ジャッジサーバーID (参考情報) |
judge11 / judge14 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 41 ms
23,580 KB |
testcase_01 | AC | 37 ms
23,976 KB |
testcase_02 | AC | 38 ms
23,640 KB |
testcase_03 | AC | 39 ms
24,024 KB |
testcase_04 | AC | 39 ms
23,952 KB |
testcase_05 | AC | 38 ms
23,764 KB |
testcase_06 | AC | 39 ms
23,796 KB |
testcase_07 | AC | 38 ms
23,352 KB |
testcase_08 | AC | 37 ms
23,652 KB |
testcase_09 | AC | 37 ms
24,168 KB |
testcase_10 | AC | 40 ms
23,528 KB |
ソースコード
print("?",100,flush=True) r=int(input()) if r==99: print("!",99,100,flush=True) exit() x=100-r-1 print("?",x,flush=True) y=int(input()) b=y+1 a=(y-x)%b print("!",a,b,flush=True)