Count the Polygons

Problem Number: 
11 465
Type of Problem: 
Problem Category: 
Input: 
Random Input
0
0
Critical Input: 
Random Input: 
7 4 3 10 10 20 20 6 4 1 1 1 1 1 1 4 3 10 20 30 100000000 6 6 2 3 4 5 6 7 6 4 1 2 6 7 10 12 30 15 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 20 10 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
Problem Id: 
11465