結果
問題 |
No.32 貯金箱の憂鬱
|
ユーザー |
![]() |
提出日時 | 2014-09-30 23:30:49 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
RE
|
実行時間 | - |
コード長 | 583 bytes |
コンパイル時間 | 412 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 10,624 KB |
最終ジャッジ日時 | 2024-12-30 06:46:04 |
合計ジャッジ時間 | 1,347 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | RE * 12 |
ソースコード
# coding: UTF-8 import sys import os #FILES = os.listdir('./test') #for FILE in FILES: # fd = os.open('./test/' + FILE, os.O_RDONLY) # os.dup2(fd, sys.stdin.fileno()) #fd = os.open('file.txt', os.O_WRONLY|os.O_CREAT) #os.dup2(fd, sys.stdout.fileno()) fd = os.open('test.txt', os.O_RDONLY) os.dup2(fd, sys.stdin.fileno()) # import heapq from collections import deque d = deque() L = int(input()) M = int(input()) H = int(input()) h = H // 25 M += h m = M // 4 L += m l = L // 10 count = H - h * 25 + M - m * 4 + L - l * 10 print(count)