
前缀和
小菜鸡在努力啊
余生很长,请多指教。
展开
-
CF18C Stripe
题目描述 Once Bob took a paper stripe of nn squares (the height of the stripe is 1 square). In each square he wrote an integer number, possibly negative. He became interested in how many ways exist to cut this stripe into two pieces so that the sum of numbers原创 2020-07-11 16:49:03 · 357 阅读 · 0 评论 -
P3131 [USACO16JAN]Subsequences Summing to Sevens S
题目描述 Farmer John’s NN cows are standing in a row, as they have a tendency to do from time to time. Each cow is labeled with a distinct integer ID number so FJ can tell them apart. FJ would like to take a photo of a contiguous group of cows but, due to a tr原创 2020-07-11 16:47:39 · 288 阅读 · 0 评论