結果

問題 No.920 あかあお
ユーザー yosuteconyosutecon
提出日時 2019-11-10 09:11:13
言語 Julia
(1.10.2)
結果
AC  
実行時間 285 ms / 2,000 ms
コード長 198 bytes
コンパイル時間 181 ms
コンパイル使用メモリ 7,068 KB
実行使用メモリ 246,048 KB
最終ジャッジ日時 2024-04-09 14:15:55
合計ジャッジ時間 5,010 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 285 ms
244,300 KB
testcase_01 AC 280 ms
242,356 KB
testcase_02 AC 281 ms
241,676 KB
testcase_03 AC 277 ms
242,172 KB
testcase_04 AC 282 ms
242,148 KB
testcase_05 AC 284 ms
244,188 KB
testcase_06 AC 283 ms
241,432 KB
testcase_07 AC 281 ms
245,952 KB
testcase_08 AC 282 ms
245,804 KB
testcase_09 AC 281 ms
241,628 KB
testcase_10 AC 277 ms
241,952 KB
testcase_11 AC 280 ms
246,048 KB
testcase_12 AC 279 ms
242,824 KB
testcase_13 AC 282 ms
243,916 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

parseInt(x) = parse(Int, x)
parseMap(x::Array{SubString{String},1}) = map(parseInt, x)

function main()
    x,y,z = readline() |> split |> parseMap
    println(min((x+y+z)>>1,min(x,y)+z))
end
main()
0