Skip to content

Commit

Permalink
problem(A1048&A1059): format
Browse files Browse the repository at this point in the history
  • Loading branch information
StableAgOH committed Aug 26, 2024
1 parent 5c49f1b commit d6b81ee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions problems/A/A1048/A1048.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
甘妃有一个货架,用来摆放商品。

可以把这个货架视为一条直线,上面按顺序排放着 $n(1 \leq n \leq 1 \times {10}^{5})$ 件货物,

第 $i$ 件商品有一个初始价值 $a_i(1 \leq a_i \leq 550)$。

某一天,甘妃觉得来钱太慢了,所以决定在未来的 $m(1 \leq m \leq 1 \times {10}^{5})$ 天里,每天选择一个区间 $[l, r](1 \leq l \leq r \leq n)$,将区间内的每一件商品都涨价 $k(1 \leq k \leq 550)$。即将 $a_l,a_{l+1},a_{l+2}, \cdots, a_{r}$ 每个数都加上 $k$。
Expand Down
1 change: 1 addition & 0 deletions problems/A/A1059/A1059.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,5 @@
# 说明/提示

【样例解释】

对 $i = 1$ 位置上的数字进行四舍五入操作,所得结果 $1000$ 为最大可能。

0 comments on commit d6b81ee

Please sign in to comment.