Best solutions for Is it a Tree?

100 / 100
AC | JAVA8
hahahajokes
on Oct. 26, 2017, 12:01 a.m.
7.08s
36.06 MB
100 / 100
AC | JAVA8
ACCount_Nine38
on Oct. 6, 2018, 8:00 p.m.
7.08s
28.46 MB
100 / 100
AC | JAVA8
4fecta
on May 21, 2019, 10:38 p.m.
7.13s
28.47 MB
100 / 100
AC | JAVA8
Alan_Qiao
on Oct. 7, 2018, 4:17 p.m.
7.16s
28.47 MB
100 / 100
AC | JAVA8
suciluz
on Oct. 7, 2018, 12:30 a.m.
7.17s
28.55 MB
100 / 100
AC | JAVA8
friendly304010
on Sept. 8, 2019, 12:49 a.m.
7.18s
28.46 MB
100 / 100
AC | JAVA8
Rebecca_Han
on Oct. 5, 2018, 7:44 p.m.
7.23s
28.63 MB
100 / 100
AC | JAVA8
NewAccount
on June 28, 2019, 10:58 a.m.
7.32s
27.47 MB
100 / 100
AC | JAVA8
yeahbennou
on May 26, 2019, 3:31 p.m.
7.38s
28.47 MB
100 / 100
AC | JAVA8
Cancer
on May 12, 2017, 1:43 a.m.
7.45s
14.77 MB
100 / 100
AC | JAVA8
andrewc777
on July 25, 2017, 4:34 p.m.
7.77s
27.34 MB
100 / 100
AC | JAVA8
Darcy_Liu
on March 7, 2017, 9:09 p.m.
7.85s
27.43 MB
100 / 100
AC | JAVA8
Chess1000
on May 19, 2019, 9:42 p.m.
7.87s
28.51 MB
100 / 100
AC | JAVA8
todaybrian
on Oct. 16, 2017, 2:48 a.m.
8.07s
26.16 MB
100 / 100
AC | JAVA8
whomax
on June 11, 2018, 2:10 p.m.
8.13s
28.44 MB
100 / 100
AC | JAVA8
jjj104
on Oct. 2, 2018, 9:05 p.m.
8.20s
28.74 MB
100 / 100
AC | JAVA8
a_bot
on Feb. 5, 2018, 12:41 a.m.
9.19s
24.49 MB
100 / 100
AC | JAVA8
mzpqnxow
on March 15, 2018, 5:17 p.m.
9.42s
28.44 MB
100 / 100
AC | JAVA8
pro
on Oct. 26, 2017, 12:01 a.m.
9.58s
42.55 MB
100 / 100
AC | JAVA8
loam
on Jan. 17, 2018, 1:56 a.m.
9.67s
24.07 MB
100 / 100
AC | JAVA
tiger2018
on Nov. 18, 2017, 3:30 p.m.
10.05s
60.94 MB
100 / 100
AC | JAVA
jupiter
on Oct. 31, 2019, 10:09 p.m.
10.75s
36.18 MB
100 / 100
AC | JAVA
A111
on Sept. 8, 2019, 12:45 a.m.
11.31s
36.82 MB
100 / 100
AC | JAVA8
sCript
on Nov. 17, 2017, 6:57 p.m.
11.75s
15.64 MB
100 / 100
AC | JAVA
brettyang_003
on Sept. 8, 2019, 12:49 a.m.
13.33s
40.56 MB
100 / 100
AC | JAVA
RichardWei
on Sept. 8, 2019, 12:53 a.m.
13.47s
40.69 MB
100 / 100
AC | JAVA
0x045f
on Sept. 8, 2019, 12:48 a.m.
13.51s
40.25 MB
100 / 100
AC | JAVA
JKTroIIer
on Nov. 3, 2018, 2:40 a.m.
14.02s
40.25 MB
100 / 100
AC | JAVA
AlanCCCL2S18
on Oct. 3, 2018, 1:09 a.m.
14.60s
40.24 MB
100 / 100
AC | JAVA
Swarley
on Oct. 3, 2018, 7:55 p.m.
15.05s
40.32 MB
100 / 100
AC | JAVA
Otakuchan
on May 19, 2017, 11:53 p.m.
16.04s
34.96 MB
100 / 100
AC | JAVA
yichunbshen
on May 6, 2017, 3:01 p.m.
17.63s
35.47 MB
100 / 100
AC | JAVA
pudoCode
on Sept. 12, 2017, 10:32 p.m.
26.38s
36.53 MB
100 / 100
AC | C++03
Slow_Cookie
on July 24, 2016, 3:12 p.m.
31.87s
1.73 MB
xXxP0t4t0MStRxXx
on April 16, 2016, 1:21 p.m.
0.12s
956.00 KB
julian33
on Aug. 27, 2020, 1:15 a.m.
0.06s
1.44 MB
AnasBenMoussa
on March 18, 2021, 1:32 p.m.
0.07s
1.46 MB
Blues98
on March 27, 2018, 9:34 p.m.
0.27s
1.66 MB
richardyi25
on Jan. 17, 2017, 4:58 p.m.
0.29s
1.59 MB
ellypeng
on Oct. 9, 2021, 10:11 p.m.
1.89s
39.53 MB
EmZ
on May 11, 2023, 11:09 p.m.
4.17s
47.61 MB
hiddencactus
on Sept. 16, 2019, 10:41 p.m.
5.72s
27.62 MB
Chris_Xie
on Dec. 16, 2017, 8:06 p.m.
9.27s
33.66 MB
wangzilv1998
on Aug. 15, 2015, 6:53 p.m.
0.14s
944.00 KB
belowthebelt
on July 24, 2015, 5:16 a.m.
1.19s
3.95 MB
andrewchenanyuan
on Aug. 16, 2020, 3:14 p.m.
0.06s
1.43 MB
RonaldYou1
on Oct. 9, 2020, 9:34 p.m.
0.07s
1.43 MB
vishnus
on June 19, 2021, 2:25 p.m.
0.07s
1.51 MB
vyom
on May 10, 2021, 12:42 p.m.
0.08s
1.51 MB
JamesC
on Oct. 8, 2021, 2:17 a.m.
0.08s
3.27 MB