
PAT
文章平均质量分 76
ch209209
这个作者很懒,什么都没留下…
展开
-
pat 1002
还有一个测试用例没有通过,暂存于此。 // pat_test.cpp : 定义控制台应用程序的入口点。 // #define __1002__ENABLE__ #ifdef __1002__ENABLE__ #include "stdio.h" #define MAXN 1000 typedef struct poly{ int exp; float cof;原创 2012-03-24 21:34:51 · 703 阅读 · 0 评论 -
PAT-1038
1038. Recover the Smallest Number 题目地址:http://pat.zju.edu.cn/contests/pat-practise/1038 Given a collection of number segments, you are supposed to recover the smallest number from them. For example原创 2012-11-17 12:17:14 · 670 阅读 · 0 评论 -
PAT-1015
1015. Reversible Primes (20) 题目地址:http://pat.zju.edu.cn/contests/pat-practise/1015 A reversible prime in any number system is a prime whose "reverse" in that number system is also a prime. For exa原创 2012-11-17 18:31:05 · 593 阅读 · 0 评论 -
PAT -1007
1007. Maximum Subsequence Sum 题目地址:http://pat.zju.edu.cn/contests/pat-practise/1007 Given a sequence of K integers { N1, N2, ..., NK }. A continuous subsequence is defined to be { Ni, Ni+1, ...,原创 2012-11-17 13:34:55 · 588 阅读 · 0 评论 -
PAT-1040
1040. Longest Symmetric String 题目地址:http://pat.zju.edu.cn/contests/pat-practise/1040 Given a string, you are supposed to output the length of the longest symmetric sub-string. For example, given "Is原创 2012-11-18 12:16:33 · 583 阅读 · 0 评论 -
PAT-1032
1032. Sharing (25) 题目地址:http://pat.zju.edu.cn/contests/pat-practise/1032 To store English words, one method is to use linked lists and store a word letter by letter. To save some space, we may le原创 2012-11-22 11:56:48 · 630 阅读 · 0 评论