結果
問題 | No.920 あかあお |
ユーザー |
![]() |
提出日時 | 2019-11-08 21:22:19 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 39 ms / 2,000 ms |
コード長 | 153 bytes |
コンパイル時間 | 173 ms |
コンパイル使用メモリ | 82,240 KB |
実行使用メモリ | 53,712 KB |
最終ジャッジ日時 | 2024-09-23 03:29:36 |
合計ジャッジ時間 | 1,322 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 11 |
ソースコード
x, y, z = map(int, input().split()) ans = 0 ans += min(x, y) x -= ans y -= ans if z <= x or z <= y: ans += z else: ans += (x+y+z)//2 print(ans)