- 博客(42)
- 资源 (4)
- 收藏
- 关注
原创 最近对IT行业收入的话题火起来了,我也来说说毕业三年混到20万的经历
http://bbs.tianya.cn/post-funinfo-5935359-1.shtml他们是怎么成长起来的、
2015-05-31 15:23:06 2240
原创 poj 1258 Agri-Net poj 2485 Highways
http://poj.org/problem?id=1258多么单纯的mst!#include#includeusing namespace std;const int INF=103;int graph[INF][INF];int f1[INF];int low[INF];int res,n;int prim(){ f1[1]=1; memset(lo
2015-05-30 20:17:09 555
原创 poj 3522 Slim Span
链接:http://poj.org/problem?id=3522 这个题我就想知道我已经写那么完美了,他为啥a不掉!!!!!!!!!!!!!!!!!!!!!!都来看看 啊~~~~~~~~~~#include#include#include#includeusing namespace std;const int INF=111;const int M=999999999;i
2015-05-30 14:58:01 759
原创 Poj 1861 Network
题目链接:http://poj.org/problem?id=1861和前面的题目极其类似,比较有意思的是这里有点儿坑人的地方,但是我并没有注意,歪打正着。幸亏样例没有仔细看。题目这次只要求在保证链接所有顶点的情况下,求出最长的那条边。并没有要求路径总权值最小。所以可以任意添加某条小于最长的那个边权值的其它 可添加边,尽管他可能成环。所有才有了奇葩的样例。其实完全是构造最小生成树的思路。#
2015-05-29 22:18:29 787
原创 POj 2041 Constructing Roads
题目链接:http://poj.org/problem?id=2421赤裸裸的最小生成树习题!#include#includeusing namespace std;const int INF=0x1f1f1f1f;//设置一个非常大的值,用于每次找出low数组最小值int cost[101][101];//记录每条双向边的权值int low[101];int f1[10
2015-05-29 12:42:58 680
原创 HDU ACM 2489 Minimal Ratio Tree
Minimal Ratio TreeTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 3057 Accepted Submission(s): 917Problem DescriptionFor a tree, wh
2015-05-29 11:50:25 758
原创 Poj 1797 Heavy Transportation
链接 :http://poj.org/problem?id=1797 题意一开始不太明确,题目是要求找一条链接1——n的一条路,这条路满足权值最大,因为是承载重量要选择,这条权值最大路径中某边的最小权值。当我们按照最大权值生成树构造完毕的时候,肯定任意两点间都有最大权值路径,也就意味着在构造过程中,每次从大到小添加边的时候,添加一旦发现出现了链接1——n的某条路径,那么break,记录下添
2015-05-29 11:26:12 895
转载 从程序员到CTO的Java技术路线图
在技术方面无论我们怎么学习,总感觉需要提升自已不知道自己处于什么水平了。但如果有清晰的指示图供参考还是非常不错的,这样我们清楚的知道我们大概处于那个阶段和水平。 Java程序员高级特性 反射、泛型、注释符、自动装箱和拆箱、枚举类、可变 参数、可变返回类型、增强循环、静态导入 核心编程
2015-05-27 16:08:48 1070
原创 HDU ACM 1272 小希的迷宫
小希的迷宫Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 31911 Accepted Submission(s): 9850Problem Description上次Gardon的迷宫城堡小希玩了很久(见Pr
2015-05-25 20:05:26 901
原创 哈理工 校赛(热身赛)2238 围巾的纠结(判断回路问题)
围巾的纠结Time Limit: 500 MSMemory Limit: 32768 KTotal Submit: 123(52 users)Total Accepted: 57(48 users)Rating: Special Judge: No
2015-05-25 16:37:26 713
原创 HDU ACM 2094 产生冠军
产生冠军Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 10540 Accepted Submission(s): 4929Problem Description有一群人,打乒乓球比赛,两两捉对撕杀,每两个人之
2015-05-25 00:01:56 1656
原创 拓扑排序 HDU 1285 确定比赛名次
确定比赛名次Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 15037 Accepted Submission(s): 6022Problem Description有N个比赛队(1 Input
2015-05-24 21:18:58 793
原创 POJ 2299 Ultra-QuickSort
http://www.baidu.com/s?ie=utf-8&f=8&rsv_bp=1&tn=site888_3_pg&wd=poj2299&rsv_pq=c6250e92000864c1&rsv_t=a305QkcqHDKN9UxMSMRUmR24ngB6j6l8pUc5B2XnXS887NCqpOicwHRtO2V6KerME6DA&rsv_enter=1&inputT=719&rsv_su
2015-05-24 10:30:18 776
原创 哈理工 oj 1161 Leyni
LeyniTime Limit: 3000 MSMemory Limit: 65536 KTotal Submit: 466(94 users)Total Accepted: 142(88 users)Rating: Special Judge: NoDescriptionLeyni
2015-05-22 20:25:25 1251
原创 哈理工 2139 魔幻菱形
魔幻菱形Time Limit: 1000 MSMemory Limit: 32768 KTotal Submit: 246(172 users)Total Accepted: 179(165 users)Rating: Special Judge: NoDescription图案输出
2015-05-22 00:02:14 974 1
原创 哈理工 1400 汽车比赛
汽车比赛Time Limit: 1000 MSMemory Limit: 65536 KTotal Submit: 388(95 users)Total Accepted: 146(80 users)Rating: Special Judge: No
2015-05-21 22:52:23 925
原创 ZOJ 2352 Stars
StarsTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 22870 Accepted: 9967DescriptionAstronomers often examine star maps where star
2015-05-21 17:51:21 579
原创 2015黑龙江省赛记
应该说从高中毕业后就很少写过文章了,其实这篇文章本来是学校要求写成比赛总结,想了想发篇博文得了。接下来我要讲述这段下学期的传奇经历,出现的人名字母代替。全文就围绕省赛来说吧,整个大一历程,暑假后描述。 因为是山东的上学期基本疯狂玩耍,期末照样年级12,但是实际编程水平真的是谈不上,但始终种着一颗开始编程的种子,结果这学期让他萌发了!从这学期才开始正式刷oj题目。夜也熬过,课该
2015-05-19 14:48:16 1056
原创 哈理工 oj 2189 节点的连接
节点的连接Time Limit: 1000 MSMemory Limit: 32768 KTotal Submit: 67(36 users)Total Accepted: 36(34 users)Rating: Special Judge: NoDescription有N个节点,一
2015-05-18 20:48:51 935
原创 杭电 HDU ACM 1213 How Many Tables
How Many TablesTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 17049 Accepted Submission(s): 8349Problem DescriptionToday is Igna
2015-05-17 20:19:52 906
原创 哈理工 1073 病毒
病毒Time Limit: 1000 MSMemory Limit: 65536 KTotal Submit: 1154(334 users)Total Accepted: 423(298 users)Rating: Special Judge: NoDescription某种病毒袭
2015-05-17 16:03:28 1000
原创 ZOJ 1049 I Think I Need a Houseboat
I Think I Need a HouseboatTime Limit: 2 Seconds Memory Limit: 65536 KB Fred Mapper is considering purchasing some land in
2015-05-17 15:10:13 1114
原创 HDU ACM 1072 Nightmare
NightmareTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 8125 Accepted Submission(s): 3896Problem DescriptionIgnatius had a night
2015-05-12 00:37:00 1261
原创 HDU ACM 4255 A Famous Grid
A Famous GridTime Limit: 10000/3000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1562 Accepted Submission(s): 603Problem DescriptionMr. B has recent
2015-05-12 00:13:39 1261
原创 POJ 上几个关于排列的题目
1 .http://poj.org/problem?id=1731http://poj.org/problem?id=1731 POJ 1731 Orders 关于子集和全排列 详情 http://blog.csdn.net/luchenqun/article/details/6401954#include#include#includeusing namespace
2015-05-10 20:00:25 1271
原创 Uva 540 Team Queue
Team QueueTime Limit: 3000MS Memory Limit: Unknown 64bit IO Format: %lld & %lluSubmitStatus DescriptionQueues and Priority Queues are data structures which ar
2015-05-09 18:40:10 606
原创 Uva 156 Ananagrams
AnanagramsTime Limit: 3000MS Memory Limit: Unknown 64bit IO Format: %lld & %lluSubmitStatus DescriptionMost crossword puzzle fans are used to anagrams--groups
2015-05-09 17:12:24 908
原创 Uva 10815 Andy's First Dictionary
Andy's First DictionaryTime Limit: 3000MS Memory Limit: Unknown 64bit IO Format: %lld & %lluSubmitStatus DescriptionProblem B: Andy's First Dictio
2015-05-08 22:50:09 806 4
原创 Uva 572 Oil Deposits
Oil DepositsTime Limit: 3000MS Memory Limit: Unknown 64bit IO Format: %lld & %llu Submit Status DescriptionThe GeoSurvComp geologic survey company is responsible for det...
2015-05-08 22:09:34 591
原创 Uva 17239 The 3n + 1 problem
The 3n + 1 problem BackgroundProblems in Computer Science are often classified as belonging to a certain class of problems (e.g., NP, Unsolvable, Recursive). In this problem you will be an...
2015-05-08 21:07:49 598
原创 ZOJ 3333 Guess the Price 3323 Somali Pirates 3322 Who is Older?(超级水)
Guess the PriceTime Limit: 1 Second Memory Limit: 32768 KB In the television program "Shopping Street" of CCTV-2, two people,
2015-05-08 12:34:02 1115
原创 ZOJ 3326 An Awful Problem
An Awful ProblemTime Limit: 1 Second Memory Limit: 32768 KB In order to encourage Hiqivenfin to study math, his mother gave him a swe...
2015-05-08 01:27:54 695
原创 杭电 HDU ACM 1728 逃离迷宫
逃离迷宫Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 18241 Accepted Submission(s): 4409Problem Description 给定一个m × n (m行, n列)的迷宫,
2015-05-08 01:15:30 2286
原创 Nyoj 20 吝啬的国度(dfs)
吝啬的国度时间限制:1000 ms | 内存限制:65535 KB难度:3描述 在一个吝啬的国度里有N个城市,这N个城市间只有N-1条路把这个N个城市连接起来。现在,Tom在第S号城市,他有张该国地图,他想知道如果自己要去参观第T号城市,必须经过的前一个城市是几号城市(假设你不走重复的路)。输入第一行输入一个整数M表示测试数据共有M(1每组测
2015-05-07 15:17:53 799
原创 Poj 1979 Red and Black
Online JudgeProblem SetAuthorsOnline ContestsUserWeb BoardHome PageF.A.QsStatistical ChartsProblemsSubmit ProblemOnline StatusProb.ID:RegisterUpdate your info
2015-05-05 12:37:20 757
原创 北大 oj 1088 滑雪
问题描述:Michael喜欢滑雪百这并不奇怪, 因为滑雪的确很刺激。可是为了获得速度,滑的区域必须向下倾斜,而且当你滑到坡底,你不得不再次走上坡或者等待升降机来载你。Michael想知道载一个区域中最长底滑坡。区域由一个二维数组给出。数组的每个数字代表点的高度。下面是一个例子 1 2 3 4 516 17 18 19 615 24 25 20 714 23 22 21
2015-05-04 23:28:45 2259 2
原创 杭电 HDU ACM 1016 Prime Ring Problem
Prime Ring ProblemTime Limit: 4000/2000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 31900 Accepted Submission(s): 14108Problem DescriptionA ring is
2015-05-04 00:01:53 1172
原创 ZOJ 1028 Flip and Shift
Flip and ShiftTime Limit: 2 Seconds Memory Limit: 65536 KB This puzzle consists of a random sequence of m black disks and n
2015-05-03 08:49:43 937
原创 浙大 ZOJ 1002 Fire Net
Fire NetTime Limit: 2 Seconds Memory Limit: 65536 KB Suppose that we have a square city with straight streets. A map of a cit
2015-05-02 23:51:23 857
原创 杭电 HDU ACM 1081 To The Max
To The Max Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 9109 Accepted Submission(s): 4421 Problem DescriptionGiven a two-dim...
2015-05-02 17:36:08 627
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人