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

Two "Ways" statistics & best solutions

Users accepted Submissions Accepted Wrong Answer Compile Error Runtime Error Time Limit Exceeded
66 671 104 182 28 114 228

RANK DATE USER RESULT TIME MEM LANG
1 2011-06-07 17:39:52 Sebastian Nowak accepted 0.04 3.1M C++ 4.3.2
2 2010-08-16 04:41:14 3xian accepted 0.06 7.8M C++ 4.3.2
3 2011-07-28 08:59:23 coup de grace accepted 0.06 14M C++ 4.3.2
4 2013-07-18 03:50:39 Jonathan Queiroz accepted 0.06 6.6M C++ 4.3.2
5 2011-11-17 17:15:12 Problem Solver accepted 0.07 9.1M C++ 4.3.2
6 2017-10-26 20:35:49 Joăo Lopes accepted 0.07 20M CPP14
7 2010-06-25 15:45:49 Shaka Shadows accepted 0.08 7.0M C++ 4.3.2
8 2015-03-04 12:40:18 ivanilos accepted 0.08 3.6M C++ 4.3.2
9 2010-04-03 11:37:25 Hy Trường Sơn accepted 0.09 8.2M PAS-FPC
10 2016-11-08 17:49:01 Guilherme Bueno Andrade accepted 0.09 4.8M CPP14
11 2019-07-08 00:22:59 Arthur Dadalto accepted 0.09 30M CPP14
12 2025-07-18 12:15:58 liugh accepted 0.09 8.3M CPP14
13 2009-10-30 13:08:24 Oleg accepted 0.10 7.0M CPP
14 2009-10-30 14:40:57 (^^,) accepted 0.10 5.7M PAS-FPC
15 2010-02-27 14:26:58 Erjin Zhou accepted 0.10 15M CPP
16 2010-06-23 17:25:42 Eternia accepted 0.10 11M C++ 4.3.2
17 2016-03-13 05:47:40 José Carlos Gutiérrez accepted 0.11 3.6M CPP14
18 2016-09-28 19:53:10 Aidos accepted 0.11 6.8M CPP
19 2010-04-14 15:16:32 shangjingbo accepted 0.12 9.4M CPP
20 2010-08-08 23:24:03 Stjepan accepted 0.12 6.2M C++ 4.3.2