結果

問題 No.32 貯金箱の憂鬱
ユーザー ゆるくゆるく
提出日時 2014-09-30 23:30:49
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
RE  
実行時間 -
コード長 583 bytes
コンパイル時間 91 ms
コンパイル使用メモリ 10,512 KB
実行使用メモリ 7,996 KB
最終ジャッジ日時 2023-08-28 19:56:14
合計ジャッジ時間 852 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 RE -
testcase_01 RE -
testcase_02 RE -
testcase_03 RE -
testcase_04 RE -
testcase_05 RE -
testcase_06 RE -
testcase_07 RE -
testcase_08 RE -
testcase_09 RE -
testcase_10 RE -
testcase_11 RE -
権限があれば一括ダウンロードができます

ソースコード

diff #

# 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)
0