会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
ACSeed
CnBlogs
Home
New Post
Contact
Admin
Subscription
上一页
1
2
3
4
5
下一页
2015年7月25日
PAT 1004. Counting Leaves (30)
链接:http://www.patest.cn/contests/pat-a-practise/1004复习一下C 1 #include 2 #include 3 #include 4 #include 5 6 #define MAX_NODE 110 7 #define MAX_Q...
Read More
posted @ 2015-07-25 04:31 ACSeed
Views(137)
Comments(0)
Diggs(0)
2015年4月14日
PAT 1009. Product of Polynomials (25)
题目地址:http://www.patest.cn/contests/pat-a-practise/1009#include#include#include#include#includeusing namespace std;const int MAXN = 1000 + 10;const do...
Read More
posted @ 2015-04-14 13:48 ACSeed
Views(134)
Comments(0)
Diggs(0)
2015年4月13日
PAT 1002. A+B for Polynomials (25)
题目地址:http://www.patest.cn/contests/pat-a-practise/1002这个题我能说我交了无数次吗? 坑, 系数是0 不能输出 1 #include 2 #include 3 #include 4 5 using namespace std; 6 7 cons...
Read More
posted @ 2015-04-13 23:14 ACSeed
Views(366)
Comments(1)
Diggs(0)
PAT 1065. A+B and C (64bit) (20)
题目地址:http://www.patest.cn/contests/pat-a-practise/1065偷懒了1 T = input()2 for i in xrange(1, T + 1): 3 a, b, c = map(long, raw_input().split())4 ...
Read More
posted @ 2015-04-13 19:40 ACSeed
Views(128)
Comments(0)
Diggs(0)
PAT 1003. Emergency (25)
题目地址:http://www.patest.cn/contests/pat-a-practise/1003最短路 1 #include 2 #include 3 #include 4 5 using namespace std; 6 7 const int INF = 1000000000; ...
Read More
posted @ 2015-04-13 13:33 ACSeed
Views(186)
Comments(0)
Diggs(0)
PAT 1092. To Buy or Not to Buy (20)
题目地址:http://www.patest.cn/contests/pat-a-practise/1092 1 #include 2 #include 3 #include 4 5 using namespace std; 6 7 const int MAXN = 2000; 8 char s...
Read More
posted @ 2015-04-13 10:24 ACSeed
Views(189)
Comments(0)
Diggs(0)
PAT 1093. Count PAT's (25)
题目地址:http://www.patest.cn/contests/pat-a-practise/1093水题 1 #include 2 #include 3 #include 4 5 using namespace std; 6 7 const int MAXN = 100000 + 5; ...
Read More
posted @ 2015-04-13 10:06 ACSeed
Views(209)
Comments(0)
Diggs(0)
GCJ2015 Problem B. Infinite House of Pancakes
我这个弱B一开始就认为对于一个数, 对半分肯定比其他的分配方案好,然后最终也没过对半分不一定是最好的分配方案,比如, 9 可能分成3个3比对半分好真不知道那些大牛是怎么思考问题的,我看了第一的代码,他枚举最终状态的最大值, 他是怎么思考问题的呢?下面这个我改的蔡的暴力代码, 加上了枚举每一种分法,目...
Read More
posted @ 2015-04-13 00:57 ACSeed
Views(309)
Comments(0)
Diggs(0)
2015年4月11日
PAT 1005. Spell It Right (20)
题目地址:http://www.patest.cn/contests/pat-a-practise/1005太水了点 1 #include 2 #include 3 #include 4 5 using namespace std; 6 7 const char *english[] = { 8...
Read More
posted @ 2015-04-11 01:17 ACSeed
Views(182)
Comments(0)
Diggs(0)
PAT 1099. Build A Binary Search Tree (30)
题目地址:http://www.patest.cn/contests/pat-a-practise/1099单纯的数据结构题目想到中序遍历的BST是有序的, 中序插入数, 层序遍历输出就可以了,这个题目为什么是30分呢, 纳闷 1 #include 2 #include 3 #include 4 #...
Read More
posted @ 2015-04-11 00:51 ACSeed
Views(258)
Comments(0)
Diggs(0)
上一页
1
2
3
4
5
下一页
公告