- 博客(9)
- 资源 (1)
- 问答 (1)
- 收藏
- 关注
原创 ACM学习感悟——weekly training
DescriptionIlya the Lion wants to help all his friends with passing exams. They need to solve the following problem to pass the IT exam.You've got string s = s1s2...sn (n is the length of the
2015-03-19 20:34:57 599
原创 WEEKLY TRAINING2-B Party 树+dfs
DescriptionA company has n employees numbered from1 to n. Each employee either has no immediate manager or exactly one immediate manager, who is another employee with a different number. An empl
2015-03-19 20:30:41 946
原创 ACM学习之路——HDU2544 HDU2066(spfa)
题目链接HDU2544 http://acm.hdu.edu.cn/showproblem.php?pid=2544HDU2066 http://acm.hdu.edu.cn/showproblem.php?pid=2066话说这两道我用的是spfa算法,由于第一次使用这个算法,找bug真是找的我昏天黑地。第一个要注意的就是链式前向星的位置变量CNT在每一次的循环中都要初
2015-03-19 20:13:07 603
原创 ACM学习感悟——HDU1204
Problem DescriptionNow I think you have got an AC in Ignatius.L's "Max Sum" problem. To be a brave ACMer, we always challenge ourselves to more difficult problems. Now you are faced with a more diff
2015-03-13 20:01:55 544
原创 ACM学习感悟——HDU1505 最大0矩阵
DescriptionBob is a strategy game programming specialist. In his new city building game the gaming environment is as follows: a city is built up by areas, in which there are streets, trees,factori
2015-03-12 17:15:36 610
原创 ACM 学习感悟——HDU2845
DescriptionBean-eating is an interesting game, everyone owns an M*N matrix, which is filled with different qualities beans. Meantime, there is only one bean in any 1*1 grid. Now you want to eat th
2015-03-12 15:27:54 493
原创 ACM学习感悟——HDU2844 多重背包
DescriptionWhuacmers use coins.They have coins of value A1,A2,A3...An Silverland dollar. One day Hibix opened purse and found there were some coins. He decided to buy a very nice watch in a nearby
2015-03-11 16:18:41 560
原创 ACM学习感悟——HDU257 HOW TO TYPE
Problem DescriptionPirates have finished developing the typing software. He called Cathy to test his typing software. She is good at thinking. After testing for several days, she finds that if she
2015-03-09 21:04:39 500
原创 HDU 1203 I NEED AN OFFER
原题连接就不发了,这道题是把我坑的最惨的一个,就是因为输入的全为0是,而判断语句n!=0 && m!=0 与n||m 是完全不同的,有c语言的特性决定。题目只是一道普通的背包。#include #include #include //d[i]表示剩余i容量 #include #define CLR(x) memset(x,0,sizeof(x))using na
2015-03-03 21:25:18 827
我的tomcat无法连接到Oracle数据库
2016-10-15
TA创建的收藏夹 TA关注的收藏夹
TA关注的人