結果

問題 No.1032 数数え
ユーザー gemmarogemmaro
提出日時 2020-10-03 17:56:48
言語 Ruby
(3.3.0)
結果
AC  
実行時間 367 ms / 2,000 ms
コード長 94 bytes
コンパイル時間 264 ms
コンパイル使用メモリ 11,488 KB
実行使用メモリ 44,404 KB
最終ジャッジ日時 2023-09-25 05:32:58
合計ジャッジ時間 2,578 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 78 ms
15,044 KB
testcase_01 AC 79 ms
15,124 KB
testcase_02 AC 80 ms
15,156 KB
testcase_03 AC 79 ms
15,256 KB
testcase_04 AC 78 ms
15,284 KB
testcase_05 AC 78 ms
15,232 KB
testcase_06 AC 78 ms
15,040 KB
testcase_07 AC 367 ms
44,404 KB
testcase_08 AC 77 ms
15,288 KB
testcase_09 AC 89 ms
15,504 KB
testcase_10 AC 80 ms
15,260 KB
testcase_11 AC 78 ms
15,016 KB
testcase_12 AC 327 ms
36,872 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

_,M=gets.split.map &:to_i
L=gets.split.map(&:to_i).tally
puts (1..M).map{%(#{_1} #{L[_1]||0})}
0