結果
| 問題 |
No.2357 Guess the Function
|
| コンテスト | |
| ユーザー |
nikoro256
|
| 提出日時 | 2024-08-11 18:34:28 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 59 ms / 1,000 ms |
| コード長 | 179 bytes |
| コンパイル時間 | 400 ms |
| コンパイル使用メモリ | 82,736 KB |
| 実行使用メモリ | 68,952 KB |
| 平均クエリ数 | 3.00 |
| 最終ジャッジ日時 | 2024-08-11 18:34:31 |
| 合計ジャッジ時間 | 2,292 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 10 |
ソースコード
print('?',100)
y=int(input())
if y==99:
print('?',1)
y2=int(input())
print('!',99,100)
exit(0)
print('?',100-y-1)
y2=int(input())
B=y2+1
A=(y-100)%B
print('!',A,B)
nikoro256