QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#672842#5020. 举办乘凉州喵,举办乘凉州谢谢喵Custlo0 759ms135284kbC++145.8kb2024-10-24 19:28:142024-10-24 19:28:15

详细

Subtask #1:

score: 0
Wrong Answer

Test #1:

score: 0
Wrong Answer
time: 11ms
memory: 56572kb

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:

4715
2397
7406
224
282
5547
5406
2454
8041
3530
334
201
7176
346
9594
10047
7384
1970
8193
12
2418
9491
7463
6946
928
87
7303
9052
558
6132
560
6845
1336
2751
245
5241
1558
307
-819
9479
4774
-510
86
6926
7894
446
7191
7718
-750
432
80
187
243
2626
7619
5722
-479
4617
272
-838
6839
398
7386
412
7291...

result:

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

Subtask #2:

score: 0
Wrong Answer

Test #9:

score: 0
Wrong Answer
time: 697ms
memory: 99280kb

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:

761
69438
2797
181272
91703
188
32506
199187
6407
15985
11653
119064
246
696
17
9531
45
36606
178939
62
45430
193410
90253
3428
952
34
34137
60479
199871
188100
75094
133
1
8
6
1
2
12
61164
199868
199148
155712
196291
192863
53752
51872
179210
437
196291
199994
3599
31
99017
134469
198167
20392
7528...

result:

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

Subtask #3:

score: 0
Skipped

Dependency #2:

0%

Subtask #4:

score: 0
Wrong Answer

Test #25:

score: 0
Wrong Answer
time: 759ms
memory: 135284kb

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:

15020
128684
328800
6600
154237
236328
4638
136523
81
16316
156
66
15695
289272
31648
257685
559
268606
341466
27782
300476
216845
107
276602
111644
553
207642
191605
209516
315
282161
1642
153
341140
2852
25844
225717
356191
9577
229225
311868
280752
18069
85835
83273
255753
131378
696
141
2394
254...

result:

wrong answer 1st numbers differ - expected: '78', found: '15020'

Subtask #5:

score: 0
Skipped

Dependency #1:

0%

Subtask #6:

score: 0
Skipped

Dependency #1:

0%