結果

問題 No.32 貯金箱の憂鬱
ユーザー Shinichiro OnzukaShinichiro Onzuka
提出日時 2020-09-11 16:47:41
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 73 ms / 5,000 ms
コード長 236 bytes
コンパイル時間 263 ms
コンパイル使用メモリ 86,720 KB
実行使用メモリ 71,420 KB
最終ジャッジ日時 2023-09-30 14:00:49
合計ジャッジ時間 1,807 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 73 ms
71,260 KB
testcase_01 AC 70 ms
71,096 KB
testcase_02 AC 71 ms
71,052 KB
testcase_03 AC 71 ms
71,420 KB
testcase_04 AC 70 ms
71,044 KB
testcase_05 AC 70 ms
71,260 KB
testcase_06 AC 70 ms
71,336 KB
testcase_07 AC 69 ms
71,312 KB
testcase_08 AC 71 ms
71,276 KB
testcase_09 AC 72 ms
71,140 KB
testcase_10 AC 71 ms
71,100 KB
testcase_11 AC 71 ms
71,044 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

# 入力を受ける
hundred = int(input())
quarter = int(input())
one = int(input())

quarter = quarter + one//25
one = one%25
hundred = hundred + quarter//4
quarter = quarter%4
hundred = hundred%10

print(int(one + quarter + hundred))
0