QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#76126#5403. 树数术Qiuly0 660ms172744kbC++144.1kb2023-02-07 19:33:312023-02-07 19:33:33

詳細信息

Subtask #1:

score: 0
Wrong Answer

Test #1:

score: 0
Wrong Answer
time: 488ms
memory: 172744kb

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:

588003
909117
733100
572654
924068
486375
401975
454213
664665
825374
444411
404737
419831
163975
659088
216139
487932
16634
324179
27351
103756
221493
317391
981489
339876
150935
180087
229206
198893
571129
805009
422883
389557
529102
895742
93773
1265342
559355
62365
222331
892852
318614
429060
29...

result:

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

Subtask #2:

score: 0
Wrong Answer

Test #2:

score: 0
Wrong Answer
time: 660ms
memory: 163240kb

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:

211595
160846
176729
128253
32663
70711
74886
9095
68282
91325
154262
24279
31878
173469
75265
139715
91661
87526
194302
16877
81535
172911
29145
20484
151883
5256
9549
58890
38077
94152
14359
74859
48871
23982
41393
60976
13795
125824
427
26641
130620
174231
73241
55291
2364
78865
23391
4866
36003
...

result:

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

Subtask #3:

score: 0
Wrong Answer

Test #3:

score: 0
Wrong Answer
time: 63ms
memory: 53148kb

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:

9733
11331
8407
5137
22209
23232
12687
27291
23742
20948
18158
16380
8992
14039
11672
14690
20276
18956
21686
7938
21383
23579
14838
5714
15707
10016
7908
13255
13884
10446
16142
16796
11009
11914
15761
20419
11157
12192
14327
18263
19103
5240
4114
16529
7414
5008
16846
8747
19380
22601
12023
9164
9...

result:

wrong answer 2nd lines differ - expected: '11330', found: '11331'

Subtask #4:

score: 0
Skipped

Dependency #1:

0%