0
N-1
N
i
0, 1, 2, ..., N-1
A[i]
1
1000 ms 256 Mb Rules for program design and list of errors in automatic problem checking