結果
問題 | No.2357 Guess the Function |
ユーザー | Alex Wice |
提出日時 | 2023-06-23 21:46:37 |
言語 | PyPy3 (7.3.15) |
結果 |
RE
|
実行時間 | - |
コード長 | 211 bytes |
コンパイル時間 | 1,027 ms |
コンパイル使用メモリ | 86,932 KB |
実行使用メモリ | 95,196 KB |
平均クエリ数 | 2.73 |
最終ジャッジ日時 | 2023-09-13 16:46:38 |
合計ジャッジ時間 | 2,674 ms |
ジャッジサーバーID (参考情報) |
judge12 / judge13 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | RE | - |
testcase_01 | WA | - |
testcase_02 | WA | - |
testcase_03 | RE | - |
testcase_04 | AC | 95 ms
86,708 KB |
testcase_05 | WA | - |
testcase_06 | AC | 97 ms
86,844 KB |
testcase_07 | AC | 99 ms
87,340 KB |
testcase_08 | WA | - |
testcase_09 | RE | - |
testcase_10 | AC | 96 ms
86,840 KB |
ソースコード
import sys print("? 1") sys.stdout.flush() A = int(input()) - 1 print("? 100") sys.stdout.flush() A2 = int(input()) for B in range(A+1, 101): if (A + 100) % B == A2: break print("!", A, B) sys.stdout.flush()