当前位置:网站首页>Informatics Olympiad one general question bank 1006 a+b questions
Informatics Olympiad one general question bank 1006 a+b questions
2022-07-03 02:31:00 【Python's path to immortality】
【 Title Description 】
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 .
【 sample input 】
1 2
【 sample output 】
3
[ Reference code ]
#include<bits/stdc++.h>
using namespace std;
int main(){
int a,b;
cin>>a>>b;
cout<<a+b<<endl;
return 0;
}
边栏推荐
- Gbase 8C system table PG_ collation
- Servlet中数据传到JSP页面使用el表达式${}无法显示问题
- Unrecognized SSL message, plaintext connection?
- Startup mode and scope builder of collaboration in kotlin
- Return a tree structure data
- Summary of interview project technology stack
- Leetcode (540) -- a single element in an ordered array
- 搭建私有云盘 cloudreve
- 错误Invalid bound statement (not found): com.ruoyi.stock.mapper.StockDetailMapper.xxxx解决
- 【教程】chrome关闭跨域策略cors、samesite,跨域带上cookie
猜你喜欢
Detailed analysis of micro service component sentinel (hystrix)
[fluent] listview list (map method description of list set | vertical list | horizontal list | code example)
【翻译】具有集中控制平面的现代应用负载平衡
微服务组件Sentinel (Hystrix)详细分析
【翻译】后台项目加入了CNCF孵化器
[advanced ROS] Lesson 6 recording and playback in ROS (rosbag)
random shuffle注意
内存池(内核角度理解new开辟空间的过程)
Error invalid bound statement (not found): com ruoyi. stock. mapper. StockDetailMapper. XXXX solution
通达OA 首页门户工作台
随机推荐
require. context
[translation] the background project has joined the CNCF incubator
通达OA 首页门户工作台
Gbase 8C system table PG_ amproc
Y54. Chapter III kubernetes from introduction to mastery -- ingress (27)
awk从入门到入土(1)awk初次会面
Gbase 8C system table PG_ collation
The sandbox explains its vision for the meta universe platform
Restcloud ETL cross database data aggregation operation
Why choose a frame? What frame to choose
Detailed analysis of micro service component sentinel (hystrix)
HTB-Devel
GBase 8c系统表-pg_collation
Gbase 8C system table PG_ class
Gbase 8C trigger (II)
[hcia]no.15 communication between VLANs
Simple understanding of SVG
Principle and application of database
The use of Flink CDC mongodb and the implementation of Flink SQL parsing complex nested JSON data in monggo
random shuffle注意