当前位置:网站首页>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;
}
边栏推荐
- COM and cn
- 【CodeForces】CF1338A - Powered Addition【二进制】
- Unrecognized SSL message, plaintext connection?
- 簡單理解svg
- 线程安全的单例模式
- Thread safe singleton mode
- awk从入门到入土(0)awk概述
- Mathematical statistics -- Sampling and sampling distribution
- [fluent] listview list (map method description of list set | vertical list | horizontal list | code example)
- Restcloud ETL cross database data aggregation operation
猜你喜欢
Awk from introduction to earth (0) overview of awk
[Hcia]No.15 Vlan间通信
通达OA 首页门户工作台
Build a private cloud disk cloudrev
How to change the panet layer in yolov5 to bifpn
"Analysis of 43 cases of MATLAB neural network": Chapter 43 efficient programming skills of neural network -- Discussion Based on the characteristics of the new version of MATLAB r2012b
内存池(内核角度理解new开辟空间的过程)
[Flutter] dart: class; abstract class; factory; Class, abstract class, factory constructor
xiaodi-笔记
easyPOI
随机推荐
Apple releases MacOS 11.6.4 update: mainly security fixes
The data in servlet is transferred to JSP page, and the problem cannot be displayed using El expression ${}
Simple understanding of SVG
【教程】chrome关闭跨域策略cors、samesite,跨域带上cookie
Gbase 8C system table PG_ am
[tutorial] chrome turns off cross domain policies CORS and samesite, and brings cookies across domains
GBase 8c系统表-pg_attribute
GBase 8c系统表-pg_auth_members
Startup mode and scope builder of collaboration in kotlin
Gbase 8C system table PG_ class
The Sandbox阐释对元宇宙平台的愿景
Oauth2.0 authentication, login and access "/oauth/token", how to get the value of request header authorization (basictoken)???
My creation anniversary
random shuffle注意
Gbase 8C function / stored procedure definition
Tongda OA homepage portal workbench
Leetcode (540) -- a single element in an ordered array
[Hcia]No.15 Vlan间通信
Restcloud ETL cross database data aggregation operation
面试八股文整理版