TopCoder

User's AC Ratio

NaN% (0/0)

Submission's AC Ratio

NaN% (0/0)

Tags

Description

Input Format

Output Format

Sample Input 1

3
2
4 1 4 4 2 4 0 0 0
4 0 0 1 1 0 1 1 0
2
4 1 1 3 9 9 5 9 1
4 0 -3 3 0 0 3 -3 0
1
5 2 7 8 3 1 -1 2 -2 7 -7
2
3 -1 -1 2 -1 0 0
5 2 7 8 3 1 -1 2 -2 6 -7
4
4 0 -2 0 4 4 0 -2 0
4 0 0 1 1 2 2 3 3
5 6 -7 2 7 2 -2 8 3 1 -1
5 0 0 0 8 0 10 2 10 2 8
4
4 -1000 -1000 -500 -500 500 500 0 0
4 1 -2 1 4 4 1 -2 1
5 6 -7 2 7 2 -2 8 3 1 -1
5 0 0 0 8 0 10 -2 10 -2 8

Sample Output 1

1 2
so sad
2 3

Hints

Problem Source

NPSC 2012 高中組初賽 pC

Subtasks

No. Testdata Range Constraints Score
1 0 範例測資 0
2 0~1 無額外限制 100

Testdata and Limits

No. Time Limit (ms) Memory Limit (VSS, KiB) Output Limit (KiB) Subtasks
0 15000 1048576 1048576 1 2
1 15000 1048576 1048576 2