# TopCoder

FHVirus
$\Huge 8e7 二分圖判斷範例程式碼有錯，道歉！$

91.3% (63/69)

27.4% (122/445)

//(題目敘述)
2 101
5 3
3 1
2 2

1 1

2 101
10 11
3 2
4 7

2 1

3 101
69 59 89
5 4 2
3 6 7
2 0 1

10 20 30

# Hints

1*[3 1] + 1*[2 2]
=[5 3]

2*[3 2] + 1*[4 7]
=[10 11]

10*[5 4 2] + 20 *[3 6 7] + 30 *[2 0 1]
= [170 160 190] 對 101 取餘數
= [69 59 89]

# Problem Source

108 北市賽 pB
testdata set by Omelet

No. Testdata Range Constraints Score
1 0~4 $N=2$ 17
2 5~9 $N=3$ 27
3 0~24 $N\leq 100$ 56

# Testdata and Limits

No. Time Limit (ms) Memory Limit (VSS, KiB) Output Limit (KiB) Subtasks
0 3000 262144 65536 1 3
1 3000 262144 65536 1 3
2 3000 262144 65536 1 3
3 3000 262144 65536 1 3
4 3000 262144 65536 1 3
5 3000 262144 65536 2 3
6 3000 262144 65536 2 3
7 3000 262144 65536 2 3
8 3000 262144 65536 2 3
9 3000 262144 65536 2 3
10 3000 262144 65536 3
11 3000 262144 65536 3
12 3000 262144 65536 3
13 3000 262144 65536 3
14 3000 262144 65536 3
15 3000 262144 65536 3
16 3000 262144 65536 3
17 3000 262144 65536 3
18 3000 262144 65536 3
19 3000 262144 65536 3
20 3000 262144 65536 3
21 3000 262144 65536 3
22 3000 262144 65536 3
23 3000 262144 65536 3
24 3000 262144 65536 3