結果
問題 | No.32 貯金箱の憂鬱 |
ユーザー | splash9494 |
提出日時 | 2020-05-02 19:33:23 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 220 bytes |
コンパイル時間 | 287 ms |
コンパイル使用メモリ | 87,204 KB |
実行使用メモリ | 71,708 KB |
最終ジャッジ日時 | 2023-08-30 02:24:42 |
合計ジャッジ時間 | 2,014 ms |
ジャッジサーバーID (参考情報) |
judge13 / judge12 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 72 ms
71,364 KB |
testcase_01 | AC | 71 ms
71,132 KB |
testcase_02 | AC | 70 ms
71,128 KB |
testcase_03 | WA | - |
testcase_04 | WA | - |
testcase_05 | WA | - |
testcase_06 | WA | - |
testcase_07 | WA | - |
testcase_08 | WA | - |
testcase_09 | AC | 71 ms
71,336 KB |
testcase_10 | WA | - |
testcase_11 | WA | - |
ソースコード
import sys input = sys.stdin.buffer.readline L = int(input()) M = int(input()) N = int(input()) S = 100 * L + 25 * M + 1 * N S = S % 1000 L2 = S // 100 S = S % 100 M2 = S // 25 S = S % 100 N2 = S print(L2 + M2 + N2)