結果

問題 No.1628 Sorting Integers (MAX of M)
ユーザー DrqYutoDrqYuto
提出日時 2021-07-31 16:31:55
言語 Ruby
(3.3.0)
結果
WA  
実行時間 -
コード長 99 bytes
コンパイル時間 360 ms
コンパイル使用メモリ 11,292 KB
実行使用メモリ 15,364 KB
最終ジャッジ日時 2023-10-14 15:00:22
合計ジャッジ時間 2,539 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 77 ms
15,120 KB
testcase_01 WA -
testcase_02 AC 75 ms
15,116 KB
testcase_03 AC 75 ms
15,240 KB
testcase_04 WA -
testcase_05 WA -
testcase_06 WA -
testcase_07 WA -
testcase_08 WA -
testcase_09 AC 76 ms
15,280 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

gets;
n=gets.split.map(&:to_i)

puts [*1..9].zip(n).map{_1*_2}.select{_1.nonzero?}.join("").reverse
0