QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#297194#5403. 树数术hyforces#0 1294ms264532kbC++203.2kb2024-01-04 04:50:152024-04-28 08:30:33

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 0
Wrong Answer

Test #1:

score: 0
Wrong Answer
time: 1033ms
memory: 264532kb

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:

121987
139518
87431
42772
311772
194269
177809
454212
417129
299449
366103
227735
186416
163974
292497
216139
401718
16633
192684
27351
52126
54937
142168
275075
339876
117002
51131
229205
187647
350042
398454
83904
100490
338069
356664
60210
366172
142627
16903
222330
471095
184144
170758
238391
14...

result:

wrong answer 2nd lines differ - expected: '139520', found: '139518'

Subtask #2:

score: 0
Wrong Answer

Test #2:

score: 0
Wrong Answer
time: 1294ms
memory: 228668kb

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:

1476
825
937
2054
1199
922
1198
315
414
359
2596
874
285
476
354
830
1158
679
1155
508
680
1030
433
757
517
197
234
369
325
1329
480
1186
753
313
499
534
577
1942
26
226
781
1095
347
615
152
1405
69
209
410
725
873
37
2037
1191
1444
1151
2123
667
1276
180
720
165
898
973
1019
529
1567
865
183
903
19...

result:

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

Subtask #3:

score: 0
Wrong Answer

Test #3:

score: 0
Wrong Answer
time: 114ms
memory: 53096kb

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:

128
243
262
64
384
141
255
181
533
466
430
77
122
425
431
293
185
35
770
422
252
565
471
10
207
187
228
47
86
208
197
237
156
69
126
112
159
142
269
569
548
189
127
767
54
135
127
170
371
296
145
384
101
310
297
89
152
242
178
486
312
621
191
75
304
95
62
360
125
327
125
346
164
470
172
196
283
185
...

result:

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

Subtask #4:

score: 0
Skipped

Dependency #1:

0%