问题:A + B问题 描述:http://acm.wust.edu.cn/problem.php?id=1000&soj=0 代码示例: import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int a, b; while(scan.hasNext()){ a = scan.nextInt(); b…
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.…
problem:https://www.lydsy.com/JudgeOnline/problem.php?id=1000 This is my first code under Emacs! #include<iostream> #include<cstdio> #include<cstring> using namespace std; int a,b; int main() { scanf("%d%d",&a,&b); prin…
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 Your program shall always read input from stdin (Standard Input) and write output to stdout (Standard Output). For example, you can…