結果

問題 No.2819 Binary Binary-Operator
ユーザー kenti
提出日時 2024-07-26 21:39:42
言語 C++23
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 31 ms / 2,000 ms
コード長 294 bytes
コンパイル時間 1,818 ms
コンパイル使用メモリ 80,116 KB
実行使用メモリ 25,580 KB
平均クエリ数 3.00
最終ジャッジ日時 2024-07-26 21:39:50
合計ジャッジ時間 7,605 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 64
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
using namespace std;

int X, Y, t;

int main() {
    cin >> X >> Y;
    cout << 4 << endl;
    for (int i = 0; i < 4; i++)
        cout << ((i == 0) ? X : Y) << (i == 3 ? "\n" : " ");
    cout << flush;
    cin >> t;
    cout << t << endl;
    cout << flush;
    return 0;
}
0