結果

問題 No.32 貯金箱の憂鬱
ユーザー maimai
提出日時 2016-06-13 14:30:16
言語 Ruby
(3.3.0)
結果
AC  
実行時間 86 ms / 5,000 ms
コード長 77 bytes
コンパイル時間 53 ms
コンパイル使用メモリ 11,272 KB
実行使用メモリ 15,300 KB
最終ジャッジ日時 2023-09-30 08:09:26
合計ジャッジ時間 1,898 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 86 ms
15,264 KB
testcase_01 AC 83 ms
15,224 KB
testcase_02 AC 81 ms
15,152 KB
testcase_03 AC 80 ms
15,064 KB
testcase_04 AC 81 ms
15,300 KB
testcase_05 AC 80 ms
15,144 KB
testcase_06 AC 82 ms
15,028 KB
testcase_07 AC 80 ms
15,120 KB
testcase_08 AC 80 ms
15,292 KB
testcase_09 AC 80 ms
15,124 KB
testcase_10 AC 81 ms
15,040 KB
testcase_11 AC 82 ms
15,292 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

a,b,c=[gets,gets,gets].map(&:to_i)
b+=c/25
c=c%25
a+=b/4
b=b%4
a=a%10
p a+b+c
0