1019. General Palindromic Number

1019. General Palindromic Number (20) A number that will be the same when it is written forwards or backwards is known as a Palindromic Numb...

2018-04-15 20:18:20

阅读数:26

评论数:0

1031. Hello World for U

1031. Hello World for U (20) Given any string of N (>=5) characters, you are asked to form the characters into the shape of U. F...

2018-04-15 19:40:29

阅读数:44

评论数:0

1036. Boys vs Girls

1036. Boys vs Girls (25) This time you are asked to tell the difference between the lowest grade of all the male students and the highest gr...

2018-04-12 22:09:11

阅读数:28

评论数:0

1006. Sign In and Sign Out

1006. Sign In and Sign Out (25) At the beginning of every day, the first person who signs in the computer room will unlock the door, and the...

2018-04-12 21:43:24

阅读数:26

评论数:0

1011. World Cup Betting

1011. World Cup Betting (20) With the 2010 FIFA World Cup running, football fans the world over were becoming increasingly excited as the be...

2018-04-11 18:42:41

阅读数:28

评论数:0

1009. Product of Polynomials

1009. Product of Polynomials (25) This time, you are supposed to find A*B where A and B are two polynomials.Input Specification:Each input f...

2018-04-11 08:36:36

阅读数:27

评论数:0

1065. A+B and C (64bit)

1065. A+B and C (64bit) (20) Given three integers A, B and C in [-263, 263], you are supposed to tell whether A+B > C.Input Specification...

2018-04-10 18:40:57

阅读数:27

评论数:0

1046. Shortest Distance

1046. Shortest Distance (20) The task is really simple: given N exits on a highway which forms a simple cycle, you are supposed to tell the ...

2018-04-10 16:51:45

阅读数:22

评论数:0

1042. Shuffling Machine

Shuffling is a procedure used to randomize a deck of playing cards. Because standard shuffling techniques are seen as weak, and in order to avoid &am...

2018-04-09 20:12:30

阅读数:20

评论数:0

1002. A+B for Polynomials

1002. A+B for Polynomials (25)时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueThis time, you are supposed to find A+B where A and B are two...

2018-04-03 19:12:27

阅读数:15

评论数:0

1001. A+B Format

1001. A+B Format (20) 时间限制 400 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue ...

2018-04-03 19:01:49

阅读数:18

评论数:0

pat-advanced-1033

1033. To Fill or Not to Fill (25) 时间限制 100 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 ZHA...

2017-08-06 20:49:19

阅读数:134

评论数:0

pat-advanced-1025

1025. PAT Ranking (25) 时间限制 200 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue ...

2017-07-22 21:14:10

阅读数:107

评论数:0

pat-basic-1004-c语言

1004. 成绩排名 (20) 时间限制 400 ms 内存限制 65536 kB 代码长度限制 8000 B 判题程序 Standard 作者 CHEN, Yue 读入n...

2017-07-17 19:09:53

阅读数:168

评论数:0

pat-basic-1049-c语言

找规律 #include int main() { double ar[100010],sum; int n,i,n1; sum=0; scanf("%d",&n); n1=n; for(i=0;i<n;i++) { scanf("%...

2017-02-14 08:35:41

阅读数:161

评论数:0

pat-basic-1048-c语言

题目不是很难,但关键是: B的长度小于A时要将B前端补零后再进行加密 #include #include int main() { char a[110]={0},b[200]={0},c[110]={0},d[200]={0}; int i,j,n,len_a,len_b,cnt,sum...

2017-02-13 13:34:36

阅读数:188

评论数:0

pat-basic-1047-c语言

#include int main() { int i,n,team[1010]={0},t,mark,stu,max,maxi; max=-1; scanf("%d",&n); for(i=0;i<n;i++) { scanf("%d-%...

2017-02-13 09:59:04

阅读数:115

评论数:0

pat-basic-1046-c语言

#include int main() { int i,n,a,sa,b,sb,da,db; da=0,db=0; scanf("%d",&n); for(i=0;i<n;i++) { scanf("%d %d %d %d",&a...

2017-02-13 09:46:14

阅读数:123

评论数:0

pat-basic-1043-c语言

#include int main() { int i,P,A,T,e,s,t; char ch,str[100010]={0}; P=0,A=0,T=0,e=0,s=0,t=0; while((ch=getchar())!='\n') { if(ch=='P') P++; ...

2017-02-12 10:29:59

阅读数:123

评论数:0

pat-basic-1042-c语言

#include int main() { char str; int i,ch[128]={0},max,maxi; max=0; while((str=getchar())!='\n') { if(str>='A'&&str<='Z') str...

2017-02-11 22:40:44

阅读数:110

评论数:0

提示
确定要删除当前文章?
取消 删除
关闭
关闭