結果
| 問題 | No.3084 Identify f(x) |
| コンテスト | |
| ユーザー |
SPD_9X2
|
| 提出日時 | 2025-04-04 21:48:25 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 129 ms / 2,000 ms |
| コード長 | 156 bytes |
| 記録 | |
| コンパイル時間 | 2,234 ms |
| コンパイル使用メモリ | 95,460 KB |
| 実行使用メモリ | 78,720 KB |
| 平均クエリ数 | 3.00 |
| 最終ジャッジ日時 | 2026-07-08 09:21:32 |
| 合計ジャッジ時間 | 1,987 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 7 |
ソースコード
"""
"""
print ("?",0,flush=True)
P = int(input())
print ("?",1,flush=True)
Q = int(input())
if P == Q:
print ("!",0,P)
else:
print ("!",Q-P,P)
SPD_9X2