![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
算法设计
CodePig_Geng
Code!!!
展开
-
PAT 1001. A+B Format (20)
PAT甲级真题及训练集第一题:计算A+B的值,并按照规定格式输出(从低位开始,每三位插入一个逗号)代码如下:#include#includeusing namespace std;int judge_low(int x);int main(){ int a,b; cin>>a>>b; int c=a+b; if(c/1000==0) cout<<c; else i原创 2017-07-13 15:11:16 · 184 阅读 · 0 评论 -
1002. A+B for Polynomials (25)
1002. A+B for Polynomials (25)时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueThis time, you are supposed to find A+原创 2017-07-13 15:20:20 · 205 阅读 · 0 评论 -
1003. Emergency (25)
1003. Emergency (25)时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueAs an emergency rescue team leader of a city, yo原创 2017-07-13 21:34:13 · 115 阅读 · 0 评论