結果

問題 No.32 貯金箱の憂鬱
ユーザー gamuogamo5gamuogamo5
提出日時 2016-08-30 13:05:57
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
RE  
実行時間 -
コード長 207 bytes
コンパイル時間 83 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 10,880 KB
最終ジャッジ日時 2024-04-26 17:58:15
合計ジャッジ時間 1,291 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 RE -
testcase_01 RE -
testcase_02 RE -
testcase_03 RE -
testcase_04 RE -
testcase_05 RE -
testcase_06 RE -
testcase_07 RE -
testcase_08 RE -
testcase_09 RE -
testcase_10 RE -
testcase_11 RE -
権限があれば一括ダウンロードができます

ソースコード

diff #

hand=input()
hand_split=hand.split()
a=int(hand_split[0])
b=int(hand_split[1])
c=int(hand_split[2])

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