結果
| 問題 | No.1453 手助け |
| コンテスト | |
| ユーザー |
mono_0812
|
| 提出日時 | 2021-03-31 21:04:02 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 772 bytes |
| 記録 | |
| コンパイル時間 | 163 ms |
| コンパイル使用メモリ | 12,672 KB |
| 実行使用メモリ | 12,032 KB |
| 最終ジャッジ日時 | 2024-12-15 09:08:09 |
| 合計ジャッジ時間 | 2,257 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 2 WA * 19 |
ソースコード
import bisect,collections,copy,heapq,itertools,math,string,sys,queue
from decimal import Decimal
def I(): return input()
def IS(): return input().split()
def II(): return int(input())
def IIS(): return map(int,input().split())
def LIIS(): return list(map(int,input().split()))
def ZER(N): return [False for _ in range(N)]
INF=float("inf")
MOD=10**9+7
# V
# / ̄ψ ̄\
# | 合格祈願 |
# |_____|
##############################################################################
a,b,c,d,e=IIS()
com=b-c
ans=0
li=[]
for i in range(com):
if i==0:li.append(d);continue
i-=1
if li[i]%10!=0:li.append(li[i]);continue
elif li[i]%10==0 and e<=li[i]:li.append(x-e);continue
else:li.append(li[i]);continue
print(sum(li))
mono_0812