結果
| 問題 |
No.920 あかあお
|
| コンテスト | |
| ユーザー |
Konton7
|
| 提出日時 | 2019-12-19 00:27:09 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 229 bytes |
| コンパイル時間 | 1,499 ms |
| コンパイル使用メモリ | 165,964 KB |
| 実行使用メモリ | 6,948 KB |
| 最終ジャッジ日時 | 2024-07-06 23:05:51 |
| 合計ジャッジ時間 | 2,203 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 3 |
| other | AC * 2 WA * 9 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
int main(){
int x, y, z, w;
cin >> x >> y >> z;
w = min(x, y);
x -= w, y -= w;
w += (x + y + x) / 2;
cout << w << endl;
return 0;
}
Konton7