Best solutions for A Lazy Problem

100 / 100
AC | C++14
wleungBVG on Dec. 22, 2018, 9:44 p.m.
0.64s
1.7 MB
100 / 100
AC | C++14
Ninjaclasher on Dec. 22, 2018, 1:04 p.m.
0.67s
1.8 MB
100 / 100
AC | C++17
Anatoly on Oct. 20, 2019, 11:26 a.m.
0.71s
1.7 MB
100 / 100
AC | C++14
Ruffy on Dec. 13, 2018, 7:18 p.m.
0.74s
1.7 MB
100 / 100
AC | C++14
segfault on Dec. 13, 2018, 2:55 p.m.
0.75s
1.7 MB
100 / 100
AC | C++14
ApoapsisAlpha on Dec. 11, 2018, 12:45 p.m.
0.79s
1.7 MB
100 / 100
AC | C++11
avis on Dec. 15, 2018, 12:51 a.m.
0.82s
3.2 MB
100 / 100
AC | C11
insignificant on Dec. 14, 2018, 6:10 p.m.
0.83s
744.0 KB
100 / 100
AC | C++14
eric574 on Dec. 11, 2018, 1:35 a.m.
0.85s
4.4 MB
100 / 100
AC | C++17
terrarian on Nov. 12, 2022, 9:45 p.m.
1.05s
1.7 MB
100 / 100
AC | C++14
jsumabat on Nov. 8, 2019, 12:15 p.m.
1.70s
1.8 MB
100 / 100
AC | C++14
deodeo on Nov. 11, 2019, 1:39 p.m.
1.71s
1.8 MB
100 / 100
AC | C++14
AQT on Dec. 11, 2018, 4:53 p.m.
2.45s
1.7 MB
100 / 100
AC | C++11
khazix on Dec. 10, 2018, 6:04 p.m.
3.25s
3.1 MB
100 / 100
AC | PY2
chika on Dec. 13, 2018, 1:04 a.m.
3.45s
6.2 MB
100 / 100
AC | C
selena_zhang on Dec. 10, 2020, 9:14 p.m.
3.46s
768.0 KB
100 / 100
AC | PY3
Python3 on Dec. 10, 2018, 7:19 p.m.
5.26s
9.2 MB
100 / 100
AC | JAVA8
HolyMcBumbums on Oct. 13, 2019, 9:43 p.m.
6.28s
32.1 MB
100 / 100
AC | C++17
Kevin on Nov. 8, 2019, 8:55 a.m.
6.99s
1.8 MB
100 / 100
AC | JAVA8
louwuie on March 24, 2020, 1:54 p.m.
7.49s
31.2 MB
100 / 100
AC | JAVA8
Serog1sPerog1s on March 24, 2020, 3:37 p.m.
7.53s
31.2 MB
100 / 100
AC | JAVA8
Evil on Dec. 10, 2018, 5:09 p.m.
8.63s
32.5 MB
100 / 100
AC | JAVA8
CheezWhiz on Oct. 6, 2019, 7:57 p.m.
8.63s
33.6 MB
100 / 100
AC | C++17
RayZhang on Nov. 8, 2019, 8:55 a.m.
8.99s
1.8 MB
100 / 100
AC | JAVA8
Leo_Li_350112025 on Aug. 23, 2021, 2:43 p.m.
12.36s
34.9 MB
100 / 100
AC | JAVA8
Samuel_Liu on Nov. 19, 2019, 9:31 p.m.
15.60s
32.8 MB
100 / 100
AC | JAVA8
sankeeth_ganeswaran on Nov. 19, 2019, 9:22 p.m.
15.85s
32.5 MB
100 / 100
AC | JAVA8
Cobs on Dec. 1, 2023, 1:14 p.m.
16.07s
37.7 MB
100 / 100
AC | JAVA8
Henry_Zhang on Nov. 15, 2019, 5:06 p.m.
16.10s
33.0 MB
100 / 100
AC | JAVA8
David on Nov. 15, 2019, 5:03 p.m.
16.18s
33.2 MB
100 / 100
AC | JAVA8
Eric_Zhang on Oct. 21, 2020, 3:42 p.m.
17.60s
33.8 MB