当前位置:网站首页>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; }
边栏推荐
- I spring and autumn blasting-2
- String modification problem solving Report
- Array sorting num ranking merge in ascending order
- CSRF, XSS science popularization and defense
- Basic JSON operations of MySQL 5.7
- 12 MySQL interview questions that you must chew through to enter Alibaba
- Bugku's Ah Da
- Usage and usage instructions of JDBC connection pool
- Reasons and solutions for redis cache penetration and cache avalanche
- Appium automation test foundation - appium basic operation API (I)
猜你喜欢
DVWA range clearance tutorial
How can I quickly check whether there is an error after FreeSurfer runs Recon all—— Core command tail redirection
I spring web upload
数据库学习——数据库安全性
Usage and usage instructions of JDBC connection pool
超越PaLM!北大碩士提出DiVeRSe,全面刷新NLP推理排行榜
Crud de MySQL
Detailed explanation of C language branch statements
Detailed explanation of QT creator breakpoint debugger
社区团购撤城“后遗症”
随机推荐
Coding devsecops helps financial enterprises run out of digital acceleration
记录一下树莓派搭建环境中遇到的坑。。。
sql server学习笔记
What are the domestic formal futures company platforms in 2022? How about founder metaphase? Is it safe and reliable?
sql server char nchar varchar和nvarchar的区别
Bugku telnet
Redis' transaction mechanism
Anti shake and throttling
MySQL之CRUD
Bugku's eyes are not real
Common redis data types and application scenarios
Dark horse programmer - software testing -10 stage 2-linux and database -44-57 why learn database, description of database classification relational database, description of Navicat operation data, de
市值蒸发超百亿美元,“全球IoT云平台第一股”赴港求生
Temporary cramming before DFS examination
CODING DevSecOps 助力金融企业跑出数字加速度
wxml2canvas
做研究无人咨询、与学生不交心,UNC助理教授两年教职挣扎史
mapper. Comments in XML files
Cartoon: programmers don't repair computers!
qt creater断点调试程序详解