結果
| 問題 |
No.1453 手助け
|
| コンテスト | |
| ユーザー |
convexineq
|
| 提出日時 | 2021-05-05 21:28:35 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 42 ms / 2,000 ms |
| コード長 | 185 bytes |
| コンパイル時間 | 152 ms |
| コンパイル使用メモリ | 82,160 KB |
| 実行使用メモリ | 59,320 KB |
| 最終ジャッジ日時 | 2024-09-13 14:15:30 |
| 合計ジャッジ時間 | 1,922 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 21 |
ソースコード
a,b,c,d,e = map(int,input().split())
ans = x = 0
for i in range(1,a*(b-c)+1):
if i==1:
x = d
elif i%10==0 and e <= x:
x = x-e
ans += x
print(ans)
convexineq