QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#202560#5403. 树数术houzhiyuan0 889ms336760kbC++173.4kb2023-10-06 11:28:412023-10-06 11:28:42

詳細信息

Subtask #1:

score: 0
Wrong Answer

Test #1:

score: 0
Wrong Answer
time: 889ms
memory: 336760kb

input:

699990 699995 233333
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
20 21
21 22
22 23
23 24
24 25
25 26
26 27
27 28
28 29
29 30
30 31
31 32
32 33
33 34
34 35
35 36
36 37
37 38
38 39
39 40
40 41
41 42
42 43
43 44
44 45
45 46
46 47
47 48
48 49
49 50
50...

output:

472942
807539
607604
370302
596787
259560
412690
488460
483603
458776
366102
226107
193542
163973
410469
389117
401718
351551
397967
52560
148586
54936
166780
520079
380802
72423
96147
330330
205541
505337
265679
318718
443645
338069
641937
93772
424199
280652
47252
222330
519531
153682
413846
25658...

result:

wrong answer 1st lines differ - expected: '121987', found: '472942'

Subtask #2:

score: 0
Wrong Answer

Test #2:

score: 0
Wrong Answer
time: 782ms
memory: 311264kb

input:

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

output:

226017
188854
194013
191354
91511
207921
162007
70190
198363
204318
220529
125664
144030
199774
186864
145354
170264
127300
213316
74653
119424
206533
63664
208453
178918
145350
61975
167641
57712
111269
206019
158132
62986
178906
180198
187660
82992
189165
81744
146431
167679
202518
116827
206340
6...

result:

wrong answer 1st lines differ - expected: '211594', found: '226017'

Subtask #3:

score: 0
Wrong Answer

Test #3:

score: 0
Wrong Answer
time: 76ms
memory: 46712kb

input:

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

output:

12254
15206
12071
19956
24257
24665
24941
27319
29062
24453
25803
20625
14549
17743
21109
22158
25195
19440
25113
19679
27863
27981
26972
28997
24114
13023
9169
18729
27447
19633
23544
23521
18002
18094
17087
26393
16974
12244
29069
26335
23738
14469
10882
23925
9562
14947
26076
16663
26691
30885
27...

result:

wrong answer 1st lines differ - expected: '9733', found: '12254'

Subtask #4:

score: 0
Skipped

Dependency #1:

0%