QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#37231#2832. Graph TheoryZhangYiDeWA 59ms5692kbC++171.7kb2022-06-30 15:22:232022-06-30 15:22:26

詳細信息

Test #1:

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

input:

3 2
1 2
2 3
3 2
1 1
2 2
3 3
1 2
2 3
3 1

output:

1
0
2

result:

ok 3 lines

Test #2:

score: 0
Accepted
time: 2ms
memory: 5492kb

input:

2 1
1 2

output:

1

result:

ok single line: '1'

Test #3:

score: -100
Wrong Answer
time: 59ms
memory: 5692kb

input:

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

output:

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

result:

wrong answer 1st lines differ - expected: '8', found: '14'