結果

問題 No.32 貯金箱の憂鬱
ユーザー gamuogamo5gamuogamo5
提出日時 2016-08-30 13:08:20
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 77 ms / 5,000 ms
コード長 152 bytes
コンパイル時間 859 ms
コンパイル使用メモリ 87,180 KB
実行使用メモリ 71,588 KB
最終ジャッジ日時 2023-09-30 08:12:14
合計ジャッジ時間 2,651 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 77 ms
71,264 KB
testcase_01 AC 77 ms
71,536 KB
testcase_02 AC 77 ms
71,512 KB
testcase_03 AC 75 ms
71,268 KB
testcase_04 AC 74 ms
71,320 KB
testcase_05 AC 74 ms
71,316 KB
testcase_06 AC 75 ms
71,588 KB
testcase_07 AC 76 ms
71,376 KB
testcase_08 AC 76 ms
71,072 KB
testcase_09 AC 74 ms
71,336 KB
testcase_10 AC 76 ms
71,208 KB
testcase_11 AC 75 ms
71,196 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

a=int(input())
b=int(input())
c=int(input())

if c>=25:
    b+=c//25
    c=c%25
if b>=4:
    a+=b//4
    b=b%4
if a>=10:
    a=a%10
sum=a+b+c
print(sum)
0