結果
| 問題 | No.32 貯金箱の憂鬱 |
| コンテスト | |
| ユーザー |
ゆるく
|
| 提出日時 | 2014-09-30 23:30:49 |
| 言語 | Python3 (3.14.2 + numpy 2.4.0 + scipy 1.16.3) |
| 結果 |
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)
ゆるく