QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#872741#8613. Cardinalityucup-team6072#WA 1500ms56872kbC++172.3kb2025-01-26 04:08:072025-01-26 04:08:09

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 1500ms
memory: 56872kb

input:

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

output:

2
2
2
2
2

result:

ok 

Test #2:

score: -100
Wrong Answer
time: 1494ms
memory: 56856kb

input:

10 100
9 2
9 10
5 1
6 6
13 14
3 4
3 8
8 4
16 5
14 2
8 13
14 9
6 17
15 11
24 7
24 20
1 26
14 27
6 18
14 14
15 11
14 25
8 11
7 30
3 11
12 3
6 19
29 36
30 9
38 6
2 28
12 40
33 25
20 42
17 30
23 1
34 41
41 36
7 18
39 45
32 4
30 21
46 26
12 39
42 42
46 48
31 54
16 37
42 4
27 34

output:

2
2
2
2
2
4
2
4
4
2
4
4
4
4
4
2
4
2
4
4
2
4
4
2
4
4
8
4
4
4
4
8
4
4
4
4
8
4
2
4
4
4
8
4
8
4
4
8
4
8
4
4
4
4
4
4
4
4
4
8
4
4
4
4
4
4
4
8
8
4
8
4
8
8
8
8
8
8
8
4
4
4
8
8
4
8
4
8
8
8
8
4
8
8
8
8
8
4
8
8

result:

wrong answer Too big difference in the 16-th query: correct 5, got 2, ratio: 40.00%