結果
| 問題 |
No.920 あかあお
|
| コンテスト | |
| ユーザー |
forest3
|
| 提出日時 | 2020-03-11 15:34:02 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 177 bytes |
| コンパイル時間 | 1,646 ms |
| コンパイル使用メモリ | 166,804 KB |
| 実行使用メモリ | 6,820 KB |
| 最終ジャッジ日時 | 2024-11-16 00:14:31 |
| 合計ジャッジ時間 | 2,423 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 8 WA * 3 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
int main()
{
int X, Y, Z;
cin >> X >> Y >> Z;
int ans = min( X, Y );
ans += (abs( X - Y) + Z) / 2;
cout << ans << endl;
}
forest3