F. ForkBomb
time limit per test
2 seconds
memory limit per test
262 megabytes
input
standard input
output
standard output
Example
Input
6
0 4 6 7 8 9
a = 3
for index in 1...1
b = 4
if fork() == 0
c = 3
else
c = 4
d = 1
fork()
d = 0
Output
1
1
1
2
2
4