Best solutions for IOI '14 P5 - Friend

100 / 100
AC | C++14
Xellos on Sept. 20, 2016, 11:38 a.m.
0.33s
4.1 MB
100 / 100
AC | C++11
d on Nov. 12, 2016, 12:04 a.m.
0.43s
3.5 MB
100 / 100
AC | C++14
kobortor on Nov. 12, 2016, 4:10 p.m.
0.44s
4.1 MB
100 / 100
AC | C++11
wleung_bvg on May 7, 2017, 2:22 p.m.
0.46s
3.3 MB
100 / 100
AC | C++11
ZQFMGB12 on Nov. 12, 2016, 1:47 p.m.
0.47s
4.1 MB
100 / 100
AC | C++14
bruce on Nov. 4, 2016, 8:54 p.m.
0.48s
3.6 MB
100 / 100
AC | C++14
zscoder on Jan. 2, 2017, 2:11 a.m.
0.52s
4.1 MB
100 / 100
AC | C++14
y0105w49 on April 7, 2018, 6:36 p.m.
0.57s
4.1 MB
100 / 100
AC | C++11
zhouzixiang2004 on Nov. 30, 2017, 4:17 p.m.
0.60s
3.3 MB
100 / 100
AC | C++11
jeffreyxiao on Aug. 22, 2016, 9:38 p.m.
0.65s
3.6 MB
100 / 100
AC | C++14
thebes on March 30, 2018, 3:23 p.m.
0.69s
4.1 MB
100 / 100
AC | C++11
thomas0115 on Nov. 12, 2016, 1:28 p.m.
0.70s
4.4 MB
100 / 100
AC | C++14
ksun48 on Aug. 22, 2016, 7:29 p.m.
0.72s
3.3 MB
100 / 100
AC | C++11
Solipsist on March 5, 2017, 8:13 p.m.
0.77s
4.0 MB
100 / 100
AC | C++14
koosaga on Oct. 9, 2018, 2:15 a.m.
0.78s
3.4 MB
100 / 100
AC | C++14
arararararararararararararagi on Nov. 30, 2018, 10:13 p.m.
0.87s
4.5 MB
100 / 100
AC | C
leonzalion on Dec. 2, 2019, 7:10 a.m.
0.88s
5.0 MB
100 / 100
AC | C++14
george_chen on March 30, 2018, 3:28 p.m.
0.89s
4.1 MB
100 / 100
AC | C++14
ChrisT on June 6, 2019, 11:10 p.m.
0.90s
4.1 MB
100 / 100
AC | C++03
imaxblue on Nov. 12, 2016, 11:39 a.m.
0.90s
9.0 MB
100 / 100
AC | C++14
azneye on Feb. 28, 2018, 11:49 p.m.
1.02s
5.2 MB
100 / 100
AC | C++11
Eeyore46656 on Nov. 30, 2018, 11:23 p.m.
1.03s
4.1 MB
100 / 100
AC | C++11
potop on June 7, 2019, 10:04 p.m.
1.04s
3.9 MB
100 / 100
AC | C++11
SooYeong on April 26, 2018, 1:29 p.m.
1.04s
4.1 MB
100 / 100
AC | C++11
luciocf on June 3, 2019, 6:49 p.m.
1.06s
4.9 MB
100 / 100
AC | C++14
whzzt on July 5, 2018, 9:00 a.m.
1.11s
5.0 MB
100 / 100
AC | C++14
tmwilliamlin168 on Aug. 26, 2018, 12:24 a.m.
1.11s
5.0 MB
100 / 100
AC | C++11
Cueball1234 on July 26, 2018, 5:00 p.m.
1.12s
4.1 MB
100 / 100
AC | C++11
hewmatt10 on Nov. 30, 2019, 3:56 p.m.
1.16s
4.2 MB
100 / 100
AC | C++11
AlanL on Nov. 30, 2019, 4:05 p.m.
1.21s
4.3 MB
100 / 100
AC | C++11
Bobliu on Nov. 30, 2019, 4:09 p.m.
1.22s
4.2 MB
100 / 100
AC | C
A_L_I_C_E_ on Nov. 30, 2019, 4:29 p.m.
1.25s
3.9 MB
100 / 100
AC | C++14
abacaba on Jan. 15, 2019, 8:30 a.m.
1.31s
3.4 MB
100 / 100
AC | C++14
AvaLovelace on March 3, 2019, 3:44 p.m.
1.35s
4.1 MB
100 / 100
AC | C++11
zxyl on June 24, 2019, 1:11 a.m.
1.36s
4.5 MB
100 / 100
AC | C++14
Roronoa_Zoro1540 on Dec. 5, 2019, 7:16 p.m.
1.46s
4.9 MB
100 / 100
AC | C++14
Justin on Nov. 30, 2019, 9:28 p.m.
1.50s
4.2 MB
100 / 100
AC | C++11
tikul on Jan. 1, 2019, 5:04 p.m.
1.55s
3.4 MB
100 / 100
AC | C++11
MarcoMeijer on Nov. 24, 2019, 1:18 a.m.
1.56s
5.7 MB
100 / 100
AC | C++11
rxdoi on June 16, 2018, 7:43 a.m.
1.59s
18.4 MB
100 / 100
AC | C++11
Beautiful_Times on May 27, 2019, 1:04 p.m.
1.66s
6.1 MB
100 / 100
AC | C
yeahbennou on Jan. 2, 2020, 2:57 p.m.
1.69s
3.9 MB
100 / 100
AC | C++11
wilwxk on April 4, 2019, 11:19 p.m.
1.94s
5.0 MB
100 / 100
AC | C++11
ReDeagle on Dec. 29, 2019, 3:06 p.m.
2.19s
4.2 MB
100 / 100
AC | C++14
Kirito on Dec. 27, 2017, 11:28 a.m.
2.42s
2.3 MB
100 / 100
AC | C++11
nishux on Jan. 6, 2018, 7:04 p.m.
2.69s
4.5 MB
100 / 100
AC | C++11
ChaKweTiau on Jan. 3, 2020, 8:07 a.m.
2.99s
4.8 MB
100 / 100
AC | C++11
rzbt on Jan. 25, 2018, 9:23 a.m.
3.69s
2.6 MB
justdoit on April 28, 2017, 4:37 p.m.
0.41s
3.6 MB
46 / 100
RTE | C++14
kevinponte2001 on Aug. 21, 2018, 12:03 p.m.
0.86s
6.4 MB