結果

問題 No.32 貯金箱の憂鬱
ユーザー LaLa
提出日時 2020-11-23 14:38:02
言語 Ruby
(3.2.2)
結果
AC  
実行時間 86 ms / 5,000 ms
コード長 75 bytes
コンパイル時間 49 ms
コンパイル使用メモリ 11,320 KB
実行使用メモリ 15,220 KB
最終ジャッジ日時 2023-09-30 23:46:47
合計ジャッジ時間 1,952 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 86 ms
15,048 KB
testcase_01 AC 82 ms
14,996 KB
testcase_02 AC 82 ms
15,084 KB
testcase_03 AC 81 ms
15,164 KB
testcase_04 AC 81 ms
14,932 KB
testcase_05 AC 82 ms
15,112 KB
testcase_06 AC 82 ms
15,164 KB
testcase_07 AC 82 ms
15,060 KB
testcase_08 AC 81 ms
15,156 KB
testcase_09 AC 83 ms
15,220 KB
testcase_10 AC 82 ms
15,160 KB
testcase_11 AC 82 ms
15,164 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

L,M,N=3.times.map{gets.to_i}

M+=N/25
N%=25

L+=M/4
M%=4

L%=10

puts L+M+N
0