A+B for Input-Output Practice (III) 摘要:#include<stdio.h>int main()//scanf()函数的返回值{ int a,b; while ((scanf("%d%d", &a, &b))&&(a!=0||b!=0))…… 题解列表 2023年11月06日 0 点赞 0 评论 486 浏览 评分:0.0
1087两数加和求解 摘要:解题思路:用for语句循环,break跳出循环注意事项:注意for循环的循环截止条件参考代码:#include<iostream>using namespace std;int main(){ …… 题解列表 2023年10月24日 0 点赞 0 评论 325 浏览 评分:9.9
A+B for Input-Output Practice (III)C语言 摘要:#include<stdio.h> int main() { int a, b; while (scanf("%d%d", &a, &b)!=EOF) { if (a == 0…… 题解列表 2023年06月05日 0 点赞 0 评论 261 浏览 评分:0.0
LikeWater - 1087: A+B for Input-Output Practice (III) 摘要:```cpp #include #include using namespace std; // 编写一个程序,输入a、b、c三个值,输出其中最大值。 int main() { …… 题解列表 2023年02月27日 0 点赞 1 评论 303 浏览 评分:9.9
新手解题:1087丨使用do while循环 摘要:解题思路:注意事项:参考代码:#includeusing namespace std;int main(){ int a, b; cin >> a >> b; do{ …… 题解列表 2023年02月03日 0 点赞 0 评论 457 浏览 评分:9.9
编写题解 1087: A+B for Input-Output Practice (III) 摘要:解题思路:注意事项:参考代码:/*输入格式输入包含多个测试用例。每个测试用例包含一对整数 a 和 b,每行一对整数。包含 0 0 的测试用例将终止输入,并且不会处理此测试用例。 输出格式对于每对输入…… 题解列表 2022年12月26日 0 点赞 0 评论 189 浏览 评分:0.0
1087: A+B for Input-Output Practice (III) C语言代码 摘要: #include int main() { int a,b; while(1) { …… 题解列表 2022年11月19日 0 点赞 0 评论 499 浏览 评分:9.9
A+B for Input-Output Practice (III) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b; while(scanf("%d %d",&a,&b)!=EOF) { …… 题解列表 2022年11月02日 0 点赞 0 评论 208 浏览 评分:0.0
A+B for Input-Output Practice (III)(怀氏c++) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a,b; while(1) { …… 题解列表 2022年10月24日 0 点赞 0 评论 546 浏览 评分:9.9
1087: A+B for Input-Output Practice (III) 摘要:```cpp #include using namespace std; int main() { int a,b; while(cin>>a>>b&&(a!=0||b!=…… 题解列表 2022年08月31日 0 点赞 0 评论 689 浏览 评分:9.9