QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#300433#7895. Graph Partitioning 2ucup-team2818#WA 11ms13916kbC++142.1kb2024-01-08 11:15:472024-01-08 11:15:47

详细

Test #1:

score: 100
Accepted
time: 2ms
memory: 8608kb

input:

2
8 2
1 2
3 1
4 6
3 5
2 4
8 5
5 7
4 3
1 2
1 3
2 4

output:

2
1

result:

ok 2 lines

Test #2:

score: -100
Wrong Answer
time: 11ms
memory: 13916kb

input:

5550
13 4
10 3
9 1
10 8
3 11
8 5
10 7
9 6
13 5
9 7
2 7
5 12
4 8
8 2
4 1
3 4
7 8
2 5
6 7
4 8
2 3
11 1
11 10
1 4
9 10
8 4
3 6
5 7
6 1
10 2
11 7
11 1
17 2
14 16
13 15
17 3
15 11
1 6
13 2
13 17
4 8
14 10
8 14
14 5
9 12
14 2
12 17
17 6
15 7
14 6
2 14
2 13
2 4
8 4
3 11
7 3
14 1
11 9
13 3
5 10
6 8
3 10
14 ...

output:

13
112
0
00
1
0
011
000110
140
10
1814
06
1
02
00612
00101100
1121
4536
0
11718
0
010444
01908
1813
3
74
11046
0100
00
10
0111
11239
0
1000111
010
0100
0
01
01148
12
0
0
01
364
0206
1076
010
0
2
012
10000
4
020111001101
1010
1993
76
0010
1
1
380
110167
0122
010
111908
11234
0792
2
11
1
1112026
114
1...

result:

wrong answer 1st lines differ - expected: '0', found: '13'