結果

問題 No.3115 One Power One Kill
ユーザー Mistletoe
提出日時 2025-04-19 10:02:18
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 515 bytes
コンパイル時間 2,571 ms
コンパイル使用メモリ 192,532 KB
実行使用メモリ 26,380 KB
平均クエリ数 2.00
最終ジャッジ日時 2025-04-19 10:02:25
合計ジャッジ時間 5,902 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other WA * 20
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;

int main(){
    ios::sync_with_stdio(false);
    cin.tie(nullptr);

    // 1) Send any A, B
    long long A = 1000, B = 1000;
    cout << A << " " << B << "\n" << flush;

    // 2) Read the judge's gcd reply (we don't actually need it)
    long long K;
    if(!(cin >> K)) return 0;

    // 3) Send any guess for X' (e.g. 0)
    cout << 0 << "\n" << flush;

    // 4) Read the judge's final verdict (ret = 1 means correct)
    int ret;
    cin >> ret;
    return 0;
}
0