結果

問題 No.32 貯金箱の憂鬱
ユーザー neko_the_shadowneko_the_shadow
提出日時 2016-08-19 22:23:34
言語 Raku
(rakudo v2024.02)
結果
AC  
実行時間 439 ms / 5,000 ms
コード長 168 bytes
コンパイル時間 1,509 ms
コンパイル使用メモリ 132,740 KB
実行使用メモリ 132,588 KB
最終ジャッジ日時 2023-09-30 08:11:56
合計ジャッジ時間 7,799 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 427 ms
132,424 KB
testcase_01 AC 433 ms
132,588 KB
testcase_02 AC 439 ms
132,252 KB
testcase_03 AC 431 ms
132,044 KB
testcase_04 AC 425 ms
132,352 KB
testcase_05 AC 427 ms
132,408 KB
testcase_06 AC 426 ms
132,320 KB
testcase_07 AC 428 ms
132,464 KB
testcase_08 AC 430 ms
132,412 KB
testcase_09 AC 431 ms
132,428 KB
testcase_10 AC 434 ms
132,488 KB
testcase_11 AC 429 ms
132,412 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

my ($l, $m, $n) = map {Int($_)}, (get() for (1..3));

$m += $n div 25;
$n = $n % 25;

$l += $m div 4;
$m = $m % 4;

my $t = $l div 10;
$l = $l % 10;

say $l + $m + $n;
0