結果
問題 | No.2357 Guess the Function |
ユーザー |
|
提出日時 | 2023-06-23 21:46:37 |
言語 | PyPy3 (7.3.15) |
結果 |
RE
|
実行時間 | - |
コード長 | 211 bytes |
コンパイル時間 | 250 ms |
コンパイル使用メモリ | 82,312 KB |
実行使用メモリ | 82,900 KB |
平均クエリ数 | 2.73 |
最終ジャッジ日時 | 2024-07-01 01:22:02 |
合計ジャッジ時間 | 1,936 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | RE * 1 |
other | AC * 4 WA * 4 RE * 2 |
ソースコード
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()