A+B from beiqiao(C++) 摘要:#include<iostream> using namespace std; int main() { int a,b; while(cin>>a>>b) //编译器…… 题解列表 2022年01月23日 0 点赞 0 评论 166 浏览 评分:0.0
。。。最快。。。提交时的原代码直接提交。。 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { 见提交时的原代码。 return 0; }…… 题解列表 2019年02月08日 1 点赞 0 评论 908 浏览 评分:0.0
A+B for Input-Output Practice (I)-题解(C语言代码) 摘要: ```c #include int main() { int number[4] = { 0 }; int sum[2] = { 0 }; for (int i = 0;…… 题解列表 2020年03月22日 0 点赞 0 评论 442 浏览 评分:0.0
1085: A+B for Input-Output Practice (I) 摘要:无脑打印,没啥可说的。#include<bits/stdc++.h> using namespace std; int main(){ int a,b; while(ci…… 题解列表 2021年12月15日 0 点赞 0 评论 171 浏览 评分:0.0
A+B for Input-Output Practice (I)-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <math.h>int main (){ int a,b; while((scanf("%d%d",&a,&b))!…… 题解列表 2020年09月10日 0 点赞 0 评论 298 浏览 评分:0.0
A+B for Input-Output Practice (I)-题解(C++代码) 摘要:解题思路: 为避免题目可能的一些坑(比如输入数字大于int表示的范围),特地使用了long long int注意事项: #define 语句 可以 将代码中 LL 换成 l…… 题解列表 2020年09月10日 0 点赞 0 评论 605 浏览 评分:0.0
A+B for Input-Output Practice (I)-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>int main(){ int a,b,c,d; int sum; scanf("%d%d",&…… 题解列表 2020年09月14日 0 点赞 0 评论 289 浏览 评分:0.0
A+B for Input-Output Practice (I)-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int a,b; while(~scanf("%d%d", &a, &b))prin…… 题解列表 2021年01月30日 0 点赞 0 评论 217 浏览 评分:0.0
1085: A+B for Input-Output Practice (I) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int a,b; while(scanf("%d%d",&a,&b)==2) printf("%d\n",a…… 题解列表 2021年03月01日 0 点赞 0 评论 294 浏览 评分:0.0
题目 1085: A+B for Input-Output Practice (I)(C语言) 摘要:解题思路:还是多组数据进行测试a+b。我们可以通过循环来处理这个问题,我开始考虑的是用while=1进行循环处理,但输出超限 。所以我们反过来想让while中输入的不等于负数就解决了问题。注意事项:输…… 题解列表 2021年05月23日 0 点赞 0 评论 238 浏览 评分:0.0