100 / 100
AC | C++17
c_zqz
on March 6, 2021, 11:18 p.m.
3.82s
367.58 MB
100 / 100
AC | C++17
Leonardo_Paes
on Aug. 31, 2020, 6:17 p.m.
3.85s
60.97 MB
100 / 100
AC | C++14
ArtyKing12
on June 11, 2020, 9:58 p.m.
3.87s
21.26 MB
100 / 100
AC | C++11
luciocf
on Aug. 31, 2020, 1:19 p.m.
3.91s
64.86 MB
100 / 100
AC | C++17
Legend_2
on Feb. 20, 2023, 7:49 a.m.
3.91s
342.69 MB
100 / 100
AC | C++20
RandomPerson123
on March 26, 2025, 8:33 p.m.
3.94s
333.36 MB
100 / 100
AC | C++17
Pig
on May 6, 2024, 2:59 a.m.
3.95s
67.68 MB
100 / 100
AC | C++14
scott_
on June 5, 2021, 7:14 p.m.
3.95s
46.16 MB
100 / 100
AC | JAVA8
Maillew
on June 13, 2020, 9:47 p.m.
3.98s
61.60 MB
100 / 100
AC | C++17
todaybrian
on Feb. 14, 2023, 6:16 p.m.
3.99s
59.44 MB
100 / 100
AC | C++14
Isaac13
on May 29, 2021, 2:15 a.m.
4.01s
142.74 MB
100 / 100
AC | C++20
Yell0
on May 16, 2021, 2:44 a.m.
4.03s
68.30 MB
100 / 100
AC | JAVA8
deadfish
on May 18, 2020, 2:05 p.m.
4.07s
67.83 MB
100 / 100
AC | C++17
ja_kingy
on March 21, 2020, 6:26 a.m.
4.11s
43.27 MB
100 / 100
AC | C++14
sa35577
on June 22, 2020, 9:19 p.m.
4.12s
70.01 MB
100 / 100
AC | C++17
jebouin
on May 28, 2022, 3:49 a.m.
4.13s
51.38 MB
100 / 100
AC | C++14
Evan
on Feb. 19, 2021, 3:54 p.m.
4.16s
67.97 MB
100 / 100
AC | C++20
RickeyZ
on Aug. 17, 2022, 2:15 a.m.
4.16s
59.45 MB
100 / 100
AC | C++14
zFa3
on Oct. 26, 2024, 4:14 p.m.
4.18s
59.93 MB
100 / 100
AC | C++17
crolando
on March 21, 2020, 1:52 p.m.
4.20s
59.60 MB
100 / 100
AC | C++17
ErnestoAbreu
on March 21, 2020, 1:52 p.m.
4.23s
59.52 MB
100 / 100
AC | C++17
YassirSalama
on March 13, 2024, 2:12 p.m.
4.24s
343.65 MB
100 / 100
AC | JAVA8
yubowang
on Nov. 16, 2020, 11:04 p.m.
4.24s
61.19 MB
100 / 100
AC | C++14
Ninjaclasher
on March 6, 2020, 10:09 p.m.
4.24s
37.23 MB
100 / 100
AC | Clang++
RaymondZheng1134
on March 17, 2024, 9:00 p.m.
4.32s
20.89 MB
100 / 100
AC | C++17
31501357
on June 22, 2020, 9:13 p.m.
4.33s
62.16 MB
100 / 100
AC | JAVA8
yzhao123
on Dec. 20, 2020, 8:00 p.m.
4.34s
62.82 MB
100 / 100
AC | JAVA8
CatGirl
on April 17, 2020, 4:02 p.m.
4.47s
68.70 MB
100 / 100
AC | C++20
Wobert
on Jan. 11, 2023, 12:27 a.m.
4.53s
59.46 MB
100 / 100
AC | C++20
05st
on Sept. 6, 2022, 9:57 p.m.
4.58s
46.49 MB
100 / 100
AC | C++11
faraz123
on Sept. 30, 2020, 8:42 p.m.
4.59s
220.15 MB
100 / 100
AC | C++20
yashhthakkar
on April 30, 2024, 9:00 p.m.
4.64s
37.55 MB
100 / 100
AC | JAVA8
Daniel_Alp
on May 5, 2022, 12:57 a.m.
4.65s
65.10 MB
100 / 100
AC | C++17
16BitNarwhal
on April 12, 2021, 6:42 p.m.
4.68s
30.67 MB
100 / 100
AC | C++14
Lost
on July 13, 2021, 1:42 p.m.
4.69s
256.72 MB
100 / 100
AC | C++17
Trentium
on March 4, 2021, 4:35 p.m.
4.71s
61.61 MB
100 / 100
AC | C++20
mtamer16902
on Sept. 28, 2024, 12:44 a.m.
4.72s
43.91 MB
100 / 100
AC | C++20
JojoTheWarrior
on July 29, 2022, 9:38 p.m.
4.76s
229.29 MB
100 / 100
AC | C++11
DmojLover47
on July 26, 2021, 5:09 p.m.
4.79s
63.30 MB
100 / 100
AC | C++11
BridgeEasy
on April 17, 2021, 2:47 a.m.
4.79s
37.27 MB
100 / 100
AC | C++11
4fecta
on March 6, 2020, 8:25 p.m.
4.93s
69.84 MB
100 / 100
AC | C++11
Victor_Chan
on May 25, 2021, 2:43 a.m.
4.93s
183.34 MB
100 / 100
AC | C++11
matheuslealv
on Aug. 31, 2020, 2:52 a.m.
5.00s
181.92 MB
100 / 100
AC | JAVA8
bigskid
on April 17, 2021, 7:04 p.m.
5.04s
67.64 MB
100 / 100
AC | C++17
YidiChen
on May 26, 2021, 12:01 a.m.
5.06s
125.18 MB
100 / 100
AC | C++11
Andycipation
on March 8, 2020, 3:33 a.m.
5.09s
45.53 MB
100 / 100
AC | JAVA8
Mark123
on April 17, 2021, 7:06 p.m.
5.10s
68.05 MB
100 / 100
AC | C++14
crackersamdjam
on Sept. 2, 2019, 11:18 p.m.
5.25s
45.71 MB
100 / 100
AC | C++17
ronnith
on Feb. 12, 2021, 1:20 p.m.
5.31s
65.02 MB
100 / 100
AC | C++11
HenryYi
on April 17, 2021, 7:07 p.m.
5.64s
61.85 MB