加权前缀和(玄关)

灌水区

等一下,3+4+5+1+2+3写错得数了,不是应该得18么?
by Lantern_LZY @ 2024-04-16 20:25:28


3\*1 + 4\*2 + 5\*3
by jason_sun @ 2024-04-16 20:48:25


@[jason_sun](/user/399762) 谢谢!已关
by Lantern_LZY @ 2024-04-17 20:21:01


这题主要得弄俩数组,一个放加权数,一个放数。
by Michael_114 @ 2024-04-22 20:43:53


|