結果
| 問題 | No.3518 座標当てゲーム |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2026-05-01 21:55:37 |
| 言語 | C++23 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
AC
|
| 実行時間 | 33 ms / 2,000 ms |
| コード長 | 323 bytes |
| 記録 | |
| コンパイル時間 | 2,894 ms |
| コンパイル使用メモリ | 328,628 KB |
| 実行使用メモリ | 30,164 KB |
| 平均クエリ数 | 2.00 |
| 最終ジャッジ日時 | 2026-05-01 21:55:46 |
| 合計ジャッジ時間 | 5,804 ms |
|
ジャッジサーバーID (参考情報) |
judge3_1 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 20 |
ソースコード
#include<bits/stdc++.h>
#define int long long
using namespace std;
int inf=1e18;
/*
解法がわかって実装迷走したら検索かけよう
(やみくもはNG)
*/
signed main(){
ios::sync_with_stdio(false);
cin.tie(nullptr);
cout<<"? -1000"<<endl;
int x;cin>>x;
cout<<"!"<<" "<<-1000+x<<endl;
}