Private submission
Private submission won't be visible to other users and
won't be taken into consideration in ranks.
Disqualify submission
Your submission will be disqualified. Operation
is not reversible.
Hidden submission
Public submission
Click here to view source code.

Source code of every submission to this problem
in this contest is public.
Help

Electric Needs statistics & best solutions

Users accepted Submissions Accepted Wrong Answer Compile Error Runtime Error Time Limit Exceeded
24 148 56 21 14 10 47

RANK DATE USER RESULT TIME MEM LANG
1 2011-06-06 23:25:15 Jakub Byczkowski accepted 0.06 2.8M C++ 4.3.2
2 2011-07-01 16:46:52 Carlos Eduardo Rodrigues Alves accepted 0.11 2.8M C++ 4.3.2
3 2011-07-24 12:50:29 Oone accepted 0.12 2.7M C++ 4.3.2
4 2025-05-26 18:07:17 yinyyy accepted 0.17 5.2M CPP14
5 2023-10-12 14:32:20 nikita accepted 0.18 5.3M CPP14
6 2023-10-12 03:17:05 c816 accepted 0.20 5.4M CPP
7 2025-05-30 07:24:45 root001 accepted 0.21 5.2M CPP14
8 2010-11-19 10:57:00 Rully Soelaiman accepted 0.22 2.7M C++ 4.3.2
9 2012-10-05 20:55:18 Eddy R. Morales Perez accepted 0.22 2.6M C++ 4.3.2
10 2013-07-14 17:01:46 Jai accepted 0.22 2.6M C++ 4.3.2
11 2023-08-24 08:42:57 Oleg accepted 0.22 5.2M CPP14
12 2010-11-05 23:46:17 Anton Lunyov accepted 0.24 2.6M C++ 4.3.2
13 2011-07-22 19:34:41 Gabriel Luís Mello Dalalio [ITA] accepted 0.25 2.8M C++ 4.3.2
14 2012-04-20 04:29:43 Paulo Cezar [UFG] accepted 0.26 2.6M C++ 4.3.2
15 2012-09-23 12:44:52 Kazi Rakibul Hossain accepted 0.26 3.5M C++ 4.3.2
16 2015-03-27 04:20:32 Fúlvio Abrahăo [Unifei] accepted 0.27 3.2M CPP14
17 2014-07-26 08:23:21 Fúlvio Abrahăo [Unifei] accepted 0.28 2.8M C++ 4.3.2
18 2013-09-19 10:23:05 dreamoon accepted 0.39 5.8M C++ 4.3.2
19 2012-10-08 04:02:58 Jose Carlos Gonzalez Fernandez[UCI2ndTWF] accepted 0.44 2.7M C++ 4.3.2
20 2011-06-15 08:16:16 [retired]grayluck accepted 0.48 2.6M C++ 4.3.2