250 / 250
AC | C++11
sidhant
on Feb. 9, 2016, 9:52 a.m.
2.30s
25.90 MB
250 / 250
AC | C++11
Noam527_wcipeg
on Feb. 27, 2019, 5:18 p.m.
2.42s
25.80 MB
250 / 250
AC | C++11
harisxyz
on July 25, 2019, 6:58 p.m.
2.43s
6.06 MB
250 / 250
AC | C++11
zhouzixiang2004
on July 4, 2017, 2:47 p.m.
2.49s
25.84 MB
250 / 250
AC | C++11
marian
on June 5, 2017, 1:59 p.m.
2.61s
25.83 MB
250 / 250
AC | C++11
nirshalmon_wcipeg
on Feb. 11, 2017, 4:32 p.m.
2.63s
2.68 MB
250 / 250
AC | C++17
JeffLegendPower
on Jan. 28, 2025, 10:04 p.m.
2.64s
27.61 MB
250 / 250
AC | C++17
Sundavar
on June 3, 2021, 6:33 p.m.
2.71s
26.94 MB
250 / 250
AC | C++03
sergio_vieri
on Dec. 25, 2015, 4:50 a.m.
2.73s
25.82 MB
250 / 250
AC | C++11
echo80313_wcipeg
on May 5, 2015, 9:00 a.m.
3.03s
50.35 MB
250 / 250
AC | C++11
luciocf
on Sept. 15, 2020, 2:42 a.m.
3.55s
50.53 MB
250 / 250
AC | C++20
nehasane13
on Nov. 19, 2022, 2:36 p.m.
3.81s
26.27 MB
250 / 250
AC | C++03
minh141198_wcipeg
on July 17, 2015, 2:46 p.m.
3.83s
5.46 MB
250 / 250
AC | JAVA8
jeffreyxiao_wcipeg
on May 10, 2015, 4:12 p.m.
3.87s
72.55 MB
250 / 250
AC | C++11
luciocf_wcipeg
on June 19, 2019, 12:49 a.m.
3.92s
49.77 MB
250 / 250
AC | C++17
Ahmadsm2005
on July 25, 2022, 12:11 p.m.
3.96s
26.15 MB
250 / 250
AC | C++03
ikatanic_wcipeg
on June 18, 2010, 6:53 p.m.
4.05s
49.34 MB
250 / 250
AC | C++03
intager_wcipeg
on May 9, 2015, 3:15 p.m.
4.17s
49.81 MB
250 / 250
AC | C++03
Josetapia_wcipeg
on April 12, 2016, 5:04 a.m.
4.27s
49.52 MB
250 / 250
AC | C++03
ryanch1
on Jan. 30, 2012, 8:50 a.m.
4.52s
25.89 MB
250 / 250
AC | C++11
ORmorni_wcipeg
on July 3, 2016, 1:25 p.m.
5.12s
35.36 MB
250 / 250
AC | C++03
rogerioagjr
on March 31, 2016, 12:18 p.m.
5.18s
2.29 MB
250 / 250
AC | C++11
Tanay1998
on June 11, 2015, 5:39 a.m.
5.69s
20.43 MB
250 / 250
AC | C++03
phoenix_wcipeg
on April 23, 2015, 8:59 a.m.
6.23s
26.78 MB
250 / 250
AC | C++17
876pol
on March 13, 2024, 1:21 a.m.
6.44s
6.53 MB
250 / 250
AC | C++11
idan_izmirli_wcipeg
on Aug. 17, 2018, 11:31 a.m.
6.49s
2.89 MB
250 / 250
AC | JAVA8
xiaowuc1
on May 25, 2015, 11:38 p.m.
6.69s
65.97 MB
250 / 250
AC | C++11
sandro1234
on July 7, 2015, 7:27 a.m.
6.83s
25.88 MB
250 / 250
AC | C++20
omsi
on March 20, 2024, 3:24 a.m.
7.51s
6.72 MB
250 / 250
AC | C++20
Yahia_Emara
on July 23, 2022, 10:13 a.m.
11.33s
36.17 MB
Optx
on July 25, 2019, 4:02 p.m.
3.90s
25.85 MB
230 / 250
RTE | C++11
va2010
on May 6, 2018, 10:47 p.m.
5.06s
66.21 MB
220 / 250
TLE | C++11
Pinbur
on Aug. 5, 2018, 1:13 a.m.
---
26.48 MB
210 / 250
TLE | C++11
plekkpea_wcipeg
on July 29, 2019, 5:17 p.m.
---
2.89 MB
evilncrazy
on March 31, 2012, 8:15 a.m.
1.17s
25.26 MB
luccasiau
on June 5, 2015, 2:12 p.m.
2.48s
49.96 MB
StanCatalin
on Feb. 20, 2020, 4:32 p.m.
4.22s
50.17 MB
rmumi
on July 1, 2014, 8:47 a.m.
3.74s
5.04 MB
130 / 250
MLE | C++20
jrgeorgec
on Dec. 15, 2024, 5:25 a.m.
2.79s
67.16 MB
130 / 250
MLE | C++17
Aaeria
on Sept. 12, 2020, 6:06 p.m.
2.90s
66.55 MB
120 / 250
MLE | C++11
imaxblue
on June 20, 2017, 2:19 p.m.
7.33s
66.39 MB
110 / 250
MLE | C++11
barsa492_wcipeg
on Jan. 30, 2017, 1:12 p.m.
6.92s
66.40 MB
110 / 250
TLE | C++11
Tomer_wcipeg
on July 2, 2016, 8:32 a.m.
---
2.75 MB
100 / 250
MLE | C++11
fifiman_wcipeg
on May 9, 2015, 8:18 p.m.
8.61s
66.39 MB
100 / 250
TLE | C++17
Lithanium
on Dec. 26, 2024, 5:20 a.m.
---
67.16 MB
90 / 250
MLE | C++11
yokozuna57
on July 26, 2015, 4:26 p.m.
8.40s
66.45 MB
90 / 250
TLE | PY3
sss2024
on Nov. 19, 2024, 3:38 a.m.
---
70.64 MB
gustason
on Sept. 21, 2020, 8:37 p.m.
0.07s
3.02 MB
70 / 250
MLE | C++11
markin2000_wcipeg
on June 29, 2016, 3:56 p.m.
0.83s
66.38 MB
40 / 250
RTE | C++03
akshatb
on April 2, 2014, 10:41 a.m.
0.11s
2.96 MB