結果
| 問題 |
No.1453 手助け
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-03-31 21:48:18 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 229 bytes |
| コンパイル時間 | 227 ms |
| コンパイル使用メモリ | 82,524 KB |
| 実行使用メモリ | 60,592 KB |
| 最終ジャッジ日時 | 2024-12-15 17:19:24 |
| 合計ジャッジ時間 | 1,955 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 10 WA * 11 |
ソースコード
import sys
input = sys.stdin.readline
from collections import *
A, B, C, D, E = map(int, input().split())
now = D
ans = 0
for i in range(A*(B-C)):
ans += now
if now%10==0 and E<=now:
now = now-E
print(ans)