上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 34 下一页
摘要: 题目链接 http://acm.split.hdu.edu.cn/showproblem.php?pid=4293 Problem Description After the regional contest, all the ACMers are walking alone a very long 阅读全文
posted @ 2016-09-09 19:59 茶飘香~ 阅读(518) 评论(0) 推荐(0) 编辑
摘要: 提交链接 http://codeforces.com/gym/100781/submit Description: Ada, Bertrand and Charles often argue over which TV shows to watch, and to avoid some of the 阅读全文
posted @ 2016-09-09 18:50 茶飘香~ 阅读(689) 评论(0) 推荐(0) 编辑
摘要: 莫队算法 莫队算法可用于解决一类可离线且在得到区间[l,r][l,r]的答案后,能在O(1)O(1)或O(log2n)O(log2⁡n)得到区间[l,r+1][l,r+1]或[l−1,r][l−1,r]的答案的问题 先看这样一个问题: 给出n个数字,m次询问,每次询问在区间[li,ri][li,ri 阅读全文
posted @ 2016-09-07 21:05 茶飘香~ 阅读(743) 评论(1) 推荐(0) 编辑
摘要: 题目链接 http://poj.org/problem?id=1141 Description Let us define a regular brackets sequence in the following way: 1. Empty sequence is a regular sequenc 阅读全文
posted @ 2016-09-07 14:53 茶飘香~ 阅读(804) 评论(0) 推荐(0) 编辑
摘要: 题目链接 http://lightoj.com/volume_showproblem.php?problem=1031 Description You are playing a two player game. Initially there are n integer numbers in an 阅读全文
posted @ 2016-09-05 21:11 茶飘香~ 阅读(430) 评论(0) 推荐(0) 编辑
摘要: 原题链接 http://acm.csu.edu.cn/OnlineJudge/problem.php?id=1809 Description Bobo has a balanced parenthesis sequence P=p1 p2…pn of length n and q questions 阅读全文
posted @ 2016-09-03 23:26 茶飘香~ 阅读(402) 评论(0) 推荐(0) 编辑
摘要: 题目链接 http://codeforces.com/contest/711/problem/C Description ZS the Coder and Chris the Baboon has arrived at Udayland! They walked in the park where  阅读全文
posted @ 2016-09-03 10:58 茶飘香~ 阅读(515) 评论(0) 推荐(0) 编辑
摘要: 题目链接 http://acm.split.hdu.edu.cn/showproblem.php?pid=5410 Problem Description Today is CRB's birthday. His mom decided to buy many presents for her lo 阅读全文
posted @ 2016-09-02 20:46 茶飘香~ 阅读(265) 评论(0) 推荐(0) 编辑
摘要: 题目链接 http://acm.split.hdu.edu.cn/showproblem.php?pid=5396 Problem Description Teacher Mai has n numbers a1,a2,⋯,anand n−1 operators("+", "-" or "*")op 阅读全文
posted @ 2016-09-01 20:12 茶飘香~ 阅读(179) 评论(1) 推荐(0) 编辑
摘要: 题目链接 http://acm.hust.edu.cn/vjudge/contest/130883#problem/C Problem Description Zero Escape, is a visual novel adventure video game directed by Kotaro 阅读全文
posted @ 2016-08-31 18:36 茶飘香~ 阅读(196) 评论(0) 推荐(0) 编辑
上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 34 下一页