結果
| 問題 |
No.1453 手助け
|
| コンテスト | |
| ユーザー |
toshiro_yanagi
|
| 提出日時 | 2021-05-10 23:24:54 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 178 bytes |
| コンパイル時間 | 107 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 10,752 KB |
| 最終ジャッジ日時 | 2024-09-20 04:15:53 |
| 合計ジャッジ時間 | 1,694 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 3 WA * 18 |
ソースコード
a, b, c, d, e = map(int, input().split())
n = b - c
x = d
ans = 0
for i in range(1, n + 1):
if i != 1 and i % 10 == 0 and x - e >= 0:
x -= e
ans += x
print(ans)
toshiro_yanagi