結果

問題 No.1453 手助け
ユーザー hir355
提出日時 2021-03-31 21:05:07
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 158 bytes
コンパイル時間 172 ms
コンパイル使用メモリ 82,488 KB
実行使用メモリ 59,320 KB
最終ジャッジ日時 2024-12-15 09:09:34
合計ジャッジ時間 1,682 ms
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 10 WA * 11
権限があれば一括ダウンロードができます

ソースコード

diff #

a, b, c, d, e = map(int, input().split())
ans = 0
for i in range((b - c) * a):
    ans += d
    if d >= e and i > 0 and i % 10 == 0:
        d -= e
print(ans)
0