QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#882226#8670. 独立ucup-team340735 187ms37376kbC++147.5kb2025-02-04 22:27:382025-02-04 22:27:39

詳細信息

Subtask #1:

score: 11
Accepted

Test #1:

score: 11
Accepted
time: 9ms
memory: 30512kb

input:

4 1
1 2
1 3
1 4

output:

3

result:

ok single line: '3'

Test #2:

score: 11
Accepted
time: 6ms
memory: 29924kb

input:

2 4
1 2

output:

50

result:

ok single line: '50'

Test #3:

score: 11
Accepted
time: 7ms
memory: 31456kb

input:

3 1
1 2
1 3

output:

2

result:

ok single line: '2'

Test #4:

score: 11
Accepted
time: 4ms
memory: 30308kb

input:

5 5
1 2
1 3
1 4
4 5

output:

30873

result:

ok single line: '30873'

Test #5:

score: 11
Accepted
time: 8ms
memory: 30052kb

input:

5 5
1 2
2 3
1 4
1 5

output:

30873

result:

ok single line: '30873'

Test #6:

score: 11
Accepted
time: 9ms
memory: 30124kb

input:

5 5
1 2
1 3
2 4
3 5

output:

29268

result:

ok single line: '29268'

Subtask #2:

score: 24
Accepted

Dependency #1:

100%
Accepted

Test #7:

score: 24
Accepted
time: 8ms
memory: 31584kb

input:

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

output:

326123819

result:

ok single line: '326123819'

Test #8:

score: 24
Accepted
time: 7ms
memory: 31992kb

input:

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

output:

26385774

result:

ok single line: '26385774'

Test #9:

score: 24
Accepted
time: 8ms
memory: 30688kb

input:

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

output:

799358395

result:

ok single line: '799358395'

Test #10:

score: 24
Accepted
time: 7ms
memory: 31580kb

input:

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

output:

819211514

result:

ok single line: '819211514'

Test #11:

score: 24
Accepted
time: 8ms
memory: 30556kb

input:

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

output:

788316439

result:

ok single line: '788316439'

Test #12:

score: 24
Accepted
time: 8ms
memory: 30944kb

input:

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

output:

481833846

result:

ok single line: '481833846'

Subtask #3:

score: 0
Wrong Answer

Dependency #1:

100%
Accepted

Dependency #2:

100%
Accepted

Test #13:

score: 13
Accepted
time: 24ms
memory: 31716kb

input:

131 428
1 2
2 3
1 4
4 5
3 6
5 7
4 8
7 9
4 10
5 11
1 12
9 13
3 14
10 15
2 16
15 17
13 18
11 19
14 20
19 21
1 22
16 23
17 24
19 25
2 26
1 27
5 28
4 29
29 30
10 31
25 32
22 33
19 34
15 35
24 36
19 37
29 38
15 39
4 40
30 41
6 42
9 43
29 44
36 45
38 46
20 47
26 48
13 49
17 50
45 51
9 52
24 53
43 54
26 55...

output:

855674508

result:

ok single line: '855674508'

Test #14:

score: 0
Wrong Answer
time: 187ms
memory: 37376kb

input:

415 425
1 2
2 3
3 4
1 5
4 6
4 7
2 8
1 9
9 10
4 11
4 12
3 13
1 14
7 15
10 16
7 17
11 18
16 19
16 20
11 21
20 22
21 23
20 24
22 25
5 26
21 27
7 28
6 29
25 30
29 31
11 32
30 33
17 34
13 35
6 36
6 37
36 38
37 39
23 40
30 41
35 42
10 43
19 44
6 45
26 46
22 47
36 48
36 49
32 50
1 51
24 52
19 53
49 54
48 5...

output:

765352792

result:

wrong answer 1st lines differ - expected: '921095443', found: '765352792'

Subtask #4:

score: 0
Skipped

Dependency #1:

100%
Accepted

Dependency #2:

100%
Accepted

Dependency #3:

0%

Subtask #5:

score: 0
Skipped

Dependency #1:

100%
Accepted

Dependency #2:

100%
Accepted

Dependency #3:

0%