結果
問題 |
No.3115 One Power One Kill
|
ユーザー |
![]() |
提出日時 | 2025-04-19 09:27:17 |
言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 64 ms / 2,000 ms |
コード長 | 2,181 bytes |
コンパイル時間 | 3,981 ms |
コンパイル使用メモリ | 275,816 KB |
実行使用メモリ | 25,996 KB |
平均クエリ数 | 2.00 |
最終ジャッジ日時 | 2025-04-19 09:27:24 |
合計ジャッジ時間 | 6,106 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 20 |
ソースコード
#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 << "3888 99144"<< endl << flush; int k; cin >> k; if (k==2) cout << 86752<<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; if (k==102) cout << 0<<endl; if (k==21) cout << 18225<<endl; if (k==6) cout << 5832<<endl; if (k==3) cout << 18225<<endl; if (k==14) cout << 86752<<endl; if (k==118) cout << 86752<<endl; if (k==119) cout << 93313<<endl; if (k==42) cout << 5832<<endl; if (k==7) cout << 1<<endl; if (k==34) cout << 80920<<endl; if (k==51) cout << 12393<<endl; if (k==177) cout << 18225<<endl; if (k==17) cout << 93313<<endl; if (k==238) cout << 80920<<endl; if (k==59) cout << 1<<endl; if (k==354) cout << 5832<<endl; if (k==357) cout << 12393<<endl; if (k==413) cout << 1<<endl; if (k==714) cout << 0<<endl; if (k==826) cout << 86752<<endl; if (k==1003) cout << 93313<<endl; if (k==1239) cout << 18225<<endl; if (k==2006) cout << 80920<<endl; if (k==2478) cout << 5832<<endl; if (k==3009) cout << 12393<<endl; if (k==4127) cout << 1<<endl; if (k==6018) cout << 0<<endl; if (k==7021) cout << 93313<<endl; if (k==8254) cout << 86752<<endl; if (k==12381) cout << 18225<<endl; if (k==14042) cout << 80920<<endl; if (k==21063) cout << 12393<<endl; if (k==24762) cout << 5832<<endl; if (k==28889) cout << 1<<endl; if (k==42126) cout << 0<<endl; if (k==57778) cout << 86752<<endl; if (k==70159) cout << 93313<<endl; if (k==86667) cout << 18225<<endl; int ret; cin >> ret; }