[竞赛入门]简单的a+b(C++) 摘要:解题思路:定义a,b,输入各值,输出a+b就可以了注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a,b; …… 题解列表 2024年07月29日 0 点赞 0 评论 240 浏览 评分:0.0
Java简单的a+b 摘要:Scanner sc=new Scanner(System.in); while(sc.hasNext()){ int a=sc.nextInt(); int b=sc.nextInt(); …… 题解列表 2024年08月10日 0 点赞 0 评论 384 浏览 评分:0.0
简单的a+b (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a,b; while(cin>>a>>b)cout…… 题解列表 2024年09月01日 0 点赞 0 评论 447 浏览 评分:0.0
C++[竞赛入门]简单的a+b题解 摘要:题目答案: ```cpp #include using namespace std; int main() { int a,b; while(cin>>a>>b)cout…… 题解列表 2024年11月04日 0 点赞 0 评论 418 浏览 评分:0.0
详细解释,成为高手第一步 摘要:解题思路:注意事项:参考代码:#include <stdio.h> //这是引入标准输入输出库,因为我们要使用 scanf 和 printf 函数。int main() { …… 题解列表 2024年11月19日 5 点赞 0 评论 642 浏览 评分:0.0
编写题解 1000: [竞赛入门]简单的a+b(Java版本) 摘要:```java //第一个程序,开始你的竞赛生涯吧!!!```java public class Main { public static void main(String[] args) { …… 题解列表 2024年12月11日 1 点赞 0 评论 1543 浏览 评分:0.0
C++:类和访问权限 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std ;class sum{…… 题解列表 2025年03月21日 0 点赞 0 评论 418 浏览 评分:0.0
[竞赛入门]简单的a+b 第一题 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h> // 用于exit函数int main() { &nbs…… 题解列表 2025年04月10日 3 点赞 0 评论 1067 浏览 评分:0.0
简单的a+b (C语言代码) 摘要:#include<stdio.h>int main(){ int i,a,b;i=0;scanf("%d,%d",a,b);i=a+b;printf("%d",i);}…… 题解列表 2017年06月20日 0 点赞 0 评论 986 浏览 评分:2.0
简单的a+b (C语言代码) 摘要:#include <stdio.h>int main(void){ int a=0,b=0; while (scanf("%d%d",&a,&b)==2) //判断是否输…… 题解列表 2017年06月25日 0 点赞 0 评论 829 浏览 评分:2.0