TopCoder

User's AC Ratio

NaN% (0/0)

Submission's AC Ratio

NaN% (0/0)

Tags

Description

Input Format

Output Format

Sample Input 1

8
1000000 0 0 1000000 1000000 150000 600000 600000 400000
0 1000000 0 600000 600000 400000 600000 1000000 300000
0 1000000 0 400000 300000 150000 600000 600000 400000
400000 0 200000 1000000 0 0 400000 300000 150000
400000 300000 150000 1000000 0 0 600000 600000 400000
600000 600000 400000 1000000 1000000 150000 600000 1000000 300000
0 0 0 400000 0 200000 400000 300000 150000
0 1000000 0 0 0 0 400000 300000 150000
100000 700000 37500
900000 400000 137500

Sample Output 1

4
100000 700000 37500
400000 300000 150000
900000 150000 100000
900000 400000 137500

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 2000 262144 131072
1 2000 262144 131072
2 2000 262144 131072
3 2000 262144 131072
4 2000 262144 131072
5 2000 262144 131072
6 2000 262144 131072
7 2000 262144 131072
8 2000 262144 131072
9 2000 262144 131072
10 2000 262144 131072
11 2000 262144 131072
12 2000 262144 131072
13 2000 262144 131072
14 2000 262144 131072
15 2000 262144 131072
16 2000 262144 131072
17 2000 262144 131072
18 2000 262144 131072
19 2000 262144 131072
20 2000 262144 131072
21 2000 262144 131072
22 2000 262144 131072
23 2000 262144 131072
24 2000 262144 131072
25 2000 262144 131072