Best solutions for A Cycle Problem

100 / 100
AC | C++11
ssheep on Dec. 4, 2018, 11:16 a.m.
0.11s
1.8 MB
100 / 100
AC | C++14
wleung_bvg on July 10, 2019, 6:24 p.m.
0.15s
1.8 MB
100 / 100
AC | HASK
Ninjaclasher on June 29, 2019, 11:54 a.m.
0.19s
3.2 MB
100 / 100
AC | RUBY2
yes on Dec. 13, 2018, 12:04 p.m.
0.34s
5.9 MB
100 / 100
AC | C++14
hewmatt10 on Feb. 24, 2020, 2:17 p.m.
0.37s
1.8 MB
100 / 100
AC | C
_ on Dec. 15, 2018, 10:05 p.m.
0.40s
772.0 KB
100 / 100
AC | C++14
jsumabat on Dec. 16, 2018, 9:39 p.m.
0.41s
1.8 MB
100 / 100
AC | C++11
MstrPikachu on Dec. 13, 2018, 12:07 p.m.
0.42s
1.8 MB
100 / 100
AC | C++14
ChrisT on April 8, 2019, 1:38 a.m.
0.80s
1.7 MB
100 / 100
AC | C++11
magicalsoup on Sept. 19, 2019, 10:06 p.m.
0.90s
1.7 MB
100 / 100
AC | PY3
justinzhu on Feb. 24, 2020, 1:52 p.m.
1.43s
9.1 MB
100 / 100
AC | JAVA8
mckee11223 on Sept. 14, 2019, 2:43 p.m.
2.95s
27.4 MB
100 / 100
AC | JAVA8
The_Casual_Noob on April 7, 2019, 11:26 p.m.
3.02s
27.5 MB
100 / 100
AC | JAVA8
Kstar on Dec. 12, 2018, 11:43 p.m.
3.37s
27.6 MB
100 / 100
AC | JAVA8
thejammer on Dec. 20, 2018, 12:39 p.m.
3.55s
27.8 MB
100 / 100
AC | JAVA8
Evil on Dec. 4, 2018, 8:44 p.m.
3.62s
27.7 MB
100 / 100
AC | JAVA8
Dmoj on Dec. 8, 2019, 11:25 a.m.
3.89s
26.7 MB
100 / 100
AC | JAVA8
loluwot on Dec. 11, 2018, 1:30 p.m.
4.19s
28.8 MB
50 / 100
TLE | C++14
rcshim04 on Feb. 26, 2020, 2:11 p.m.
---
67.0 MB
50 / 100
TLE | PDE
yeahbennou on Jan. 4, 2020, 9:51 p.m.
---
47.4 MB