- 博客(23)
- 收藏
- 关注
原创 2016 zjnu summer traning 5 题解
苟利AC生死以,岂因WA避趋之(咳咳今天真适合做题)A题贪心(此题题解与标程由某大佬给出,与本菜鸡无关)大家一眼看过去“最大值最小”这类问题就可能会想到一个nlgn的二分查找,说实话二分查找是可以写的,时间复杂度也不高,具体做法我不提。贪心方式类似于当年noip的国王游戏,是那题的简单版。已知Di=Wi-Li(Di是难受值,Wi是上方所有的奶牛重量和,wi小写的是i
2016-08-17 15:33:27
469
原创 HDU 1542
暑期集训4 I题传送门:http://acm.hdu.edu.cn/showproblem.php?pid=1542AtlantisTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 10824 Accepted
2016-07-26 23:06:36
316
原创 HDU 2874
暑期集训4 K题传送门:http://acm.hdu.edu.cn/showproblem.php?pid=2874Connections between citiesTime Limit: 10000/5000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s):
2016-07-26 16:50:46
530
原创 Codeforces
暑期集训4 B题传送门:http://codeforces.com/problemset/problem/478/DD. Red-Green Towerstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutp
2016-07-25 21:06:48
362
原创 POJ 3321
暑期集训4 G题传送门:http://poj.org/problem?id=3321Apple TreeTime Limit: 2000MS Memory Limit: 65536KTotal Submissions: 25847 Accepted: 7662DescriptionThere is an
2016-07-25 20:42:55
562
原创 HDU 5750
传送门:http://acm.hdu.edu.cn/showproblem.php?pid=5750DertouzosTime Limit: 7000/3500 MS (Java/Others) Memory Limit: 131072/131072 K (Java/Others)Total Submission(s): 871 Accepted Submissio
2016-07-24 10:50:03
617
原创 Codeforces 697C
暑期集训3 I题传送门:http://codeforces.com/problemset/problem/697/CC. Lorenzo Von Matterhorntime limit per test1 secondmemory limit per test256 megabytesinputstandard input
2016-07-22 23:53:17
775
原创 Codeforces 699D
暑期集训3 J题传送门:http://codeforces.com/problemset/problem/699/DD. Fix a Treetime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutput
2016-07-22 22:57:54
510
原创 POJ 2480
暑期训练2 I题传送门:http://poj.org/problem?id=2480Longge's problemTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 8072 Accepted: 2669DescriptionLongge
2016-07-21 00:05:32
401
原创 Codeforces 266C
暑期集训1 D题传送门:http://codeforces.com/problemset/problem/266/CC. Below the Diagonaltime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputou
2016-07-19 23:23:11
666
原创 Codeforces 261B
暑期集训1 C题传送门 http://codeforces.com/problemset/problem/261/B Maxim and Restauranttime limit per test2 secondsmemory limit per test256 megabytesinputstandard input
2016-07-19 23:11:32
674
原创 HDU 4341
抱学长大腿练习赛2:B题传送门:http://acm.hdu.edu.cn/showproblem.php?pid=4341Gold minerTime Limit: 4000/2000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 2121 Acce
2016-03-14 20:59:21
317
原创 HDU 5636
传送门:http://acm.hdu.edu.cn/showproblem.php?pid=5636Shortest PathTime Limit: 4000/2000 MS (Java/Others) Memory Limit: 131072/131072 K (Java/Others)Total Submission(s): 335 Accepted Submi
2016-03-06 00:39:43
541
原创 HDU 5635
传送门:http://acm.hdu.edu.cn/showproblem.php?pid=5635LCP ArrayTime Limit: 4000/2000 MS (Java/Others) Memory Limit: 131072/131072 K (Java/Others)Total Submission(s): 284 Accepted Submissio
2016-03-05 22:37:26
520
原创 ZOJ 3870
寒假训练八:A题传送门:http://acm.hust.edu.cn/vjudge/contest/view.action?cid=107320#problem/AA - Team FormationTime Limit:3000MS Memory Limit:131072KB 64bit IO Format:%lld & %lluD
2016-02-26 14:47:37
302
原创 POJ 2096
寒假训练七:C题传送门:http://acm.hust.edu.cn/vjudge/contest/view.action?cid=107154#problem/CC - CTime Limit:10000MS Memory Limit:64000KB 64bit IO Format:%I64d & %I64uDescriptio
2016-02-23 11:39:00
293
原创 HDU 5115
寒假训练七:B题传送门:http://acm.hust.edu.cn/vjudge/contest/view.action?cid=107154#problem/BB - BTime Limit:5000MS Memory Limit:512000KB 64bit IO Format:%I64d & %I64uDescriptio
2016-02-22 22:32:06
356
原创 Codeforces 227A
寒假训练七:D题传送门:http://acm.hust.edu.cn/vjudge/contest/view.action?cid=107154#problem/DD - DTime Limit:2000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64uDescriptio
2016-02-22 22:24:15
397
原创 HDU 5105
寒假训练七:F题传送门:http://acm.hust.edu.cn/vjudge/contest/view.action?cid=107154#problem/FF - FTime Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64uDescription
2016-02-22 22:16:43
320
原创 UVA 11134
寒假训练七:E题传送门:http://acm.hust.edu.cn/vjudge/contest/view.action?cid=107154#problem/EWe would like to place n rooks, 1 ≤ n ≤ 5000, on a n × nboard subject to the following restrictions• The i
2016-02-22 21:40:56
349
原创 Aizu 2305
寒假训练一:B题传送门:http://acm.hust.edu.cn/vjudge/contest/view.action?cid=105080#problem/BB - Beautiful CurrencyTime Limit:5000MS Memory Limit:65536KB 64bit IO Format:%lld & %llu
2016-02-22 21:16:29
398
原创 Codeforces 620D
寒假训练一:A题传送门:http://acm.hust.edu.cn/vjudge/contest/view.action?cid=105080#problem/A
2016-02-22 10:17:25
507
原创 卷首语
第一次发博客,萌新瑟瑟发抖。莴苣们经常说,写题解特别特别特别好用,然而懒癌晚期的我也不知道能坚持多久...算了,尽量写吧...然而完全不会用...发串代码试试怎么用上学期闲着无聊的时候打的矩阵求行列式,专门治疗懒癌,编程好玩就好玩在这吧...#include#include#include#includeusing namespace std;int map[100
2016-02-22 09:55:01
380
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人