编写题解 1000: [竞赛入门]简单的a+b 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int A,B,c; c=pow(2,10); while(~scanf("%d…… 题解列表 2022年11月21日 0 点赞 0 评论 167 浏览 评分:0.0
编写题解 1000: [竞赛入门]简单的a+b 摘要:解题思路:参考提示代码注意事项:参考代码:#include<stdio.h> int main() { int a,b; while(~scanf("%d%d", &a, &b…… 题解列表 2022年11月14日 0 点赞 0 评论 155 浏览 评分:0.0
简单的a+b【C++代码题解】 摘要:解题思路: 计算两个数的加法和,先定义变量。。。。注意事项:参考代码:```C++#include <iostream```…… 题解列表 2022年10月15日 0 点赞 1 评论 273 浏览 评分:9.9
简单的 a + b 摘要: #include using namespace std; int main() { int a, b; while (cin >…… 题解列表 2022年10月06日 0 点赞 0 评论 239 浏览 评分:9.9
简单的a+b 十分简单 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a,b; while(cin>>a>>b){ cout<<a…… 题解列表 2022年09月30日 0 点赞 0 评论 420 浏览 评分:9.9
"简单的a+b"题解 摘要:解题思路:无注意事项:此题是求多组数据,可用while(cin>>a>>b)来输入每一组数据;为了格式,所以得在输出后加上\n转义字符或endl来换行参考代码:#include<iostream>us…… 题解列表 2022年09月11日 0 点赞 0 评论 192 浏览 评分:0.0
简单的a+b 题解 摘要:解题思路:输入ab,输出a+b注意事项:参考代码:#include<iostream> using namespace std; int ma…… 题解列表 2022年08月12日 0 点赞 0 评论 217 浏览 评分:0.0
简单的a+b(Python代码) 摘要:解题思路:while实现多组数据输入测试,用map函数实现输入,print语句输出注意事项:参考代码:while True: try: a,b=map(int,input().st…… 题解列表 2022年07月27日 0 点赞 1 评论 2773 浏览 评分:8.0
简单的a+b(java代码) 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main{ public static void main(String[] args){ …… 题解列表 2022年07月27日 0 点赞 0 评论 1236 浏览 评分:9.9
简单的a+b(c++代码) 摘要:解题思路:注意事项:参考代码:解法一:#include <cstdio> int main(){ int a,b; while(scanf("%d%d",&a,&b)!=EOF)//也可以写成whil…… 题解列表 2022年07月27日 0 点赞 0 评论 580 浏览 评分:7.3