![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
pat甲级题库的总结
wsfhdhjs
这个作者很懒,什么都没留下…
展开
-
pat-高精度
A+B for Polynomials这道题就是有个坑是对于多项式,如果底数为0,则不需要输出#include<bits/stdc++.h>using namespace std;int main(){ map<int,double> mp; vector<pair<int,double>> res; int n,m; cin >> n; for(int i=0; i<n; i++)原创 2021-09-16 12:06:13 · 72 阅读 · 0 评论 -
pat题库--字符串
1071 Speech Patterns#include<bits/stdc++.h>using namespace std;bool check(char c){ if('a'<=c && c<='z') return true; if('A'<=c && c<='Z') return true; if('0'<=c && c<='9')原创 2021-09-14 12:26:33 · 112 阅读 · 0 评论