結果
| 問題 |
No.920 あかあお
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2023-11-12 06:57:51 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 271 bytes |
| コンパイル時間 | 284 ms |
| コンパイル使用メモリ | 82,176 KB |
| 実行使用メモリ | 55,808 KB |
| 最終ジャッジ日時 | 2024-09-26 03:00:40 |
| 合計ジャッジ時間 | 1,656 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 9 WA * 2 |
ソースコード
from heapq import *
from itertools import *
from functools import *
from collections import *
import sys,math
input = sys.stdin.readline
X,Y,Z = map(int,input().split())
X,Y = max(X,Y),min(X,Y)
if Z < X - Y:
print(Z + Y + Z)
else:
val = (X+Y+Z)//2
print(val)