IO Benchmark

View as PDF

Submit solution

Points: 1
Time limit: 1.0s
Memory limit: 128M

Author:
Problem type

Test your fast input template!

Note: It is not guaranteed that all languages can pass.

Input Specification

The first line will contain an integer N.

The next line will contain a, a sequence of N space-separated integers.

Output Specification

For each integer a_i, output on a new line the value of a_i + 1

Constraints

For all subtasks:

1 \le N \le 5\,000\,000

1 \le a_i \le 10^9

Subtask 1 [20%]

N \le 1\,000

Subtask 2 [20%]

N \le 10\,000

Subtask 3 [20%]

N \le 100\,000

Subtask 4 [20%]

N \le 1\,000\,000

Subtask 5 [20%]

No further constraints.

Sample Input

5
1 2 3 4 5

Sample Output

2
3
4
5
6

Comments

There are no comments at the moment.