結果

問題 No.5 数字のブロック
ユーザー %20%20
提出日時 2017-09-15 17:46:55
言語 Raku
(rakudo v2024.02)
結果
AC  
実行時間 503 ms / 5,000 ms
コード長 105 bytes
コンパイル時間 2,047 ms
コンパイル使用メモリ 135,264 KB
実行使用メモリ 139,372 KB
最終ジャッジ日時 2024-04-29 09:22:23
合計ジャッジ時間 16,744 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 371 ms
136,892 KB
testcase_01 AC 372 ms
136,904 KB
testcase_02 AC 384 ms
138,096 KB
testcase_03 AC 441 ms
138,976 KB
testcase_04 AC 406 ms
137,072 KB
testcase_05 AC 436 ms
138,040 KB
testcase_06 AC 420 ms
136,376 KB
testcase_07 AC 503 ms
137,924 KB
testcase_08 AC 380 ms
136,380 KB
testcase_09 AC 369 ms
137,456 KB
testcase_10 AC 398 ms
138,248 KB
testcase_11 AC 382 ms
136,140 KB
testcase_12 AC 408 ms
138,112 KB
testcase_13 AC 388 ms
139,372 KB
testcase_14 AC 396 ms
136,432 KB
testcase_15 AC 399 ms
136,212 KB
testcase_16 AC 436 ms
138,624 KB
testcase_17 AC 408 ms
138,416 KB
testcase_18 AC 409 ms
138,852 KB
testcase_19 AC 417 ms
138,308 KB
testcase_20 AC 393 ms
136,708 KB
testcase_21 AC 373 ms
136,504 KB
testcase_22 AC 370 ms
136,248 KB
testcase_23 AC 380 ms
136,892 KB
testcase_24 AC 378 ms
136,248 KB
testcase_25 AC 410 ms
137,412 KB
testcase_26 AC 389 ms
136,252 KB
testcase_27 AC 390 ms
137,876 KB
testcase_28 AC 402 ms
137,788 KB
testcase_29 AC 366 ms
136,124 KB
testcase_30 AC 371 ms
136,252 KB
testcase_31 AC 361 ms
137,528 KB
testcase_32 AC 362 ms
137,276 KB
testcase_33 AC 364 ms
136,376 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

my$L=get;
get;
my$z=0;
my@a;
++@a[$_]for get.words;
for 1..@a {$_>$L or$L-=$_,$z++while @a[$_]--}
say $z
0