QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#872681#8613. Cardinalityucup-team6072#RE 7962ms123408kbPython31.9kb2025-01-26 03:38:562025-01-26 03:38:56

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 7962ms
memory: 123408kb

input:

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

output:

4
4
6
6
8

result:

ok 

Test #2:

score: -100
Runtime Error

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:

4
4
4
2
6
3
4
4
6
3
6
4
6
8
8
8
8
8
6
2
8
8
6
3
6
6
6
11
4
11
8
11
11
16
6
6
8
11
6
6
11
6
11
6
11
16
8
6
11
8

result: