C++ 题解,初始程序就是答案! 摘要:#include<iostream> using namespace std; int main() { int a,b; while (cin >> a >> b) { …… 题解列表 2022年07月09日 0 点赞 0 评论 170 浏览 评分:0.0
笑死,根本没动,他给的格式就是题解 摘要:解题思路:没有注意事项:没有(别自己乱写,直接用他给的格式参考代码:#include <stdio.h>int main(){ int a,b; while(~scanf("%d%d", …… 题解列表 2022年07月09日 0 点赞 0 评论 491 浏览 评分:9.9
1000: [竞赛入门]简单的a+b 摘要: #include int main() { int a,b; //定义两个变量a,b while(~scanf("%d%d",&a,&b)) //非零则继续循环~…… 题解列表 2022年07月08日 0 点赞 0 评论 243 浏览 评分:9.9
while 连续输入值(简单的a+b) 摘要:解题思路:使用while 语句输入的小技巧注意事项:注意连续输入参考代码:#include<stdio.h>int main(){ int a,b,t; while(scanf("%d %…… 题解列表 2022年07月07日 0 点赞 0 评论 374 浏览 评分:9.9
简单的a+b(C++代码) 摘要:解题思路:首先设置两个加数,再输入,然后算出答案输出注意事项:注意是多组数据提交,要用上while循环,查看是否输入参考代码:#include<iostream>using namespace std…… 题解列表 2022年06月19日 0 点赞 1 评论 453 浏览 评分:9.9
简单的a+b (Java代码) 摘要:import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; impo…… 题解列表 2022年05月28日 1 点赞 0 评论 783 浏览 评分:9.9
1000: [竞赛入门]简单的a+b(c++) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a,b; cin>>a>>b; while(ci…… 题解列表 2022年05月23日 0 点赞 0 评论 130 浏览 评分:6.0
简单的a+b题解 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a,b; while(cin>>a>>b) …… 题解列表 2022年05月15日 0 点赞 0 评论 912 浏览 评分:9.9
[竞赛入门]简单的a+b 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;long long a,b;int main(){ while(cin>>a>…… 题解列表 2022年05月09日 0 点赞 0 评论 133 浏览 评分:0.0
编写题解 1000: [竞赛入门]简单的a+b 摘要:#include<stdio.h>int main(){ int a,b; while(~scanf("%d%d", &a, &b))printf("%d\n",a+b); retu…… 题解列表 2022年05月07日 0 点赞 0 评论 168 浏览 评分:0.0