結果
| 問題 | No.3518 座標当てゲーム |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2026-05-01 21:23:33 |
| 言語 | C++23 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 511 bytes |
| 記録 | |
| コンパイル時間 | 3,247 ms |
| コンパイル使用メモリ | 330,412 KB |
| 実行使用メモリ | 30,320 KB |
| 平均クエリ数 | 2.00 |
| 最終ジャッジ日時 | 2026-05-01 21:23:55 |
| 合計ジャッジ時間 | 9,907 ms |
|
ジャッジサーバーID (参考情報) |
judge1_1 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | WA * 20 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
#define si(a) (long)a.size()
#define fi first
#define se second
#define all(x) x.begin(),x.end()
#define rep(i,n) for(int i=0;i<(int)(n);++i)
template<typename S,typename F>bool chmin(S&a,F b){return b<a?(a=b,1):0;}
template<typename S,typename F>bool chmax(S&a,F b){return b>a?(a=b,1):0;}
bool _=(ios::sync_with_stdio(0),cin.tie(0),cout<<fixed<<setprecision(16),0);
int main(){
cout<<"? "<<-3000<<endl;
int X;
cin>>X;
cout<<"! "<<-3000+X<<endl;
}