- 博客(7)
- 收藏
- 关注
原创 hdu5776 sum
sum Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 131072/131072 K (Java/Others) Total Submission(s): 588 Accepted Submission(s): 286 Problem Description Given a sequence, you'
2016-07-31 12:47:29 673
原创 CodeForces 681C Heap Operations
C. Heap Operations time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Petya has recently learned data structure
2016-07-30 16:54:39 671
原创 hdu5775 Bubble Sort
Bubble Sort Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) Total Submission(s): 173 Accepted Submission(s): 119 Problem Description P is a permutati
2016-07-28 21:36:55 979
转载 hdu5726 GCD
GCD Time Limit: 10000/5000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) Total Submission(s): 2008 Accepted Submission(s): 660 Problem Description Give you a sequence of
2016-07-23 12:30:36 538
转载 RMQ算法
转载自:传送门 1. 概述 RMQ(Range Minimum/Maximum Query),即区间最值查询,是指这样一个问题:对于长度为n的数列A,回答若干询问RMQ(A,i,j)(i,j当然,该问题也可以用线段树(也叫区间树)解决,算法复杂度为:O(N)~O(logN),这里我们暂不介绍。 2.RMQ算法 对于该问题,最容易想到的解决方案是遍历,复杂度是
2016-07-22 16:54:00 316
原创 hdu5723 Abandoned country
Abandoned country Time Limit: 8000/4000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) Total Submission(s): 938 Accepted Submission(s): 251 Problem Description An abandon
2016-07-20 10:57:58 816
原创 codeforces C. Lorenzo Von Matterhorn
C. Lorenzo Von Matterhorn time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Barney lives in NYC. NYC has infin
2016-07-18 14:36:07 765
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人