Interactive sum
Execution time limit is 3.5 seconds
Runtime memory usage limit is 4 megabytes
This is a test interactive problem. You have to add two integers times interactively.
Interaction
The first line of inputs contains a single integer (). Each of the following lines contains two integers and (). For each pair, print the sum of and . You will get next query only after you answer the previous one.
Please do not forget to flush the buffer, otherwise you may get Idleness limit exceeded
.
fflush(stdout)
orcout.flush()
in C++;System.out.flush()
in Java;flush(output)
in Pascal;stdout.flush()
in Python;Refer to the documentation in other languages.
Examples
Input #1
Answer #1