結果

問題 No.32 貯金箱の憂鬱
ユーザー rainrain
提出日時 2018-02-28 11:15:28
言語 Python3
(3.11.6 + numpy 1.26.0 + scipy 1.11.3)
結果
AC  
実行時間 15 ms / 5,000 ms
コード長 149 bytes
コンパイル時間 208 ms
コンパイル使用メモリ 10,760 KB
実行使用メモリ 7,936 KB
最終ジャッジ日時 2023-09-30 13:05:43
合計ジャッジ時間 1,094 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 15 ms
7,892 KB
testcase_01 AC 15 ms
7,900 KB
testcase_02 AC 15 ms
7,904 KB
testcase_03 AC 15 ms
7,900 KB
testcase_04 AC 15 ms
7,936 KB
testcase_05 AC 15 ms
7,816 KB
testcase_06 AC 14 ms
7,760 KB
testcase_07 AC 15 ms
7,880 KB
testcase_08 AC 15 ms
7,780 KB
testcase_09 AC 15 ms
7,784 KB
testcase_10 AC 15 ms
7,820 KB
testcase_11 AC 15 ms
7,932 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N=int(input())
M=int(input())
L=int(input())


if(L//25>=1):
	M=M+(L//25)
	L=L%25
if(M//4>=1):
	N=N+(M//4)
	M=M%4
if(N//10>=1):
	N=N%10

print(L+M+N)
0