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

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

筛选

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

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

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

摘要:解题思路:最开始看这个题,要想到嵌套循环,然后最开始我错了是因为sum=0没打进去,第二个变成25就是把第一个数值也加进去注意事项:参考代码:#include<iostream>using names……

A+B for Input-Output Practice (V)

摘要:解题思路:两层for循环,用数组存储相加所需数字注意事项:参考代码:#include<iostream>using namespace std;int main(){ int row, n;//row……