TopCoder

User's AC Ratio

NaN% (0/0)

Submission's AC Ratio

NaN% (0/0)

Tags

Description

Input Format

Output Format

Sample Input 1

4 10
0 3 2 1
3 0 1 3
2 1 0 2
1 3 2 0

3 5
0 1 2
1 0 3
2 3 0

Sample Output 1

possible

impossible

Hints

NTUJ cannot show multiple samples, so we merged them here

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 6000 65536 131072
1 6000 65536 131072
2 6000 65536 131072
3 6000 65536 131072
4 6000 65536 131072
5 6000 65536 131072
6 6000 65536 131072
7 6000 65536 131072
8 6000 65536 131072
9 6000 65536 131072
10 6000 65536 131072
11 6000 65536 131072
12 6000 65536 131072
13 6000 65536 131072
14 6000 65536 131072
15 6000 65536 131072
16 6000 65536 131072
17 6000 65536 131072
18 6000 65536 131072
19 6000 65536 131072
20 6000 65536 131072
21 6000 65536 131072
22 6000 65536 131072
23 6000 65536 131072
24 6000 65536 131072
25 6000 65536 131072
26 6000 65536 131072
27 6000 65536 131072
28 6000 65536 131072
29 6000 65536 131072
30 6000 65536 131072
31 6000 65536 131072
32 6000 65536 131072
33 6000 65536 131072
34 6000 65536 131072
35 6000 65536 131072
36 6000 65536 131072
37 6000 65536 131072
38 6000 65536 131072
39 6000 65536 131072
40 6000 65536 131072
41 6000 65536 131072
42 6000 65536 131072
43 6000 65536 131072
44 6000 65536 131072
45 6000 65536 131072
46 6000 65536 131072
47 6000 65536 131072
48 6000 65536 131072
49 6000 65536 131072
50 6000 65536 131072