- 博客(3)
- 资源 (1)
- 收藏
- 关注
转载 operator两个简易用法
main.cpp:#include "Complex.h"int main(){ Complex z1(6,8); z1.show(); Complex z2(8,9); z2.show(); Complex z3; z3=z1+z2; z3.show();
2014-04-08 15:57:43
488
原创 PAT (Advanced Level) Practise 1002 A+B for Polynomials (25)
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 contains the information of a p
2014-04-08 13:06:56
394
原创 PAT (Advanced Level) Practise 1001 A+B Format (20)
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 less than four digits).InputEach input file cont
2014-04-08 00:10:15
490
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人