結果
| 問題 | No.3084 Identify f(x) | 
| コンテスト | |
| ユーザー |  Cecil | 
| 提出日時 | 2025-04-04 21:26:21 | 
| 言語 | PyPy3 (7.3.15) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 61 ms / 2,000 ms | 
| コード長 | 214 bytes | 
| コンパイル時間 | 1,727 ms | 
| コンパイル使用メモリ | 82,176 KB | 
| 実行使用メモリ | 68,992 KB | 
| 平均クエリ数 | 4.00 | 
| 最終ジャッジ日時 | 2025-04-04 21:26:52 | 
| 合計ジャッジ時間 | 3,231 ms | 
| ジャッジサーバーID (参考情報) | judge3 / judge4 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 7 | 
ソースコード
while True:
    d = []
    for i in range(1, 3):
        print("?",i)
        r = int(input())
        d.append(r)
    a = d[1]-d[0]
    print("?",3)
    r = int(input())
    b = r-a*3
    print("!",a,b)
    break
            
            
            
        