当前位置:网站首页>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;
}边栏推荐
- go语言编程规范梳理总结
- Explanation report of the explosion
- 百亿按摩仪蓝海,难出巨头
- Ionic Cordova project modification plug-in
- 基于OpenHarmony的智能金属探测器
- JMeter performance test: serveragent resource monitoring
- 做研究无人咨询、与学生不交心,UNC助理教授两年教职挣扎史
- Summary of the third class
- Appium automation test foundation - appium basic operation API (II)
- OSI 七层模型
猜你喜欢

Bugku's Ah Da

Creation and optimization of MySQL index

数据库学习——数据库安全性

"Sequelae" of the withdrawal of community group purchase from the city

Reasons and solutions for redis cache penetration and cache avalanche

Appium自动化测试基础 — APPium基础操作API(二)

Bugku's Ping

Advanced level of static and extern

sql server学习笔记

1330:【例8.3】最少步数
随机推荐
Install PHP extension spoole
六种常用事务解决方案,你方唱罢,我登场(没有最好只有更好)
Bugku's Ping
P6183 [USACO10MAR] The Rock Game S
Calculate weight and comprehensive score by R entropy weight method
Cartoon: what are the attributes of a good programmer?
wyt 。。
MySQL表字段调整
[JVM] operation instruction
可转债打新在哪里操作开户是更安全可靠的呢
Advanced level of static and extern
The difference between abstract classes and interfaces in PHP (PHP interview theory question)
市值蒸发超百亿美元,“全球IoT云平台第一股”赴港求生
lv_ font_ Conv offline conversion
How can I quickly check whether there is an error after FreeSurfer runs Recon all—— Core command tail redirection
R 熵权法计算权重及综合得分
Ctfshow web entry information collection
Summary of the second lesson
Ctfshow web entry command execution
CSRF, XSS science popularization and defense