Online Judge——1000.A+B Problem(c++)
Description
作為所有 Online Judge 的傳統題目,你只需讀兩個整數,輸出即可,保證輸入的數絕對值不超過1000。
Input Format
一行,兩個空格隔開的整數A,B。
Output Format
一個數A+B。
Sample Input
3 2
Sample Output
5
程式碼:
#include <iostream>
using namespace std;
int main()
{
int a, b;
while(cin >> a >> b)
cout << a + b << endl;
return 0;
}
相關文章
- 帶你快速搭建自己的Online Judge平臺
- 小米 Online Judge 19年2月常規賽題解
- Aizu Online Judge Introduction to Programming I C語言實現 ITP1 Topic # 1AIC語言
- The 2024 ICPC Asia EC Regionals Online Contest (II) - Problem H. Points Selection
- The 2024 ICPC Asia EC Regionals Online Contest (II) - Problem B. Mountain BookingAI
- Sum Problem
- Mathematical Problem
- Online Book Repository
- create index .. onlineIndex
- Prime Ring Problem
- 2019 MCM Problem A
- Yet Another Problem
- Nanami and the Constructive ProblemNaNStruct
- Exchange Online Mailbox RestorationAIREST
- Office Online Server概述Server
- [BUUCTF 2018]Online Tool
- Online Shopping App RequirementsAPPUIREM
- The 2024 CCPC Online Contest
- Fixed "There was a problem with the editor 'vi'"
- Prime Ring Problem (dfs)
- HDU - 6182 A Math Problem
- Problem A. Ascending Rating
- E. Not a Nim Problem
- Nanami and the House Protecting ProblemNaN
- Waiting for target device to come onlineAIdev
- [LeetCode] 911. Online ElectionLeetCode
- MySQL Online DDL詳解MySql
- DROP AND RECREATE ONLINE REDOLOG FILES
- The online basketball universe is being redesigned
- P1865 A % B Problem
- A + B Problem II hd 1002
- Follow/Unfollow problem in system design
- Euclid Problem - PC110703
- HDU 1002 A + B Problem II
- HDU 1792 A New Change Problem
- Joe Harris is a real problem with this team
- Assignment Problem的若干思考
- POJ 2355 Railway Ticket problemAI