Best solutions for Tree Tasks

100 / 100
AC | C++20
Dwin2020
on April 1, 2022, 2:10 a.m.
2.79s
38.77 MB
100 / 100
AC | C++20
Andycipation
on Aug. 24, 2024, 11:29 p.m.
2.82s
119.74 MB
100 / 100
AC | C++17
Rainflight24
on Nov. 12, 2022, 11:43 p.m.
2.85s
40.54 MB
100 / 100
AC | C++11
Bobliu
on Nov. 7, 2019, 3:53 a.m.
2.89s
36.47 MB
100 / 100
AC | C++17
16BitNarwhal
on Feb. 16, 2021, 7:50 p.m.
2.89s
36.49 MB
100 / 100
AC | C++20
pavarasank
on June 17, 2023, 5:36 p.m.
2.91s
32.73 MB
100 / 100
AC | C++17
JY900
on Oct. 26, 2020, 1:18 a.m.
2.94s
36.40 MB
100 / 100
AC | C++14
Aaeria
on Nov. 3, 2019, 10:11 p.m.
3.01s
38.44 MB
100 / 100
AC | C++17
sjay05
on Oct. 27, 2020, 12:40 a.m.
3.01s
58.64 MB
100 / 100
AC | C++20
kyanl987
on March 6, 2023, 9:29 p.m.
3.05s
52.42 MB
100 / 100
AC | C++17
weewoo14
on Nov. 16, 2024, 3:15 p.m.
3.09s
50.17 MB
100 / 100
AC | JAVA8
kuruluu
on Aug. 15, 2023, 4:40 a.m.
3.12s
51.74 MB
100 / 100
AC | C++11
magicalsoup
on Nov. 4, 2019, 3:58 p.m.
3.18s
36.41 MB
100 / 100
AC | C++17
El20082
on Dec. 22, 2022, 1:23 a.m.
3.35s
107.41 MB
100 / 100
AC | C++11
bigboy2
on Dec. 8, 2020, 3:47 a.m.
3.41s
56.66 MB
100 / 100
AC | C++17
Quads
on May 23, 2022, 5:36 a.m.
3.41s
37.26 MB
100 / 100
AC | C++17
hen
on Nov. 16, 2024, 2:34 a.m.
3.58s
83.34 MB
100 / 100
AC | C++14
a0518
58 days ago
3.61s
59.40 MB
100 / 100
AC | C++20
weihe
on Dec. 3, 2022, 5:45 p.m.
3.71s
94.86 MB
100 / 100
AC | C++17
Riolku
on Nov. 15, 2022, 12:41 a.m.
4.13s
58.38 MB
100 / 100
AC | JAVA8
AngelsandDevsLOL
on Dec. 17, 2023, 1:56 a.m.
4.26s
102.00 MB
100 / 100
AC | C++17
jshan9078
on Jan. 6, 2023, 6:03 a.m.
4.28s
63.80 MB
100 / 100
AC | C++11
sushi
on Feb. 17, 2020, 2:48 p.m.
4.44s
45.34 MB
100 / 100
AC | C++14
4fecta
on Nov. 2, 2019, 11:31 p.m.
4.44s
40.60 MB
100 / 100
AC | C++03
EdwinSun
on Nov. 9, 2019, 1:15 p.m.
4.49s
40.18 MB
100 / 100
AC | C++17
piguyinthesky
on Dec. 18, 2019, 9:14 p.m.
4.68s
38.57 MB
100 / 100
AC | C++14
Plasmatic
on Nov. 10, 2019, 6:46 a.m.
4.76s
36.25 MB
100 / 100
AC | JAVA8
andrewtam
on Nov. 4, 2020, 6:20 p.m.
5.37s
128.07 MB
100 / 100
AC | JAVA8
seel_
on Aug. 15, 2023, 10:55 p.m.
5.65s
137.64 MB
100 / 100
AC | JAVA8
NewAccount
on Aug. 31, 2020, 1:49 a.m.
5.98s
130.85 MB
100 / 100
AC | JAVA8
y_mx
on May 19, 2021, 9:09 p.m.
6.00s
133.83 MB
100 / 100
AC | JAVA8
13lack13lood
on Nov. 13, 2022, 6:38 p.m.
6.15s
128.24 MB
100 / 100
AC | JAVA8
Oscar_Liu_18
on Nov. 13, 2022, 3:33 a.m.
6.20s
135.41 MB
100 / 100
AC | JAVA8
BarberryY
on Nov. 20, 2022, 3:38 p.m.
6.23s
125.23 MB
100 / 100
AC | JAVA8
pblpbl
on March 18, 2020, 4:48 p.m.
6.24s
141.77 MB
100 / 100
AC | JAVA8
trumpetdoot
on Dec. 2, 2022, 5:30 p.m.
6.24s
137.39 MB
100 / 100
AC | JAVA8
awrenchend
on Jan. 1, 2023, 3:11 a.m.
6.25s
128.40 MB
100 / 100
AC | JAVA8
WilliamWu277
on Jan. 2, 2021, 8:55 p.m.
6.26s
131.50 MB
100 / 100
AC | JAVA8
pewpew
on Nov. 7, 2022, 3:27 p.m.
6.26s
128.70 MB
100 / 100
AC | JAVA8
sihooney
on Nov. 14, 2022, 1:46 a.m.
6.26s
131.20 MB
100 / 100
AC | JAVA8
EricM08
on Nov. 13, 2022, 1:09 a.m.
6.32s
128.52 MB
100 / 100
AC | JAVA8
BrayBray123
on Dec. 11, 2020, 8:35 p.m.
6.33s
134.30 MB
100 / 100
AC | JAVA8
7bit
on Nov. 13, 2022, 1:07 a.m.
6.33s
128.67 MB
100 / 100
AC | JAVA8
Wangster
on Dec. 17, 2020, 9:57 p.m.
6.35s
135.14 MB
100 / 100
AC | JAVA8
nickwu
on Aug. 10, 2023, 4:58 a.m.
6.39s
125.66 MB
100 / 100
AC | JAVA8
FionaDang
on Nov. 17, 2022, 3:21 p.m.
6.49s
128.54 MB
100 / 100
AC | JAVA8
dorcwork
on March 25, 2021, 2:49 p.m.
6.56s
137.93 MB
100 / 100
AC | JAVA8
AlanL
on Aug. 24, 2020, 12:21 a.m.
6.67s
158.34 MB
100 / 100
AC | JAVA8
VectorGraphicz
44 days ago
6.68s
134.99 MB
100 / 100
AC | JAVA8
daniel_wang123
on Nov. 13, 2022, 6:17 p.m.
6.70s
136.74 MB