結果

問題 No.32 貯金箱の憂鬱
ユーザー pypypymipypypymi
提出日時 2022-02-14 14:51:39
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 77 ms / 5,000 ms
コード長 157 bytes
コンパイル時間 1,171 ms
コンパイル使用メモリ 86,732 KB
実行使用メモリ 71,344 KB
最終ジャッジ日時 2023-09-11 16:42:59
合計ジャッジ時間 2,598 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 75 ms
71,144 KB
testcase_01 AC 74 ms
71,172 KB
testcase_02 AC 77 ms
71,216 KB
testcase_03 AC 74 ms
71,304 KB
testcase_04 AC 72 ms
71,024 KB
testcase_05 AC 74 ms
71,144 KB
testcase_06 AC 72 ms
70,872 KB
testcase_07 AC 73 ms
71,148 KB
testcase_08 AC 74 ms
71,220 KB
testcase_09 AC 74 ms
71,068 KB
testcase_10 AC 72 ms
71,344 KB
testcase_11 AC 73 ms
71,152 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

l = int(input())
k = int(input())
m = int(input())

m_q,m_m = divmod(m, 25)
k+=m_q
k_q,k_m = divmod(k, 4)
l+=k_q
l_q,l_m = divmod(l, 10)
print(l_m+k_m+m_m)

0