- 博客(16)
- 资源 (1)
- 收藏
- 关注
原创 HDU 3613 Best Reward
Best RewardTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 1361 Accepted Submission(s): 551Problem DescriptionAfter an uphill battle, Ge
2016-02-25 17:05:18 703
原创 HSU 2328 Corporate Identity
Corporate IdentityTime Limit: 9000/3000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 817 Accepted Submission(s): 325Problem DescriptionBeside other service
2016-02-23 14:23:39 546
原创 HDU 1238 Substrings
SubstringsTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 8866 Accepted Submission(s): 4157Problem DescriptionYou are given a number of
2016-02-23 13:41:11 483
原创 蓝桥杯 PREV-31 小朋友排队
小朋友排队时间限制:1.0s 内存限制:256.0MB问题描述 n 个小朋友站成一排。现在要把他们按身高从低到高的顺序排列,但是每次只能交换位置相邻的两个小朋友。每个小朋友都有一个不高兴的程度。开始的时候,所有小朋友的不高兴程度都是0。如果某个小朋友第一次被要求交换,则他的不高兴程度增加1,如果第二次要求他交换,则他的不高兴程度增加2(即不高兴程度为3),依次类推。当要求某个
2016-02-19 19:22:17 900
原创 HDU 4300 Clairewd’s message
Clairewd’s messageTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 4666 Accepted Submission(s): 1777Problem DescriptionClairewd is a membe
2016-02-18 23:25:04 620
原创 POJ 3167 Cow Patterns
Cow PatternsTime Limit: 2000MSMemory Limit: 65536KTotal Submissions: 4149Accepted: 1484DescriptionA particular subgroup of K (1 FJ distinguishes his cows by the number of spots 1..S
2016-02-17 22:17:02 946
原创 树状数组
从一个简单的问题谈起考虑一个简单的问题,给定一串有序数字A1...An并不断进行插入数的操作且保证始终有序,在修改过程中陆续给定若干数字N1,N2...Nm,求解A1到ANi的数的和的大小。我们试想,如果维护一个简单的array A来存储这串数的话,插入不是问题,时间是O(1),但是问题是如果询问m次,有n个数的话,查询区间大小的时间是O(n * m),显然如果在n和m较大的情况下是十分耗时的
2016-02-05 12:11:46 620
原创 Codeforces Beta Round #57 (Div. 2) Enemy is weak
E. Enemy is weaktime limit per test5 secondsmemory limit per test256 megabytesThe Romans have attacked again. This time they are much more than the Persians but Shapur is ready to defeat them
2016-02-04 23:28:36 1173
原创 POJ 2481Cows
CowsTime Limit: 3000MSMemory Limit: 65536KTotal Submissions: 15437Accepted: 5146DescriptionFarmer John's cows have discovered that the clover(劈开) growing along the ridge of the hill
2016-02-04 00:05:37 367
原创 POJ 2299 Ultra-QuickSort
Ultra-QuickSortTime Limit: 7000MSMemory Limit: 65536KTotal Submissions: 51274Accepted: 18803DescriptionIn this problem, you have to analyze a particular sorting algorithm. The algori
2016-02-03 22:43:42 726
原创 2013腾讯编程马拉松初赛第〇场(3月20日)(HDU4500 —— HDU4504)
小Q系列故事——屌丝的逆袭Time Limit: 300/100 MS (Java/Others) Memory Limit: 65535/32768 K (Java/Others)Total Submission(s): 6043 Accepted Submission(s): 2249Problem Description 毕业于普通本科的小Q一直自称是资深屌丝,不仅学校
2016-02-02 00:17:42 759
原创 POJ 3067 Japan
JapanTime Limit: 1000MSMemory Limit: 65536KTotal Submissions: 24250Accepted: 6552DescriptionJapan plans to welcome the ACM ICPC World Finals and a lot of roads must be built for the
2016-02-01 19:26:21 477
原创 POJ 2352 Stars
StarsTime Limit: 1000MSMemory Limit: 65536KTotal Submissions: 39399Accepted: 17110DescriptionAstronomers often examine star maps where stars are represented by points on a plane and
2016-02-01 19:21:53 503
原创 Codeforces Round #341 (Div. 2) D. Rat Kwesh and Cheese
D. Rat Kwesh and Cheesetime limit per test2 secondsmemory limit per test256 megabytesWet Shark asked Rat Kwesh to generate three positive real numbers x, y and z, from 0.1 to 200.0, inclusiv
2016-02-01 17:31:30 634
原创 Codeforces Round #341 (Div. 2) C. Wet Shark and Flowers
C. Wet Shark and Flowerstime limit per test2 secondsmemory limit per test256 megabytesThere are n sharks who grow flowers for Wet Shark. They are all sitting around the table, such that shar
2016-02-01 01:57:21 884
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人