当前位置:网站首页>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; }
边栏推荐
- Can I pass the PMP Exam in 20 days?
- Severlet learning foundation
- Aike AI frontier promotion (7.5)
- Appium自动化测试基础 — APPium基础操作API(二)
- Bugku's Eval
- Appium automation test foundation - appium basic operation API (II)
- "Sequelae" of the withdrawal of community group purchase from the city
- 六种常用事务解决方案,你方唱罢,我登场(没有最好只有更好)
- Appium自动化测试基础 — APPium基础操作API(一)
- RepLKNet:不是大卷积不好,而是卷积不够大,31x31卷积了解一下 | CVPR 2022
猜你喜欢
Usage and usage instructions of JDBC connection pool
ionic cordova项目修改插件
B站做短视频,学抖音死,学YouTube生?
[JVM] operation instruction
Live broadcast preview | how to implement Devops with automatic tools (welfare at the end of the article)
P1451 求细胞数量/1329:【例8.2】细胞
力扣今日题-729. 我的日程安排表 I
1330:【例8.3】最少步数
Summary of the third class
lv_ font_ Conv offline conversion
随机推荐
CSRF, XSS science popularization and defense
Temporary cramming before DFS examination
Appium automation test foundation - appium basic operation API (II)
I spring and autumn blasting-1
go语言编程规范梳理总结
超越PaLM!北大碩士提出DiVeRSe,全面刷新NLP推理排行榜
数据库学习——数据库安全性
CSDN I'm coming
Optional parameters in the for loop
Thymeleaf uses background custom tool classes to process text
Surpass palm! Peking University Master proposed diverse to comprehensively refresh the NLP reasoning ranking
How can I quickly check whether there is an error after FreeSurfer runs Recon all—— Core command tail redirection
Brief introduction of machine learning framework
Magic methods and usage in PHP (PHP interview theory questions)
Calculate weight and comprehensive score by R entropy weight method
I spring and autumn blasting-2
Lesson 4 knowledge summary
JS knowledge points-01
Nine hours, nine people, nine doors problem solving Report
记录一下树莓派搭建环境中遇到的坑。。。