結果

問題 No.32 貯金箱の憂鬱
ユーザー tsubuantsubuan
提出日時 2017-09-02 01:21:38
言語 Ruby
(3.3.0)
結果
AC  
実行時間 82 ms / 5,000 ms
コード長 112 bytes
コンパイル時間 558 ms
コンパイル使用メモリ 11,336 KB
実行使用メモリ 15,280 KB
最終ジャッジ日時 2023-09-30 12:32:49
合計ジャッジ時間 2,495 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 80 ms
15,268 KB
testcase_01 AC 80 ms
15,260 KB
testcase_02 AC 80 ms
15,088 KB
testcase_03 AC 80 ms
15,136 KB
testcase_04 AC 80 ms
15,132 KB
testcase_05 AC 80 ms
15,228 KB
testcase_06 AC 82 ms
15,180 KB
testcase_07 AC 80 ms
15,148 KB
testcase_08 AC 81 ms
15,108 KB
testcase_09 AC 81 ms
15,280 KB
testcase_10 AC 81 ms
15,088 KB
testcase_11 AC 81 ms
15,280 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

a,b,c = $stdin.readlines
a = a.to_i
b = b.to_i
c = c.to_i

b += c/25
c %= 25
a += b/4
b %= 4
a %= 10

puts a+b+c
0