結果

問題 No.2819 Binary Binary-Operator
ユーザー GOTKAKOGOTKAKO
提出日時 2024-07-26 21:25:19
言語 C++17(gcc12)
(gcc 12.3.0 + boost 1.87.0)
結果
AC  
実行時間 49 ms / 2,000 ms
コード長 319 bytes
コンパイル時間 2,401 ms
コンパイル使用メモリ 201,132 KB
実行使用メモリ 25,580 KB
平均クエリ数 3.00
最終ジャッジ日時 2024-07-26 21:25:28
合計ジャッジ時間 7,523 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 64
権限があれば一括ダウンロードができます

ソースコード

diff #

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

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

    int X,Y; cin >> X >> Y;
    cout << 4 << endl;
    cout << X << " " << Y << " " << Y << " " << Y << endl;
    int t; cin >> t;
    if(t == X) cout << X << endl;
    else cout << (X^1) << endl;
}
0