Best solutions for CCC '11 S5 - Switch

quantum
on March 10, 2015, 12:03 a.m.
0.13s
444.00 KB
80 / 100
RTE | C++03
Fan_wcipeg
on Feb. 11, 2012, 2:44 p.m.
0.88s
37.45 MB
r3mark_wcipeg
on April 24, 2016, 7:35 p.m.
0.89s
1.14 MB
vguo
on Jan. 29, 2018, 5:23 p.m.
1.00s
1.54 MB
r3mark
on April 24, 2016, 7:29 p.m.
1.93s
496.00 KB
80 / 100
TLE | JAVA8
战绝
on Jan. 15, 2021, 5:02 a.m.
---
101.33 MB
80 / 100
TLE | C++11
tincan
on Feb. 1, 2020, 8:27 p.m.
---
29.38 MB
80 / 100
TLE | JAVA8
SooYeong
on April 3, 2018, 2:57 p.m.
---
53.00 MB
11 / 15
MLE | C++14
saku
52 days ago
0.55s
257.61 MB
tle_mle
on Dec. 31, 2022, 2:48 p.m.
0.03s
3.32 MB
70 / 100
IR | PY2
SourSpinach
on June 10, 2011, 8:39 p.m.
0.11s
8.93 MB
kayano
on Dec. 6, 2019, 10:57 p.m.
0.14s
1.64 MB
prophet
on March 7, 2021, 9:00 p.m.
0.28s
9.50 MB
CubixularHelix
on April 8, 2022, 1:02 a.m.
0.31s
9.65 MB
NathanGu12345
on Feb. 4, 2023, 6:22 a.m.
0.63s
37.47 MB
70 / 100
MLE | C++11
Tomahawk
on Jan. 15, 2020, 2:34 a.m.
1.00s
277.64 MB
70 / 100
MLE | C++11
brunoalmeida_wcipeg
on Oct. 29, 2014, 10:27 p.m.
1.06s
66.11 MB
CheezWhiz
on Jan. 25, 2020, 10:45 p.m.
1.58s
38.30 MB
TonyTian
on Dec. 6, 2016, 1:51 a.m.
1.75s
27.48 MB
70 / 100
TLE | C++03
Ryzon
on Feb. 8, 2023, 3:07 a.m.
---
274.49 MB
70 / 100
TLE | JAVA8
lookcook
on Jan. 24, 2020, 3:24 a.m.
---
103.88 MB
70 / 100
TLE | JAVA8
PiMachine_wcipeg
on Jan. 27, 2016, 7:21 p.m.
---
106.09 MB
70 / 100
TLE | C++14
lemondeath
on Dec. 10, 2020, 5:24 a.m.
---
66.78 MB
70 / 100
TLE | JAVA8
Iburinoc_wcipeg
on Feb. 9, 2014, 1:23 a.m.
---
102.91 MB
70 / 100
TLE | PY3
Danimator
on Jan. 11, 2017, 9:31 p.m.
---
7.61 MB
70 / 100
TLE | C++17
TheZombieCloud
on Jan. 25, 2018, 1:02 a.m.
---
2.98 MB
70 / 100
TLE | PYPY3
Kellen
on Dec. 12, 2022, 2:43 p.m.
---
285.56 MB
70 / 100
TLE | JAVA8
zhuang001
on May 15, 2023, 2:24 a.m.
---
284.98 MB
70 / 100
TLE | C++11
fishlicker_wcipeg
on June 28, 2017, 2:44 p.m.
---
1.20 MB
70 / 100
TLE | JAVA8
allenzhang0106
on May 14, 2023, 9:42 p.m.
---
184.63 MB
70 / 100
TLE | PY2
sas5580_wcipeg
on Feb. 11, 2015, 11:32 p.m.
---
6.00 MB
70 / 100
TLE | JAVA8
Evan_Yu123
on Nov. 16, 2017, 3:35 p.m.
---
293.96 MB
70 / 100
TLE | JAVA8
PiMachine
on Jan. 27, 2016, 7:23 p.m.
---
87.18 MB
60 / 100
MLE | C++11
DanielMcIntosh_wcipeg
on Dec. 10, 2014, 10:11 p.m.
0.49s
65.63 MB
maxcruickshanks
on June 2, 2020, 5:37 p.m.
1.22s
169.73 MB
brewer
on May 8, 2019, 1:12 a.m.
2.04s
29.99 MB
60 / 100
TLE | C++11
002
on Jan. 6, 2018, 2:18 a.m.
---
5.42 MB
60 / 100
TLE | C++11
tikul
on July 2, 2018, 1:09 p.m.
---
107.14 MB
60 / 100
TLE | C++03
andyilyas
on June 28, 2014, 2:55 p.m.
---
1.14 MB
60 / 100
TLE | JAVA
jenniferli1098
on Jan. 31, 2019, 2:54 a.m.
---
107.04 MB
nexus257
47 days ago
0.33s
23.26 MB
murilogbr
on May 11, 2015, 11:49 p.m.
0.02s
1.20 MB
Bobliu
on May 4, 2019, 2:08 a.m.
0.16s
1.64 MB
50 / 100
RTE | C++14
tanvirdeol2003
on April 17, 2020, 9:24 p.m.
0.20s
3.33 MB
marshmelllo
on May 17, 2017, 9:01 p.m.
0.41s
7.65 MB
SimonV
on April 22, 2023, 8:05 p.m.
1.06s
65.14 MB
pro
on Jan. 3, 2019, 1:20 a.m.
1.51s
27.38 MB
50 / 100
RTE | C++03
ThreeInches
on Jan. 30, 2016, 6:21 p.m.
1.69s
174.75 MB
50 / 100
TLE | PY3
Roy100
on Feb. 11, 2023, 5:19 p.m.
---
63.97 MB
Henry_Gao
on May 2, 2019, 10:33 p.m.
2.40s
28.44 MB