Best solutions for Maintaining a Sequence

100 / 100
AC | C++14
wleungBVG on Dec. 21, 2018, 8:25 p.m.
0.42s
3.5 MB
100 / 100
AC | C++17
george on Dec. 3, 2018, 10:42 a.m.
0.67s
3.6 MB
100 / 100
AC | C++11
Python3 on Nov. 27, 2018, 6:59 p.m.
0.73s
6.9 MB
100 / 100
AC | C++11
zxyl on Nov. 27, 2018, 7:40 p.m.
0.79s
6.9 MB
100 / 100
AC | C
insignificant on Nov. 25, 2018, 7:57 p.m.
0.88s
2.2 MB
100 / 100
AC | C++11
khazix on Nov. 25, 2018, 9:10 p.m.
0.91s
6.9 MB
100 / 100
AC | C++11
ehan on March 28, 2023, 12:56 p.m.
1.14s
7.2 MB
100 / 100
AC | C++17
terrarian on Dec. 8, 2022, 9:14 p.m.
1.20s
7.1 MB
100 / 100
AC | C++14
Li_Zhang on Nov. 29, 2018, 5:36 p.m.
1.25s
3.5 MB
100 / 100
AC | V8JS
David on Oct. 5, 2019, 7:09 p.m.
1.29s
21.7 MB
100 / 100
AC | C++14
Ninjaclasher on Nov. 22, 2018, 10:53 p.m.
1.36s
7.6 MB
100 / 100
AC | C++14
deodeo on Nov. 11, 2019, 12:45 a.m.
1.36s
6.9 MB
100 / 100
AC | C++14
ApoapsisAlpha on Nov. 26, 2018, 3:40 p.m.
1.36s
6.9 MB
100 / 100
AC | C++17
Anatoly on Oct. 5, 2019, 7:00 p.m.
1.52s
7.6 MB
100 / 100
AC | C++17
thomas_li on Sept. 22, 2020, 8:21 p.m.
1.85s
7.6 MB
100 / 100
AC | C++14
eric574 on May 20, 2019, 11:14 p.m.
2.06s
7.7 MB
100 / 100
AC | C++11
jsumabat on Nov. 26, 2018, 6:34 p.m.
2.54s
7.6 MB
100 / 100
AC | PY3
yair on April 28, 2023, 2:01 p.m.
2.63s
20.6 MB
100 / 100
AC | PY3
Eric_Zhang on Nov. 28, 2018, 2:07 p.m.
3.62s
20.6 MB
100 / 100
AC | PY3
KurbyDoo on Feb. 10, 2023, 7:00 p.m.
3.75s
22.7 MB
100 / 100
AC | MONOCS
Thomas_Plagakis on Oct. 25, 2019, 10:33 a.m.
3.88s
34.8 MB
100 / 100
AC | PY3
IvanN on Aug. 13, 2021, 9:29 p.m.
4.48s
17.5 MB
100 / 100
AC | PY3
qwertytown4life on July 9, 2020, 8:57 p.m.
4.97s
20.9 MB
100 / 100
AC | C++14
Mystical on Oct. 7, 2019, 11:02 p.m.
12.25s
3.8 MB
100 / 100
AC | JAVA8
magicalsoup on April 12, 2019, 10:52 a.m.
14.92s
41.4 MB
100 / 100
AC | JAVA8
James_Zhang on Nov. 24, 2019, 12:02 p.m.
15.35s
42.6 MB
100 / 100
AC | JAVA8
CheezWhiz on Sept. 26, 2019, 8:59 p.m.
17.10s
41.6 MB
100 / 100
AC | JAVA8
sankeeth_ganeswaran on March 29, 2019, 10:55 p.m.
17.15s
36.2 MB
100 / 100
AC | JAVA8
Kevin on Oct. 19, 2019, 9:10 a.m.
18.00s
36.2 MB
100 / 100
AC | JAVA8
Henry_Zhang on April 4, 2019, 4:07 p.m.
18.65s
35.9 MB
100 / 100
AC | JAVA8
Adley_Lee on Dec. 9, 2022, 3:57 p.m.
19.52s
42.2 MB
100 / 100
AC | JAVA8
shuh on Oct. 18, 2019, 11:03 a.m.
19.57s
36.7 MB
100 / 100
AC | JAVA8
Encodeous on Dec. 9, 2022, 3:56 p.m.
19.79s
43.6 MB
100 / 100
AC | JAVA8
matt_tminh_doan on March 9, 2020, 3:06 p.m.
22.92s
42.0 MB
100 / 100
AC | JAVA8
QuantumFlare on Dec. 9, 2022, 3:51 p.m.
23.29s
44.0 MB
100 / 100
AC | JAVA8
louwuie on Feb. 14, 2020, 4:30 p.m.
24.15s
40.4 MB
100 / 100
AC | JAVA8
pbenum on Dec. 9, 2022, 3:47 p.m.
24.79s
43.0 MB
100 / 100
AC | JAVA8
Leo_Li_350112025 on Aug. 11, 2021, 7:41 p.m.
25.49s
46.9 MB
100 / 100
AC | JAVA8
Kira on Dec. 9, 2022, 3:52 p.m.
25.76s
42.9 MB
100 / 100
AC | JAVA8
selena_zhang on Nov. 23, 2019, 8:51 p.m.
26.32s
43.8 MB
100 / 100
AC | JAVA8
MilenaMijuskovic on Nov. 22, 2019, 5:46 p.m.
28.39s
35.7 MB
100 / 100
AC | JAVA8
BUZZLIGHTYEAR69 on April 11, 2020, 9:54 a.m.
29.96s
36.9 MB
100 / 100
AC | JAVA8
Samuel_Liu on Oct. 25, 2019, 2:30 p.m.
30.11s
36.2 MB
100 / 100
AC | JAVA8
Serog1sPerog1s on Nov. 21, 2019, 9:39 p.m.
30.96s
35.7 MB
100 / 100
AC | JAVA8
EgorGor on Nov. 22, 2019, 3:10 p.m.
31.13s
37.5 MB