結果
問題 |
No.2357 Guess the Function
|
ユーザー |
|
提出日時 | 2023-06-23 22:23:03 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 278 bytes |
コンパイル時間 | 160 ms |
コンパイル使用メモリ | 82,288 KB |
実行使用メモリ | 76,296 KB |
平均クエリ数 | 3.00 |
最終ジャッジ日時 | 2024-07-01 02:06:04 |
合計ジャッジ時間 | 1,792 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | AC * 1 WA * 9 |
ソースコード
x1 = 2 print(f"? {x1}", flush=True) y1 = int(input()) x2 = 3 print(f"? {x2}", flush=True) y2 = int(input()) for a in range(0, 100): for b in range(a+1, 101): if (a+x1)%b==y1 and (a+x2)%b==y2: print(f"! {a} {b}", flush=True) exit()