TopCoder

User's AC Ratio

NaN% (0/0)

Submission's AC Ratio

NaN% (0/0)

Tags

Description

Input Format

Output Format

Sample Input 1

6
2
3
1
1
4
2

10
4
4
4
4
4
4
4
4
1
4

Sample Output 1

Yes
Yes
Yes
No
Yes
No

Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
No

Hints

Problem Source

Migrated from old NTUJ.

Subtasks

No. Testdata Range Score

Testdata and Limits

No. Time Limit (ms) Memory Limit (VSS, KiB) Output Limit (KiB) Subtasks
0 4000 1048576 131072
1 4000 1048576 131072
2 4000 1048576 131072
3 4000 1048576 131072
4 4000 1048576 131072
5 4000 1048576 131072
6 4000 1048576 131072
7 4000 1048576 131072
8 4000 1048576 131072
9 4000 1048576 131072
10 4000 1048576 131072
11 4000 1048576 131072
12 4000 1048576 131072
13 4000 1048576 131072
14 4000 1048576 131072
15 4000 1048576 131072
16 4000 1048576 131072
17 4000 1048576 131072
18 4000 1048576 131072
19 4000 1048576 131072
20 4000 1048576 131072
21 4000 1048576 131072
22 4000 1048576 131072
23 4000 1048576 131072
24 4000 1048576 131072
25 4000 1048576 131072
26 4000 1048576 131072
27 4000 1048576 131072
28 4000 1048576 131072
29 4000 1048576 131072
30 4000 1048576 131072
31 4000 1048576 131072
32 4000 1048576 131072
33 4000 1048576 131072
34 4000 1048576 131072
35 4000 1048576 131072
36 4000 1048576 131072
37 4000 1048576 131072
38 4000 1048576 131072