题解 1089: A+B for Input-Output Practice (V)

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

筛选

一个简单的方法

摘要:解题思路:注意事项:参考代码:#include <stdio.h> int main(){    int n;    scanf("%d",&n);     while(n>0)    {      ……

A+B for Input-Output Practice (V)

摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a, b,c,sum=0; cin >> c; while (……