随笔分类 -  PAT Advanced level

PATA 1071 Speech Patterns.
摘要:#include using namespace std; bool check(char c)//检查是否为字母或数字 { if(c>='A'&&c='a'&&c='0'&&c count; string str; getline(cin,str); int i = 0; while(i='A'&&str[i]::iterator it=count.begin();it != co... 阅读全文

posted @ 2018-03-12 22:23 七昂的技术之旅 阅读(240) 评论(0) 推荐(0)

PATA 1027 Colors In Mars
摘要:#include char radix[13] = {'0','1','2','3','4','5','6','7','8','9','A','B','C'}; int main() { int g,r,b; scanf("%d%d%d",&g,&r,&b); printf("#"); printf("%c%c%c% 阅读全文

posted @ 2018-03-03 16:13 七昂的技术之旅 阅读(178) 评论(0) 推荐(0)

PATA 1036. Boys vs Girls (25)
摘要:https://www.patest.cn/contests/pat-a-practise/1036 阅读全文

posted @ 2018-02-13 23:21 七昂的技术之旅 阅读(369) 评论(0) 推荐(0)

PATA 1006. Sign In and Sign Out (25)
摘要:#include using namespace std; const int N = 100005; struct visitor{ char ID[20]; int in_h,in_m,in_s; int out_h,out_m,out_s; }v[N]; int main(){ int m,i; struct visitor late,early;//最晚,最早 scan... 阅读全文

posted @ 2018-02-13 20:31 七昂的技术之旅 阅读(192) 评论(0) 推荐(0)

PATA 1011 World Cup Betting (20)
摘要:1011. World Cup Betting (20) 时间限制 400 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue 时间限制 400 ms 时间限制 400 ms 内存限制 65536 kB 内存限制 65536 kB 代 阅读全文

posted @ 2018-02-13 19:07 七昂的技术之旅 阅读(356) 评论(0) 推荐(0)

PATA 1009. Product of Polynomials (25)
摘要:1009. Product of Polynomials (25) 时间限制 400 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue This time, you are supposed to find A*B where A 阅读全文

posted @ 2018-02-13 15:39 七昂的技术之旅 阅读(240) 评论(0) 推荐(0)

PATA 1065 A+B and C (64bit)
摘要:1065. A+B and C (64bit) (20) 时间限制 100 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 HOU, Qiming Given three integers A, B and C in [-263, 263], you 阅读全文

posted @ 2018-02-12 11:52 七昂的技术之旅 阅读(328) 评论(0) 推荐(0)

导航