PAT
onlinewk
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
【PAT】1007 Maximum Subsequence Sum (25) 最大连续子序列和 +记录位置
题目 Given a sequence of K integers { N1, N2, ..., NK }. A continuous subsequence is defined to be { Ni, Ni+1, ..., Nj } where 1 Maximum Subsequence is the continuous subsequence which has the la原创 2016-01-01 11:00:18 · 1074 阅读 · 0 评论 -
【PAT 】1024.Palindromic Number (25) 字符操作+大数相加
题目链接:http://www.patest.cn/contests/pat-a-practise/1024 第一次,过了部分数据,数据长度超过long long #include #include #include typedef long long LL; //递归判断回文串 bool Palindromic(int low, int high, char *str, i原创 2015-12-22 22:25:08 · 684 阅读 · 0 评论 -
【PAT】1003. Emergency (25) DFS 最短路径及最短路径数
1003. Emergency (25) 时间限制 400 ms 内存限制 32000 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue As an emergency rescue team leader of a city, yo原创 2016-01-01 11:14:56 · 533 阅读 · 0 评论 -
【PAT】 1001. A+B Format (20)
题目链接:http://www.patest.cn/contests/pat-a-practise/1001 刚开始用itoa数字转字符串,itoa是c语言的一个函数,虽然在DEVcpp下课编译通过,但它不是标准定义下的C语言,不能被移植,编译器通常在一个不遵循程式标准的模式下允许其通过header,可用sprintf(str,"%d",value)替代,但会比较耗时。原创 2015-12-20 22:08:10 · 512 阅读 · 0 评论
分享