当前位置:网站首页>Noi / 1.3 01: a+b problem
Noi / 1.3 01: a+b problem
2022-07-05 15:35:00 【Graylan_】
describe
In most online question banks , Will be A+B Question as the first question , To help novice familiar with the use of the platform .
A+B The title of the problem is described below : Given two integers A and B, Output A+B Value . Guarantee A、B And the results are in the integer range .
Now please solve this problem .
Input
a line , Contains two integers A,B, Separate them with a single space .A and B All within the integer range .
Output
An integer , namely A+B Value . Ensure that the result is within the integer range .
The sample input
1 2
Sample output
3
Source code :
#include <iostream>
using namespace std;
int main()
{
int a,b;
cin>>a>>b;
cout <<a+b<< endl;
return 0;
}边栏推荐
- Definition of episodic and batch
- 一文搞定vscode编写go程序
- F. Min cost string problem solving Report
- The difference between abstract classes and interfaces in PHP (PHP interview theory question)
- P1451 求细胞数量/1329:【例8.2】细胞
- Ctfshow web entry information collection
- qt creater断点调试程序详解
- Bugku alert
- 你童年的快乐,都是被它承包了
- Severlet learning foundation
猜你喜欢

Thymeleaf uses background custom tool classes to process text

Crud de MySQL

I include of spring and Autumn

Garbage collection mechanism of PHP (theoretical questions of PHP interview)

Creation and optimization of MySQL index

B站做短视频,学抖音死,学YouTube生?

DVWA range clearance tutorial

Analytic hierarchy process of mathematical modeling (including Matlab code)

【 note 】 résoudre l'erreur de code IDE golang
![[brief notes] solve the problem of IDE golang code red and error reporting](/img/b6/0b2ea06eb5fbe651ff9247b109fa15.png)
[brief notes] solve the problem of IDE golang code red and error reporting
随机推荐
Ctfshow web entry explosion
Lesson 4 knowledge summary
P1451 求细胞数量/1329:【例8.2】细胞
Redis distributed lock principle and its implementation with PHP (1)
做研究无人咨询、与学生不交心,UNC助理教授两年教职挣扎史
Xiao Sha's arithmetic problem solving Report
What are the domestic formal futures company platforms in 2022? How about founder metaphase? Is it safe and reliable?
Appium自动化测试基础 — APPium基础操作API(一)
JMeter performance test: serveragent resource monitoring
[recruitment position] infrastructure software developer
[brief notes] solve the problem of IDE golang code red and error reporting
PHP high concurrency and large traffic solution (PHP interview theory question)
OSI seven layer model
go语言编程规范梳理总结
Au - delà du PARM! La maîtrise de l'Université de Pékin propose diverse pour actualiser complètement le classement du raisonnement du NLP
MySQL之CRUD
【 note 】 résoudre l'erreur de code IDE golang
OSI 七层模型
Bugku alert
可转债打新在哪里操作开户是更安全可靠的呢