結果
問題 |
No.32 貯金箱の憂鬱
|
ユーザー |
|
提出日時 | 2018-10-01 22:55:18 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 382 bytes |
コンパイル時間 | 281 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 10,880 KB |
最終ジャッジ日時 | 2024-10-12 09:56:08 |
合計ジャッジ時間 | 1,407 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | WA * 12 |
ソースコード
a = [] for i in range(3): a.append(int(input())) coins = sum(a) while (True): if (a[2] >= 25): a[2] -= 25 a[1] += 1 continue break while(True): if(a[1] >= 4): a[1] -= 4 a[0] += 1 continue break while(True): if(a[0] >= 10): a[0] -= 10 continue break coinsA = sum(a) print(coins, coinsA)