結果
問題 | No.2357 Guess the Function |
ユーザー | hitonanode |
提出日時 | 2023-06-23 22:40:20 |
言語 | Python3 (3.12.2 + numpy 1.26.4 + scipy 1.12.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 214 bytes |
コンパイル時間 | 199 ms |
コンパイル使用メモリ | 10,580 KB |
実行使用メモリ | 24,300 KB |
平均クエリ数 | 2.91 |
最終ジャッジ日時 | 2023-09-13 17:44:15 |
合計ジャッジ時間 | 1,684 ms |
ジャッジサーバーID (参考情報) |
judge12 / judge13 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 43 ms
23,584 KB |
testcase_01 | AC | 40 ms
23,372 KB |
testcase_02 | WA | - |
testcase_03 | AC | 38 ms
23,556 KB |
testcase_04 | WA | - |
testcase_05 | AC | 37 ms
23,940 KB |
testcase_06 | AC | 38 ms
23,416 KB |
testcase_07 | WA | - |
testcase_08 | AC | 38 ms
23,460 KB |
testcase_09 | WA | - |
testcase_10 | WA | - |
ソースコード
print("? 100") y = int(input()) if y == 99: print("! 99 100") else: print("? {}".format(100 - y - 1)) z = int(input()) print("! {} {}".format((100 - y - 1 - z + (z + 1) * 100000) % (z + 1), z + 1))