結果

問題 No.1453 手助け
ユーザー convexineqconvexineq
提出日時 2021-05-05 21:23:40
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 181 bytes
コンパイル時間 313 ms
コンパイル使用メモリ 82,112 KB
実行使用メモリ 60,800 KB
最終ジャッジ日時 2024-09-13 14:12:19
合計ジャッジ時間 2,094 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 10 WA * 11
権限があれば一括ダウンロードができます

ソースコード

diff #

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