結果
問題 |
No.3115 One Power One Kill
|
ユーザー |
![]() |
提出日時 | 2025-04-19 09:24:09 |
言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 1,592 bytes |
コンパイル時間 | 3,207 ms |
コンパイル使用メモリ | 274,512 KB |
実行使用メモリ | 26,252 KB |
平均クエリ数 | 2.00 |
最終ジャッジ日時 | 2025-04-19 09:24:17 |
合計ジャッジ時間 | 7,323 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | WA * 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 << "36 135"<< endl << flush; int k; cin >> k; if (k==10) cout << 55<<endl; else if (k==1) cout << 1<<endl; else if (k==6) cout << 81<<endl; else if (k==2) cout << 1<<endl; else if (k==15) cout << 0<<endl; else if (k==18) cout << 81<<endl; else if (k==111) cout << 81<<endl; else if (k==5) cout << 55<<endl; else if (k==9) cout << 81<<endl; else if (k==30) cout << 0<<endl; else if (k==3) cout << 81<<endl; else if (k==45) cout << 0<<endl; else if (k==74) cout << 1<<endl; else if (k==90) cout << 0<<endl; else if (k==185) cout << 55<<endl; else if (k==222) cout << 81<<endl; else if (k==37) cout << 1<<endl; else if (k==333) cout << 81<<endl; else if (k==370) cout << 55<<endl; else if (k==555) cout << 0<<endl; else if (k==666) cout << 81<<endl; else if (k==1110) cout << 0<<endl; else if (k==1665) cout << 0<<endl; else if (k==3330) cout << 0<<endl; else if (k==16193) cout << 1<<endl; else if (k==32386) cout << 1<<endl; else if (k==48579) cout << 81<<endl; else if (k==80965) cout << 55<<endl; else if (k==97158) cout << 81<<endl; else cout << 0<<endl; int ret; cin >> ret; }