結果
| 問題 | No.2819 Binary Binary-Operator |
| コンテスト | |
| ユーザー |
tnakao0123
|
| 提出日時 | 2024-07-29 14:50:50 |
| 言語 | C++17 (gcc 15.2.0 + boost 1.90.0) |
| 結果 |
AC
|
| 実行時間 | 4 ms / 2,000 ms |
| コード長 | 434 bytes |
| 記録 | |
| コンパイル時間 | 146 ms |
| コンパイル使用メモリ | 52,336 KB |
| 実行使用メモリ | 9,268 KB |
| 平均クエリ数 | 3.00 |
| 最終ジャッジ日時 | 2026-07-05 08:54:31 |
| 合計ジャッジ時間 | 2,251 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 64 |
ソースコード
/* -*- coding: utf-8 -*-
*
* 2819.cc: No.2819 Binary Binary-Operator - yukicoder
*/
#include<cstdio>
#include<algorithm>
using namespace std;
/* main */
int main() {
int x, y;
scanf("%d%d", &x, &y);
int vs[4] = {x, y, y, y};
puts("4");
for (int i = 0; i < 4; i++)
printf("%d%c", vs[i], (i < 3) ? ' ' : '\n');
fflush(stdout);
int t;
scanf("%d", &t);
printf("%d\n", t); fflush(stdout);
return 0;
}
tnakao0123