結果
| 問題 | No.1453 手助け |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-05-27 21:51:09 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 171 bytes |
| 記録 | |
| コンパイル時間 | 367 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 10,752 KB |
| 最終ジャッジ日時 | 2024-11-06 14:45:56 |
| 合計ジャッジ時間 | 2,059 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 10 WA * 11 |
ソースコード
a,b,c,d,e=map(int,input().split())
n=b-c
s=0
for i in range(n):
if (n+1)%10>0:
s+=d
elif d>e:
s+=d
else:
s+=d-e
d-=e
print(s*a)