結果

問題 No.3084 Identify f(x)
コンテスト
ユーザー Foxy_null
提出日時 2026-01-21 01:37:20
言語 C++17
(gcc 15.2.0 + boost 1.89.0)
結果
WA  
実行時間 -
コード長 352 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 4,922 ms
コンパイル使用メモリ 275,072 KB
実行使用メモリ 28,592 KB
平均クエリ数 3.00
最終ジャッジ日時 2026-01-21 01:37:29
合計ジャッジ時間 7,639 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 2 WA * 5
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

#include <atcoder/all>
#include <bits/stdc++.h>
using namespace std;

#define int long long

void testcase() {
  int a, b;

  cout << "? 0" << endl;

  cin >> b;

  cout << "? 1" << endl;

  cin >> a;

  cout << "! " << a << ' ' << b << endl;

  return;
}

int32_t main() {
  ios::sync_with_stdio(false);
  cin.tie(nullptr);
  testcase();
  return 0;
}
0