結果
問題 | No.32 貯金箱の憂鬱 |
ユーザー |
![]() |
提出日時 | 2020-10-08 15:44:29 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 31 ms / 5,000 ms |
コード長 | 327 bytes |
コンパイル時間 | 203 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 10,752 KB |
最終ジャッジ日時 | 2024-07-23 08:04:36 |
合計ジャッジ時間 | 1,170 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 12 |
ソースコード
l100=int(input())m25=int(input())n1=int(input())o1000=0while n1 >= 25:n1-=25m25+=1#print(o1000,l100,m25,n1,'step1')while m25 >= 4:m25-=4l100+=1#print(o1000,l100,m25,n1,'step2')while l100 >= 10:l100-=10o1000+=1#print(o1000,l100,m25,n1,'step3')print(l100+m25+n1)#print(o1000,l100,m25,n1)