QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#103529#2832. Graph TheoryHuangHanShengWA 36ms7672kbC++1020b2023-05-06 15:11:352023-05-06 15:11:38

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 1ms
memory: 7672kb

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: 7612kb

input:

2 1
1 2

output:

1

result:

ok single line: '1'

Test #3:

score: -100
Wrong Answer
time: 36ms
memory: 7668kb

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:

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

result:

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