- 博客(3)
- 收藏
- 关注
原创 PAT-A1012
#include<cstdio>#include<algorithm>using namespace std;struct node{ int id; int grade[4];}stu[2010];int now;int rk[10000000][4] = {0};char c[4] = {'A', 'C', 'M', 'E'};bool...
2019-03-04 21:53:01
278
原创 PAT-A1009(多项式求积)
知道两个多项式相乘的规则,同时注意边界,题目给的是0-1000之间,因此开的数组必须大于1001.#include<cstdio>#include<algorithm>using namespace std;int main(){ int n1, n2, temp; double ex1[1010] = {0}, ex2[1010] = {0},...
2019-03-03 16:55:08
335
原创 PAT-A1005(Spell It Right)
#include<cstdio>#include<cstring>int main(){ char str[110]; char str1[10][8] = {"zero","one", "two", "three", "four", "five", "six", "seven", &q
2019-03-02 22:04:41
202
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人