結果

問題 No.570 3人兄弟(その1)
ユーザー mergerintaroumergerintarou
提出日時 2017-10-21 00:07:28
言語 Ruby
(3.3.0)
結果
WA  
実行時間 -
コード長 99 bytes
コンパイル時間 48 ms
コンパイル使用メモリ 7,552 KB
実行使用メモリ 12,416 KB
最終ジャッジ日時 2024-05-01 08:00:23
合計ジャッジ時間 1,216 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
testcase_06 WA -
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

a,b,c = gets.to_i,gets.to_i,gets.to_i
arr = [a,b,c]
arr = arr.sort.reverse!
arr.each{|x|
  puts x
}
0