QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#416101#5403. 树数术dsost0 902ms206608kbC++204.5kb2024-05-21 15:53:062024-05-21 15:53:06

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 0
Wrong Answer

Test #1:

score: 0
Wrong Answer
time: 902ms
memory: 206608kb

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:

588002
909117
733100
572654
924068
486375
401975
454211
664664
825374
444411
404737
419831
163975
659087
216139
487932
16634
324179
27351
103756
221493
317391
981489
339876
150935
180087
229206
198892
571129
805009
422883
389557
529102
895742
93773
1265342
559353
62365
222331
892852
318614
429060
29...

result:

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

Subtask #2:

score: 0
Wrong Answer

Test #2:

score: 0
Wrong Answer
time: 899ms
memory: 193588kb

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:

472280
359655
394773
286052
73331
157830
166817
20422
152554
203217
343752
53716
70605
387665
167661
311975
204387
195639
434160
37674
182499
386172
65489
45710
339390
11860
21737
131014
85561
210875
31851
167100
109643
53469
92752
136280
30704
280651
928
59506
292115
389358
164078
123131
5209
17667...

result:

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

Subtask #3:

score: 0
Wrong Answer

Test #3:

score: 0
Wrong Answer
time: 39ms
memory: 104484kb

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:

21127
25248
18416
11304
49256
51561
27957
60624
52727
46457
40376
36164
19855
31263
25814
32960
44994
42061
47861
17444
47433
52608
33221
12855
34772
22013
17892
29233
30929
23446
35635
37174
24327
26400
35029
45280
24919
27119
32093
40544
42230
11518
9175
36865
16617
10973
37558
19350
42791
50301
2...

result:

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

Subtask #4:

score: 0
Skipped

Dependency #1:

0%