PAT
文章平均质量分 79
Aimer1027
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
pat1005
1005. Spell It Right (20) 时间限制 400 ms 内存限制 32000 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue Given a non-negative integer N, your task is to compute the原创 2014-07-09 08:30:16 · 494 阅读 · 0 评论 -
pat1078 错题备份
1078. Hashing (25) 时间限制 100 ms 内存限制 32000 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue The task of this problem is simple: insert a sequence of distinct positi原创 2014-07-31 23:32:13 · 612 阅读 · 0 评论 -
pat1052
1052. Linked List Sorting (25) 时间限制 400 ms 内存限制 32000 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue A linked list consists of a series of structures, which原创 2014-07-31 21:27:34 · 627 阅读 · 0 评论 -
pat1074_备份
1074. Reversing Linked List (25) 时间限制 300 ms 内存限制 32000 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue Given a constant K and a singly linked list L, you ar原创 2014-08-01 01:11:55 · 554 阅读 · 0 评论 -
pat1051
1051. Pop Sequence (25) 时间限制 10 ms 内存限制 32000 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue Given a stack which can keep M numbers at most. Push N numbers原创 2014-08-01 14:44:45 · 646 阅读 · 0 评论 -
pat1073
#include #include using namespace std ; int pow ( int i ) { int n ; int result = 1 ; for ( n = 0 ; n < i ; n++ ) result *= 10 ; return result ; } int getBase (char base[] ) { int原创 2014-07-14 10:20:39 · 693 阅读 · 0 评论 -
pat1015_错题备份
1015. Reversible Primes (20) 时间限制 400 ms 内存限制 32000 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue A reversible prime in any number system is a prime whose "reverse" in that number原创 2014-07-30 21:17:39 · 493 阅读 · 0 评论 -
pat1050
1050. String Subtraction (20) 时间限制 10 ms 内存限制 32000 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue Given two strings S1 and S2, S = S1 - S2 is defined to be the remaining strin原创 2014-07-30 21:07:53 · 480 阅读 · 0 评论 -
pat1008
1008. Elevator (20) 时间限制 400 ms 内存限制 32000 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue The highest building in our city has only one elevator. A request lis原创 2014-07-10 09:02:42 · 513 阅读 · 0 评论 -
pat1028
#include #include #include #include #define MAX 100000 using namespace std ; struct stuNode { char ID [10]; char name[10] ; int score ; stuNode () {} stuNode ( char *id , char *na原创 2014-07-10 10:37:44 · 503 阅读 · 0 评论 -
pat1003
1003. Emergency (25) 时间限制 400 ms 内存限制 32000 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue As an emergency rescue team leader of a city, yo原创 2014-07-15 23:44:28 · 610 阅读 · 0 评论 -
pat1012
1012. The Best Rank (25) 时间限制 400 ms 内存限制 32000 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue To evaluate the performance of our first year CS majored stud原创 2014-07-23 12:27:51 · 602 阅读 · 0 评论 -
pat1002
1002. A+B for Polynomials 解题报告: 这道题目jiy原创 2014-07-03 13:42:12 · 542 阅读 · 0 评论 -
pat1004
1004. Counting Leaves (30) 时间限制 400 ms 内存限制 32000 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue A family hierarchy is usually presented by a pedigree tree.原创 2014-07-22 11:19:32 · 606 阅读 · 0 评论 -
pat1010
#include #include #include #define a 10 #define MAXN 15 using namespace std ; char num1[MAXN], num2[MAXN]; char temp[MAXN] ; char tempX [MAXN] ; int radix , tag ; int num_10 = 0 ; int getPow (原创 2014-07-17 17:56:01 · 539 阅读 · 0 评论 -
pat1011
#include #include double map[3][5] ; int list[3] ; char c[] = {'W','T','L'} ; void inPut() { for ( int i = 0 ; i < 3 ; i++ ) { double max = -100 ; int loc = 0 ; for (int j = 0 ; j < 3 ; j原创 2014-07-22 19:27:12 · 584 阅读 · 0 评论 -
pat_1001
错题存档 #include #include #include #include using namespace std ; stack s ; void getChar( long num ) { char a ; long counter = 0 ; while ( num ) { a= (num%10)+'0' ; s.p原创 2014-06-30 17:36:52 · 504 阅读 · 0 评论 -
pat1009
1009. Product of Polynomials (25) 时间限制 400 ms 内存限制 32000 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue This time, you are supposed to find A*B where A and B原创 2014-07-17 15:27:25 · 577 阅读 · 0 评论 -
pat_练习题_2-06
2-06. 数列求和(20) 时间限制 100 ms 内存限制 32000 kB 代码长度限制 8000 B 判题程序 Standard 给定某数字A(1 求数列之和S = A + AA + AAA + … + AA…A(N个A)。例如A=1, N=3时,S = 1 + 11 + 111 = 123。原创 2014-07-16 10:58:47 · 920 阅读 · 0 评论
分享