結果
| 問題 | No.1453 手助け |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-03-31 21:48:18 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 229 bytes |
| 記録 | |
| コンパイル時間 | 130 ms |
| コンパイル使用メモリ | 85,572 KB |
| 実行使用メモリ | 61,116 KB |
| 最終ジャッジ日時 | 2026-05-26 02:20:41 |
| 合計ジャッジ時間 | 1,734 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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)