- 博客(15)
- 收藏
- 关注
原创 POJ3159 Candies(差分约束+SPFA的栈实现)
CandiesTime Limit: 1500MS Memory Limit: 131072KTotal Submissions: 29256 Accepted: 8104DescriptionDuring the kindergarten days, flymouse was the monitor of his
2016-08-31 15:41:34 311
原创 POJ2263 Heavy Cargo用最短路得到最大流
Heavy CargoTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 4380 Accepted: 2288DescriptionBig Johnsson Trucks Inc. is a company specialized in manufact
2016-08-30 12:21:24 417
原创 CodeFroce 369div2 B - Chris and Magic Square
B. Chris and Magic Squaretime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputZS the Coder and Chris the Baboon
2016-08-30 12:12:10 334
原创 OpenJudge幸运整数
描述数字4与7是幸运数字,那么仅有幸运数字组成的自然数为幸运整数,请找出第k个幸运整数。输入一个数字,k,k数据为随机生成的。输出所求的幸运整数样例输入3样例输出44这是一道无厘头的题目,因为他的数据范围给的很大,2的233次方,但是实际上他评测的时候你用long long就够了,这实在是受不了,因为当时是看到别人
2016-08-21 08:56:18 778
原创 POJ 3660 Cow Contest(Floyd)
Cow ContestTime Limit:1000MS Memory Limit:65536KB 64bit IO Format:%lld & %lluSubmit Status Practice POJ 3660 DescriptionN (1 ≤ N ≤ 100) cows, conveniently numbere
2016-08-12 16:49:50 235
原创 杭电多校赛 contests 4 Rower Bo
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=5761 杭电OJ的题目直接贴过来好麻烦啊,因为有的数据他是以贴图形式给出的,在博客这就显示不正确,干脆贴链接。这道题其实就是个高中物理题一样,一开始小船是在Y轴上(0,a)点朝着原点的,并且有一个一直不变的速度V1,但是水流也有速度,速度是V2,所以小船会被冲走,当到达某个角度的时候,x轴的
2016-08-12 11:11:33 459
原创 杭电多校赛contests8 1006 physics
physicsTime Limit: 6000/3000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 996 Accepted Submission(s): 524Problem DescriptionThere are n balls on a smo
2016-08-12 10:08:25 369
原创 POJ1511 Invitation Cards(spfa模板题)
Invitation CardsTime Limit:8000MS Memory Limit:262144KB 64bit IO Format:%lld & %lluSubmit Status Practice POJ 1511DescriptionIn the age of television, not many people a
2016-08-12 09:42:11 397
原创 POJ 2240 Arbitrage(Ballman最短路)
ArbitrageTime Limit:1000MS Memory Limit:65536KB 64bit IO Format:%lld & %lluSubmit Status Practice POJ 2240DescriptionArbitrage is the use of discrepancies in currency e
2016-08-08 16:06:31 271
原创 16年杭电多校赛contest6 1010 Windows 10
Windows 10Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 1276 Accepted Submission(s): 434Problem DescriptionLong long ago, the
2016-08-07 16:37:49 439
原创 POJ 3268 Silver Cow Party(Dijkstra)
Silver Cow PartyTime Limit:2000MS Memory Limit:65536KB 64bit IO Format:%lld & %llu DescriptionOne cow from each of N farms (1 ≤ N ≤ 1000) conveniently numbered 1..N is go
2016-08-07 16:12:53 415
原创 POJ 1860 Currency Exchange(Ballman)
Currency ExchangeTime Limit:1000MS Memory Limit:30000KB 64bit IO Format:%lld & %llu DescriptionSeveral currency exchange points are working in our city. Let us suppose th
2016-08-07 12:04:17 324
原创 各算法时间复杂度总结
仅供自己参考- -非常的水,甚至把常数也加进去了所以和网站其他人的不一样 从图论的算法开始说说。Dijkstra点对点最短路: for(i=1;i<=n;i++) { min=MAX; for(j=1;j<=n;j++) { if(!mark[j] && dist[j]<min)
2016-08-06 11:52:31 8956 1
原创 Plane of Tanks: Pro
Plane of Tanks: ProVasya has been playing Plane of Tanks with his friends the whole year. Now it is time to divide the participants into several categories depending on their results.A player
2016-08-01 15:26:47 338
原创 CodeFroces 175A. Robot Bicorn Attack(构造)
DescriptionVasya plays Robot Bicorn Attack.The game consists of three rounds. For each one a non-negative integer amount of points is given. The result of the game is the sum of obtained point
2016-08-01 15:14:51 494
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人