题目 1086: A+B for Input-Output Practice (II) 摘要:解题思路:注意事项:参考代码:#includeint main(){ int n,i; scanf("%d",&n); int a[n],b[n]; for(i=1;i<=n;…… 题解列表 2022年03月26日 0 点赞 0 评论 392 浏览 评分:9.9
A+B for Input-Output Practice (II) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main(){ int n,m,i,j; int a[100]; scanf("%d",&n); for(m…… 题解列表 2021年10月14日 0 点赞 0 评论 552 浏览 评分:9.9
一个循环解决 摘要:Scanner scanner=new Scanner(System.in); int n=scanner.nextInt(); for (int i = 1; i <=n; i++) { …… 题解列表 2024年03月26日 0 点赞 0 评论 377 浏览 评分:9.9
编写题解 1086: A+B for Input-Output Practice (II) 不用数组简单无脑 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,n; scanf("%d",&n); for(int i=n-1;i>=0;i--) { …… 题解列表 2021年11月08日 0 点赞 2 评论 709 浏览 评分:9.9
「优质题解」简单! 1086题-A+B for Input-Output Practice (II)-题解(C++代码) 摘要:```cpp #include using namespace std; int main() { int a,b,n,i; cin>>n; for(i=0;i>…… 题解列表 2020年03月04日 0 点赞 5 评论 1284 浏览 评分:9.5
1086: A+B for Input-Output Practice (II) 摘要:解题思路:先输入有几个,再输入一项然后输出一项注意事项:输出有换行参考代码:#include<iostream> using namespace std; int main() { int …… 题解列表 2022年05月21日 0 点赞 0 评论 290 浏览 评分:9.3
A+B for Input-Output Practice (II)-题解(C语言代码) 摘要:#include <stdio.h> int main() { int n, a, b; scanf("%d", &n); while( n-- ){ scanf( "%d%d"…… 题解列表 2021年12月28日 0 点赞 0 评论 298 浏览 评分:9.3
1086: A+B for Input-Output Practice (II) 摘要:题目要求:第一行整数表示输入整数a和b的数量。您的任务是计算a+b解题思路:通过二维数组保存数据,利用循环求和参考代码:#include<stdio.h>int main(){ int a[2]…… 题解列表 2022年04月06日 0 点赞 0 评论 518 浏览 评分:9.0
A+B for Input-Output Practice (II)-题解(C语言代码) 摘要: #include int main() { int n,i=0,a,b; scanf("%d",&n); while(…… 题解列表 2019年11月25日 0 点赞 1 评论 1105 浏览 评分:8.8
Manchester- A+B for Input-Output Practice (II) 摘要:解题思路:以要输入的次数n结束;输入一对整数,输出它们的和;注意事项:参考代码:#include<stdio.h> int main() { int a,b,n; scanf("%d"…… 题解列表 2017年11月24日 20 点赞 0 评论 1489 浏览 评分:8.0