結果

問題 No.851 テストケース
ユーザー hakatashi
提出日時 2019-08-16 18:00:22
言語 Crystal
(1.14.0)
結果
AC  
実行時間 2 ms / 3,153 ms
コード長 164 bytes
コンパイル時間 12,276 ms
コンパイル使用メモリ 296,872 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-06-30 19:48:59
合計ジャッジ時間 12,845 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 20
権限があれば一括ダウンロードができます

ソースコード

diff #

gets
d = STDIN.gets_to_end
if d.includes? ' '
    puts "\"assert\""
else
    a, b, c = d.split.map(&.to_u64)
    puts [a + b, b + c, c + a].uniq.sort.reverse[1]
end
0