- 博客(12)
- 收藏
- 关注
原创 poj3273—Monthly Expense(二分)
Monthly Expensehttp://poj.org/problem?id=3273Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 36945 Accepted: 13718 DescriptionFarmer John is an astounding accounti...
2019-02-11 16:48:20 163
原创 poj1064(二分)
Cable masterhttp://poj.org/problem?id=1064Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 71483 Accepted: 14576 DescriptionInhabitants of the Wonderland have decid...
2019-02-11 16:12:21 879
原创 poj2785(二分)
4 Values whose Sum is 0Time Limit: 15000MS Memory Limit: 228000K Total Submissions: 31340 Accepted: 9568 Case Time Limit: 5000MS DescriptionThe SUM problem can be formulated ...
2019-02-11 14:42:25 213
原创 A. Purification(cf-div1-A)
A. Purificationhttp://codeforces.com/contest/329/problem/Atime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are an adventurer...
2019-02-11 13:54:00 190
原创 A. Shifts
A. Shiftshttp://codeforces.com/contest/229/problem/Atime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given a table cons...
2019-02-11 12:17:35 290
原创 poj3250(优先队列)
Bad Hair DayTime Limit: 2000MS Memory Limit: 65536K Total Submissions: 23081 Accepted: 7910 DescriptionSome of Farmer John's N cows (1 ≤ N ≤ 80,000) are having a bad hair day! ...
2019-02-10 22:38:03 176
原创 poj2833(优先队列)
poj2833The AverageTime Limit: 6000MS Memory Limit: 10000K Total Submissions: 13177 Accepted: 3926 Case Time Limit: 4000MS DescriptionIn a speech contest, when a contestant ...
2019-02-10 22:37:49 550
原创 hdu1506 Largest Rectangle in a Histogram(思维)
Largest Rectangle in a HistogramTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 24040 Accepted Submission(s): 7527 Problem Description...
2019-02-10 22:35:40 175
原创 Passing the Message(单调栈)
Passing the MessageTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1086 Accepted Submission(s): 709 Problem DescriptionWhat a sunny d...
2019-02-10 20:52:40 232
原创 Max Sum of Max-K-sub-sequence (单调队列)
Max Sum of Max-K-sub-sequenceTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 9826 Accepted Submission(s): 3639 Problem DescriptionGiv...
2019-02-10 16:38:46 630
原创 大水题(容斥原理)
链接:https://ac.nowcoder.com/acm/challenge/terminal来源:牛客网 时间限制:C/C++ 1秒,其他语言2秒空间限制:C/C++ 32768K,其他语言65536K64bit IO Format: %lld题目描述给出一个数n,求1到n中,有多少个数不是2 5 11 13的倍数。输入描述:本题有多组输入每行一个数n,1&l...
2019-02-03 20:14:41 400
原创 最短路(lca+bfs(dij))
链接:https://ac.nowcoder.com/acm/challenge/terminal来源:牛客网 题目描述给一个连通图,每次询问两点间最短路。每条边的长度都是1。输入描述:第一行两个整数n和m,表示图的点数和边数(1≤ n≤ 100000, 1≤ m≤ n+100)。接下来m行每行两个整数a和b,表示一条边(1≤ a, b≤ n)。保证没有自环和重边。保证图连...
2019-02-01 20:01:29 653
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人