题解 1086: A+B for Input-Output Practice (II)

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

筛选

1086: A+B for Input-Output Practice (II)

摘要:解题思路:注意事项:scanf输入注意事项:            对于两个scanf ,第一个scanf输入数字完要回车才能进入到下一个scanf的数字输入。                    ……

数组加for循环

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){    int n,i,k=0;    int a,b,c[100];    scanf("%d",&n);   ……

A+B for Input-Output Practice (II)

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