結果
問題 |
No.32 貯金箱の憂鬱
|
ユーザー |
|
提出日時 | 2018-03-16 00:37:42 |
言語 | Python2 (2.7.18) |
結果 |
WA
|
実行時間 | - |
コード長 | 210 bytes |
コンパイル時間 | 131 ms |
コンパイル使用メモリ | 6,784 KB |
実行使用メモリ | 6,400 KB |
最終ジャッジ日時 | 2024-12-21 14:02:02 |
合計ジャッジ時間 | 906 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 2 WA * 10 |
ソースコード
L,M,N = input(),input(),input() NN = int(N)/25 if NN >= 1: M = M + NN N = N - NN*25 MM = int(M)/4 if MM >= 1: L = L + MM M = M - NN*4 LL = int(L)/4 if MM >= 1: L = L - LL*10 print L+M+N