
前缀和
文章平均质量分 85
yuanS7
编程菜鸟,求大神带飞
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
2016年湖南省第十二届大学生计算机程序设计竞赛:G—parathesis
题目链接:http://acm.csu.edu.cn/csuoj/contest/problem?cid=2122&pid=GDescriptionBobo has a balanced parenthesis sequence P=p1 p2…pn of length n and q questions.The i-th question is whether P r原创 2017-05-12 17:47:32 · 779 阅读 · 0 评论 -
2017年“嘉杰信息杯” 中国大学生程序设计竞赛全国邀请赛:E—Partial Sum
题目链接:http://202.197.224.59/OnlineJudge2/index.php/Problem/read/id/1264Partial SumBobo has a integer sequence a1,a2,…,an of length n. Each time, he selects two ends 0≤lr≤n and add |∑r原创 2017-05-16 12:53:17 · 471 阅读 · 0 评论 -
hunnu11461—数组求和问题(前缀和)
题目链接:传送门数组求和问题Time Limit: 1000ms, Special Time Limit:2500ms, Memory Limit:32768KBTotal submit users: 101, Accepted users: 90Problem 11461 : No special judgementProb原创 2017-06-04 22:51:01 · 297 阅读 · 0 评论 -
牛客练习赛29—F算式子
题目链接:传送门 题解: 代码:#include <cstdio>#include <iostream>#include <queue>#include <vector>using namespace std;typedef long long llt;const int N = 2000010;cons...原创 2018-11-26 12:23:18 · 332 阅读 · 0 评论