QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#416100#5403. 树数术dsost0 919ms207388kbC++204.4kb2024-05-21 15:52:562024-05-21 15:52:57

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 0
Wrong Answer

Test #1:

score: 0
Wrong Answer
time: 909ms
memory: 207388kb

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:

426617
659761
532050
415562
670271
352937
291697
329554
482379
598588
322409
293494
304671
118927
478011
156742
353978
12134
234939
19825
75358
160361
230121
712052
246497
109596
130434
166135
144412
414405
583391
306721
282739
383668
649601
68111
917450
405960
45150
161325
647795
231152
311524
2160...

result:

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

Subtask #2:

score: 0
Wrong Answer

Test #2:

score: 0
Wrong Answer
time: 919ms
memory: 193584kb

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:

342752
260845
286299
207439
53176
114665
120898
14781
110740
147449
249500
38827
51076
281240
121491
226320
148168
141958
315074
27380
132521
280316
47637
33383
246141
8584
15867
94947
61951
152986
23315
121056
79561
38859
67256
98862
22358
203540
663
43091
211907
282529
119285
89558
3839
128290
379...

result:

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

Subtask #3:

score: 0
Wrong Answer

Test #3:

score: 0
Wrong Answer
time: 48ms
memory: 103948kb

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:

15339
18179
13413
8310
35909
37543
20414
43925
38317
33621
29272
26337
14377
22741
18769
23975
32609
30611
34751
12779
34375
38111
24234
9354
25232
16011
12995
21348
22496
16943
25802
26954
17763
19082
25496
32769
18014
19537
23357
29569
30699
8393
6513
26714
12076
8048
27322
13975
31060
36408
19445...

result:

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

Subtask #4:

score: 0
Skipped

Dependency #1:

0%