
树状数组
MIsike
创造,要有毁灭的觉悟!
展开
-
Japan
JapanTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 17409 Accepted: 4685DescriptionJapan plans to welcome the ACM ICPC World Finals and a lot of roads原创 2013-08-05 13:47:14 · 1325 阅读 · 0 评论 -
UFOs
1470. UFOsTime limit: 5.0 secondMemory limit: 64 MBVasya is a ufologist and his duties include observing Unidentified Flying Objects (UFOs) in the part of space bounded by a cube N × N ×原创 2013-08-11 15:33:10 · 12355 阅读 · 0 评论 -
In the Army Now
1090. In the Army NowTime limit: 1.0 secondMemory limit: 64 MBThe sergeant ordered that all the recruits stand in rows. The recruits have formed K rows with Npeople in each, but failed t原创 2013-08-11 17:09:04 · 935 阅读 · 0 评论 -
War Games 2
1521. War Games 2Time limit: 1.0 secondMemory limit: 64 MBBackgroundDuring the latest war games (this story is fully described in the problem "War games") the Minister of Defense of th原创 2013-08-11 19:40:21 · 860 阅读 · 0 评论 -
Ultra-QuickSort
Ultra-QuickSortTime Limit: 7000MS Memory Limit: 65536K DescriptionIn this problem, you have to analyze a particular sorting algorithm. The algorithm processes a原创 2013-08-13 16:25:08 · 587 阅读 · 0 评论 -
HH的项链
HH的项链★★★ 输入文件:diff.in 输出文件:diff.out 简单对比时间限制:1 s 内存限制:256 MB问题描述:HH有一串由各种漂亮的贝壳组成的项链。HH相信不同的贝壳会带来好运,所以每次散步完后,他都会随意取出一段贝壳,思考它们所表达的含义。HH不断地收集新的贝壳,因此,他的项链变得越来越长。有一天,他突然提出了一个问题:某一段贝壳中原创 2013-08-13 15:48:50 · 1077 阅读 · 0 评论