首页
DreamJudge
院校信息
专业题库
模拟考试
机试真题
上岸课程
兑换中心
登录
注册
上岸
以下题解仅供学习参考使用。
抄袭、复制题解,以达到刷AC率/AC数量或其他目的的行为,在N诺是严格禁止的。
N诺非常重视学术诚信。此类行为将会导致您成为作弊者。具体细则请查看N诺社区规则。
Gigi2333
2023年4月30日 22:56
A+B问题 题解:来一个java解法
P1000
回复 0
|
赞 4
|
浏览 2.1k
import java.util.Scanner; public class Main{ public static void main(String[] args) { int A,B; Scanner sc = new Scanner(System.in); A=sc.nextInt(); B=sc.nextInt(); System.out.println(A+B); } }
huangdashuaige
2023年2月15日 21:23
P1000题解
P1000
回复 0
|
赞 0
|
浏览 3.8k
#include <iostream> using namespace std; int main() { int a,b; //定义a,b量 cin>>a>>b; //进行变量输入 cout<<a+b; //a、b相加并向外输出 return 0; }
月溅星河
2022年5月14日 11:09
[题解]A+B问题
P1000
回复 0
|
赞 2
|
浏览 8.1k
#include<bits/stdc++.h>//万能头文件 using namespace std; int main() { int a,b; cin >> a >> b; cout << a + b; return 0; } 按题意输入输出即可
Luoshu
2022年1月22日 15:06
A+B c++
P1000
回复 0
|
赞 1
|
浏览 6.3k
#include //#include int main(){ int A,B,C; scanf("%d",&A); scanf("%d",&B); printf("%d\n",A+B); // system("pause"); return 0; } 加了//#include  ...
未央
2021年6月7日 13:54
1000
P1000
回复 0
|
赞 2
|
浏览 8.6k
#include<stdio.h> int main(){ int a,b; scanf("%d %d",&a, &b); printf("%d\n",a+b); return 0; }
MirrorMan18
2021年4月22日 21:49
[1000]C++
P1000
回复 0
|
赞 2
|
浏览 8.5k
#include<iostream> using namespace std; int main(){ int a,b; cin>>a>>b; cout<<a+b; return 0; }
vf19
2021年1月5日 20:43
c
P1000
回复 0
|
赞 2
|
浏览 9.2k
#include <stdio.h> int main() { int a; int b; scanf("%d",&a); scanf("%d",&b); printf("%d",a+b); return 0; }
admin
2019年11月23日 01:18
发布一个python解法
P1000
回复 0
|
赞 6
|
浏览 12.5k
while True: try: a, b = map(int, input().split()) c = a+b print(c) except: break 仅供大家参考
544065797
2020年2月27日 11:45
C
P1000
回复 1
|
赞 1
|
浏览 13.4k
#include "stdio.h" int main(){ int a,b; scanf("%d %d ",&a,&b); printf("%d",a+b); return 0; }
kakaxiiii
2020年3月7日 14:00
[1000]C++
P1000
回复 0
|
赞 1
|
浏览 11.4k
#include<iostream> using namespace std; int main(){ int a,b; cin>>a; cin>>b; cout<<a+b<<endl; return 0; &...
1
2
题目
A+B问题
题解数量
20
发布题解
在线答疑
热门题解
1
A+B问题 题解:C
2
A+B问题 题解:c++
3
A+B问题 题解:
4
A+B问题 题解:
5
C++
6
发布一个python解法
7
A+B问题 题解:int范围为1e9,long long范围为1e18,不会爆
8
A+B问题 题解:
9
A+B问题 (看数据范围不会爆longlong)题解:
10
A+Bproblem (c++)<----抓换的思想