swjtuOJ——1000 A+B Problem

最简单的题,没有之一,为了熟悉Submit的操作。

Pascal代码:

Var
    a.b                                :longint;
begin
    readln(a.b);
    writeln(a + b);
end.

  

时间: 2024-08-09 22:00:53

swjtuOJ——1000 A+B Problem的相关文章

1000: A+B Problem(NetWork Flow)

1000: A+B Problem Time Limit: 1 Sec  Memory Limit: 5 MBSubmit: 11814  Solved: 7318[Submit][Status][Discuss] Description Calculate a+b Input Two integer a,b (0<=a,b<=10) Output Output a+b Sample Input 1 2 Sample Output 3 HINT Q: Where are the input a

HDU 1000 A + B Problem(指针版)

A + B Problem Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 654986    Accepted Submission(s): 204210 Problem Description Calculate A + B. Input Each line will contain two integers A and B. Pr

HDU 1000 A + B Problem

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 A + B in one line. Sample Input 1 1 Sample Output 2 题意:输入A,B输出A+B #include <stdio.h> int main() { int a,b; w

HDU 1000 A+B Problem C/C++

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 A + B in one line. Sample Input 1 1 Sample Output 2 Author HDOJ C++: 1 int main() { 2 3 int a, b; 4 5 while (

水题/hdu 1000 A + B problem

题意 输入a,b,输出a+b: 分析 注意多case Accepted Code 1 /* 2 PROBLEM:hdu1000 3 AUTHER:NicoleLam 4 MEMO:水题 5 */ 6 7 #include<cstdio> 8 int main() 9 { 10 int a,b; 11 while (scanf("%d%d",&a,&b)!=EOF) printf("%d\n",a+b); 12 return 0; 13 }

bzoj 1000: A+B Problem

刚学编程就会的题,如果你有闲情逸致可以用网络流打 1 #include<cstdio> 2 #include<iostream> 3 int main() 4 { 5 int a,b; 6 scanf("%d%d",&a,&b); 7 printf("%d",a+b); 8 return 0; 9 }

HDUOJ 1000 A + B Problem

1 #include <iostream> 2 3 using namespace std; 4 5 int main() 6 { 7 long long a, b; 8 while(cin >> a >> b) 9 cout << a + b << endl; 10 return 0; 11 }

URAL 1000 A+B Problem

Ural使用java7 只能用默认包 类名可以不是Main 1 import java.util.Scanner; 2   3 public class P1000 4 { 5     public static void main(String[] args) 6     { 7         try (Scanner cin = new Scanner(System.in)) 8         { 9             System.out.println(cin.nextInt(

[1000]A + B Problem (1)

1000: A+B Problem(1) Time Limit: 10 Sec  Memory Limit: 125 MBSubmit: 745  Solved: 307 Description Your task is to Calculate a + b. Input The input will consist of a series of pairs of integers a and b, separated by a space, one pair of integers per l