TopCoder

User's AC Ratio

NaN% (0/0)

Submission's AC Ratio

NaN% (0/0)

Tags

Description

The PDF version of this problemset can be downloaded here.

Since NTUJ does not support Koltin program, Here is the special judge program.

Warn: 本題有 checker

Input Format

Output Format

Sample Input 1

4 1
1 0
0 1
2 2
3 3

4 1
0 0
1 1
0 2
1 0

5 1
0 0
1 1
1 0
0 1
2 2

Sample Output 1

-1

1 0
0 1

2 2
0.5 0.5

Hints

Problem Source

Migrated from old NTUJ.

TOPC 2019

Subtasks

No. Testdata Range Score

Testdata and Limits

No. Time Limit (ms) Memory Limit (VSS, KiB) Output Limit (KiB) Subtasks
0 3000 1048576 131072
1 3000 1048576 131072
2 3000 1048576 131072
3 3000 1048576 131072
4 3000 1048576 131072
5 3000 1048576 131072
6 3000 1048576 131072
7 3000 1048576 131072
8 3000 1048576 131072