A+B Problem Time Limit:1000MS Memory Limit:1024K Description
来源:学生作业帮 编辑:大师作文网作业帮 分类:综合作业 时间:2024/09/20 20:52:41
A+B Problem Time Limit:1000MS Memory Limit:1024K Description:Calculate a + b Input:The input will
For each pair of input integers a and b you should output the sum of a and b in one line,and with one line of output for each line in input.
Sample Input:
1 5
0 0
Sample Output:
6
刚刚学习ACM第一题就错了麻烦大家帮帮忙了
我的代码是这个
#include
using namespace std;
int main(int argc,char* argv[])
{
int a,b;
while(cin >> a >> b)
cout a >> b)
cout
For each pair of input integers a and b you should output the sum of a and b in one line,and with one line of output for each line in input.
Sample Input:
1 5
0 0
Sample Output:
6
刚刚学习ACM第一题就错了麻烦大家帮帮忙了
我的代码是这个
#include
using namespace std;
int main(int argc,char* argv[])
{
int a,b;
while(cin >> a >> b)
cout a >> b)
cout
#include
using namespace std;
int main()
{
int a,b;
while (cin >> a >> b) {
if (a == 0 && b == 0)
return 1;
else
cout
using namespace std;
int main()
{
int a,b;
while (cin >> a >> b) {
if (a == 0 && b == 0)
return 1;
else
cout
A+B Problem Time Limit:1000MS Memory Limit:1024K Description
计算题 Time Limit: 1000MS Memory limit: 65536K
一道acm题,Problem H:Groups (I)Time Limit:1000MS Memory Limit:65
ACM的 “顺”序列 Time Limit:1000MS Memory Limit:32768K
素数之积Time Limit:1000MS Memory Limit:65535KB Submissions:636 A
英语翻译What's In A Name?Time Limit:1000MS Memory Limit:10000KTo
判断平方数Time Limit:1000MS Memory Limit:65536K题型:编程题 语言:C语言Descr
C++的问题 整数的因子数 Time Limit:2000MS Memory Limit:32768K
- - .是c语言纪念品分组Time Limit:1000MS Memory Limit:65536KTotal Sub
这两道题咋做二进制加法Time Limit:1000MS Memory Limit:65536KTotal Submit
pascal提问[j11]打印图形5Time Limit:1000MS Memory Limit:65536KTotal
C语言计算行列式计算行列式Time Limit:1000MS Memory Limit:65536KTotal Subm