FQA (Frequently Asked Questions) 1. What's SOJ? SOJ means Small Online Judge. 2. What's Online Judge? Find the most accurate defination at wikipedia. 3. What's A+B problem? A+B problem is a very simple problem, simply read pairs of two integer number and output a sum for each pair. A+B problem is generally used to guide you to become familiar with a online judge system. 4. Could you give me a sample code for A+B problem? For C++ Language:#include <iostream> using namespace std; int main() { int a, b; while (cin >> a >> b) { cout << a + b << endl; } return 0; }For C language:#include <stdio.h> int main(void) { int a, b; while (scanf("%d%d", &a, &b) != EOF) { printf("%d", a + b); } return 0; }For Java language:import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); while (in.hasNext()) { int a = in.nextInt(); int b = in.nextInt(); System.out.println(a + b); } } }For Pascal language:program p1001(Input,Output); var a,b:Integer; begin while not eof(Input) do begin Readln(a, b); Writeln(a + b); end; end.