题解 1085: A+B for Input-Output Practice (I)

来看看其他人写的题解吧!要先自己动手做才会有提高哦! 
返回题目 | 我来写题解

筛选

C++简便易懂

摘要:# 其实这题直接点提交就行了 ``` #include using namespace std; int main() { int a,b; while(cin>>a>>……

A+B for Input-Output Practice (I)

摘要:解题思路:EOF表示为文件结束符注意事项:参考代码:#include<stdio.h>int main(){    int a,b;    while (scanf("%d %d",&a,&b)!=E……

A+B for Input-Output Practice (I) 题解

摘要:解题思路:不就是加法嘛!弄了个英文就不会了?注意事项:无。参考代码:#include<bits/stdc++.h>using namespace std;int a,b;int main(){    ……

1085: A+B for Input-Output Practice (I)

摘要:题目要求:输入将由一系列整数对a和b组成,用空格分隔,每行一对整数。对于每对输入整数a和b,您应该在一行中输出a和b的总和,并且在输入中每行输出一行。解题思路:对多组数据进行求和参考代码:#inclu……