TopCoder

User's AC Ratio

NaN% (0/0)

Submission's AC Ratio

NaN% (0/0)

Tags

Description

The PDF file of all problems can be downloaded HERE

Input Format

Output Format

Sample Input 1

2
0 0 10 10
2
0 0 10 20
0 20 10 0
0 0 10 10
3
-5 5 10 10
5 -5 10 10
0 5 5 0

Sample Output 1

1
1

Hints

Problem Source

Migrated from old NTUJ.

dreamoon

Subtasks

No. Testdata Range Score

Testdata and Limits

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