結果

問題 No.3115 One Power One Kill
ユーザー Yu_212
提出日時 2025-04-19 09:20:20
言語 C++23
(gcc 13.3.0 + boost 1.87.0)
結果
RE  
実行時間 -
コード長 1,590 bytes
コンパイル時間 3,105 ms
コンパイル使用メモリ 274,892 KB
実行使用メモリ 26,252 KB
平均クエリ数 1.00
最終ジャッジ日時 2025-04-19 09:20:30
合計ジャッジ時間 9,249 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other RE * 20
権限があれば一括ダウンロードができます

ソースコード

diff #

#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 assert(false);
    int ret;
    cin >> ret;
}
0