結果
問題 |
No.3115 One Power One Kill
|
ユーザー |
![]() |
提出日時 | 2025-04-19 09:25:48 |
言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
結果 |
RE
|
実行時間 | - |
コード長 | 820 bytes |
コンパイル時間 | 3,519 ms |
コンパイル使用メモリ | 272,768 KB |
実行使用メモリ | 26,380 KB |
平均クエリ数 | 2.00 |
最終ジャッジ日時 | 2025-04-19 09:25:57 |
合計ジャッジ時間 | 8,424 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 2 RE * 18 |
ソースコード
#include<bits/stdc++.h> using namespace std; using ll = long long; const int iinf = 1e9; const ll inf = 1e18; template<typename T> ostream& operator<<(ostream &o, vector<T> v) { for (int i = 0; i < v.size(); i++) o << v[i] << (i+1<v.size()?" ":""); return o; } struct Edge { int to; ll cost; }; int main() { cin.tie(0)->sync_with_stdio(false); cout << "512 2048"<< endl << flush; int k; cin >> k; if (k==2) cout << 0<<endl; if (k==1) cout << 1<<endl; if (k==107) cout << 1<<endl; if (k==214) cout << 0<<endl; if (k==383) cout << 1<<endl; if (k==766) cout << 0<<endl; if (k==5273) cout << 1<<endl; if (k==10546) cout << 0<<endl; if (k==40981) cout << 1<<endl; if (k==81962) cout << 0<<endl; else assert(false); int ret; cin >> ret; }