
PAT集锦
奋斗的阿狸_1986
一个执着于技术的阿狸!
展开
-
PAT 1001 A+B Format (20)
题目英文 题目中文 输入 输出 示例输入 示例输出 思考过程 参考代码1 参考代码2 向下一个题进军题目英文:Calculate a + b and output the sum in standard format – that is, the digits must be separated into groups of three by commas (unless there are les原创 2017-11-08 16:20:58 · 256 阅读 · 0 评论 -
PAT 1002 A+B for Polynomials (25)
题目英文 题目中文 输入 输出 示例输入 示例输出 分析 程序1 程序2题目英文This time, you are supposed to find A+B where A and B are two polynomials.InputEach input file contains one test case. Each case occupies 2 lines, and each line原创 2017-11-09 13:18:14 · 318 阅读 · 0 评论 -
1100pat
#include<stdio.h> #include<string.h> char* lower[] = {"tret","jan","feb","mar","apr","may","jun","jly","aug","sep","oct","nov","dec"}; char* higher[] = {"empty","tam","hel","maa","huh","tou","kes","hei原创 2017-11-09 13:20:00 · 307 阅读 · 0 评论 -
PAT 1002
** include include include include include include //该程序使用一个1001的数组,储存x的0-1000次幂,其实也就是数组下标对应着x的幂,数组存储的值对应着系数 using namespace std; double input[1001]; int main() { int expo=0;原创 2018-01-04 18:05:32 · 192 阅读 · 0 评论 -
PAT 1002
#include #include #include #include #include #include //该程序使用一个1001的数组,储存x的0-1000次幂,其实也就是数组下标对应着x的幂,数组存储的值对应着系数 using namespace std; double input[1001]; int main() { int expo=0; double coef=0;原创 2018-01-04 18:09:16 · 221 阅读 · 0 评论