[POJ][1000]A+B Problem
Description
Calculate a+bInput
Two integer a,b (0<=a,b<=10)Output
Output a+bSample Input
1 2
Sample Output
3
這道題非常簡單,直接給出原始碼
#include<iostream>
using namespace std;
int main()
{
int a,b;
cin>>a>>b;
cout<<a+b<<endl;
return 0;
}
相關推薦
[POJ][1000]A+B Problem
Description Calculate a+b Input Two integer a,b (0<=a,b<=10) Output Output a+b Sample Input 1 2 Sample Output 3 這道題非常簡單,直接給出原始
hdu 1000 A + B Problem
esc urn rip end ostream accep others cstring line A + B Problem Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Ja
HDU-1000 A + B Problem
amp ostream case ace sam script pre code blog 題目 Problem Description Calculate A + B. Input Each line will contain two integers A and
SJTUOJ 1000. A+B Problem
起因 最近發現了交大的OlineJudge,遂決定做做題目陶冶一下情操。 題目描述 Description 作為所有 Online Judge 的傳統題目,你只需讀兩個整數,輸出即可,保證輸入的數絕對值不超過1000。 Input Format 一行,兩個空格隔開的整數A,B
HDU-1000——A+B problem
A+B problem Calculate A + B. Input Each line will contain two integers A and B. Process to end of file. Output For eac
hdu刷題之路——hdu 1000 A + B Problem
hdu刷題之路 hdu 1000 A + B Problem (水題入門) Problem Description Calculate A + B. Input Each line will contain two integers A and B. Process to end
HDU-1000-A + B Problem
今天決定gang HDU 用java語言從最簡單的開始吧 import java.util.*; public class Main { public static void main(Str
A + B Problem HDU - 1000(語法練習題)
Calculate A + B. Input Each line will contain two integers A and B. Process to end of file. Output For each case, output
A + B Problem HDU - 1000
Text Reverse Time limit 1000 ms Memory limit 32768 kB OS Windows Problem Description Calculate A + B. Input Each line will contain two integer
A + B Problem 【HDU - 1000】
A + B Problem 【HDU - 1000】 題目 Calculate A + B. Time limit Memory limit OS Source
A + B Problem HDU - 1000(水題)
Problem Description: Calculate A + B. Input:Each line will contain two integers A and B. Process to end of file. Output:For each case, output
P1865 A % B Problem
code 輸入輸出 說明 tin else 描述 sca ++ return 題目背景 題目名稱是吸引你點進來的 實際上該題還是很水的 題目描述 區間質數個數 輸入輸出格式 輸入格式: 一行兩個整數 詢問次數n,範圍m 接下來n行,每行兩個整數 l,r
【數論線性篩】洛谷P1865 A%B problem
continue 個數 區間 str 輸出 數據 兩個 裸題 n) 題目背景 題目名稱是吸引你點進來的 實際上該題還是很水的 題目描述 區間質數個數 輸入輸出格式 輸入格式: 一行兩個整數 詢問次數n,範圍m 接下來n行,每行兩個整數 l,r 表示區間 輸出格式:
P1303 A*B Problem
cst clu ont tdi cnblogs ring b- max can 題目描述 求兩數的積。 輸入輸出格式 輸入格式: 兩個數 輸出格式: 積 輸入輸出樣例 輸入樣例#1: 1 2
HDOJ1002-A + B Problem II(高精加)
change test case logs names div lar struct () har Problem Description I have a very simple problem for you. Given two integers A and B,
poj 3468 A Simple Problem with Integers
arch fin uil range swe next char () limit A Simple Problem with Integers Time Limit: 5000MS Memory Limit: 131072K Total
HDU 1402 A * B Problem Plus FFT
contain linker pri span stack pragma mod exce problem A * B Problem Plus Problem Description Calculate A * B. Input Each line
loj6157 A^B Problem (並查集)
所有 是否 一個點 ron blank problem 異或 loj 遍歷 題目: https://loj.ac/problem/6157 分析: 這種樹上異或,一般是采用分位考慮,但是這題即使分位,也會發現非常不好處理 這裏考慮維護一個點到其根的路徑的異或值 用
HPU 1002 A + B Problem II【大數】
lar 保存 memory positive test size mod ack auth A + B Problem II Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/327
poj 3468 A Simple Problem with Integers(原來是一道簡單的線段樹區間修改用來練練splay)
long 兩個 可能 style push ios stream 區間 pan 題目鏈接:http://poj.org/problem?id=3468 題解:splay功能比線段樹強大當然代價就是有些操作比線段樹慢,這題用splay實現的比線段樹慢上一倍。線段樹用l