TopCoder

User's AC Ratio

NaN% (0/0)

Submission's AC Ratio

NaN% (0/0)

Tags

Description

Input Format

Output Format

Sample Input 1

2 
5 3 
1 2 3 
2 3 4 
1 3 5 
7 7 
1 2 
1 3 
4 2 
4 3 
2 3 
1 4 
5 6 7 

Sample Output 1

YN

Hints

Problem Source

Migrated from old NTUJ.

2011 ICPC Phuket

Subtasks

No. Testdata Range Score

Testdata and Limits

No. Time Limit (ms) Memory Limit (VSS, KiB) Output Limit (KiB) Subtasks
0 10000 65536 200