Skip to content

题解

P1001 A+B Problem

定义整型变量a,b,使用cin,cout输入输出,运算符+相加。

核心代码

cin >> a >> b;
cout << a + b;