QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#375455#5020. 举办乘凉州喵,举办乘凉州谢谢喵legenc6y0 588ms110428kbC++146.1kb2024-04-03 10:59:502024-04-03 10:59:51

詳細信息

Subtask #1:

score: 0
Wrong Answer

Test #1:

score: 0
Wrong Answer
time: 7ms
memory: 34096kb

input:

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

output:

3051
1825
-1497
197
229
3579
3599
1806
1001
1966
287
345
3544
294
2820
522
1285
1199
-565
12
1738
3439
972
-749
19
82
625
3183
197
2923
448
3226
725
1744
201
3059
1096
220
84
3724
3037
70
81
3766
969
606
3711
1390
113
452
75
151
191
1982
-902
3561
100
2952
213
66
3527
481
1569
369
4045
1648
15
-1153...

result:

wrong answer 1st numbers differ - expected: '3226', found: '3051'

Subtask #2:

score: 0
Wrong Answer

Test #9:

score: 0
Wrong Answer
time: 446ms
memory: 66112kb

input:

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

output:

-2
0
-4
0
-4
74
0
-2
0
0
0
0
0
0
0
-8
0
0
-6
0
0
-2
0
0
0
58
0
0
0
0
0
0
1
0
3
2
2
4
0
0
0
-4
-6
0
0
0
0
0
0
0
-18
0
0
0
0
0
0
0
-4
29
0
0
0
0
0
0
1
0
-2
0
0
-10
0
0
0
-6
-4
-2
0
0
-4
0
0
0
0
0
0
0
2
-2
45
0
0
-4
0
13
0
0
11
0
0
0
-2
0
0
-4
0
-4
0
0
0
6
0
-4
0
0
0
0
0
0
7
0
0
0
26
0
0
0
0
0
0
0
0
0
...

result:

wrong answer 1st numbers differ - expected: '757', found: '-2'

Subtask #3:

score: 0
Skipped

Dependency #2:

0%

Subtask #4:

score: 0
Wrong Answer

Test #25:

score: 0
Wrong Answer
time: 588ms
memory: 110428kb

input:

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

output:

78
104927
181614
5577
108978
145240
3130
95917
75
13212
149
57
679
141091
25
181302
469
168401
182225
10098
164780
46616
99
177181
79216
458
17657
157954
117159
272
159338
690
142
178491
2525
16656
133362
153504
2351
162342
170557
163542
14324
52814
67283
178942
108032
615
131
2067
172006
146583
197...

result:

wrong answer 2nd numbers differ - expected: '107329', found: '104927'

Subtask #5:

score: 0
Skipped

Dependency #1:

0%

Subtask #6:

score: 0
Skipped

Dependency #1:

0%