TopCoder

User's AC Ratio

NaN% (0/0)

Submission's AC Ratio

NaN% (0/0)

Tags

Description

Input Format

Output Format

Sample Input 1

1
3 4
3 5 1 4
2 3 7 7 2
8 9 3 1
9 7 6 1 5
8 5 2 2
6 7 1 2 3
8 7 5 5

Sample Output 1

9

Hints

Problem Source

Migrated from old NTUJ.

NTU NCPC 2014

Subtasks

No. Testdata Range Score

Testdata and Limits

No. Time Limit (ms) Memory Limit (VSS, KiB) Output Limit (KiB) Subtasks
0 8000 65536 131072