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

Zig when you zag statistics & best solutions

Users accepted Submissions Accepted Wrong Answer Compile Error Runtime Error Time Limit Exceeded
36 184 58 78 9 1 30

RANK DATE USER RESULT TIME MEM LANG
1 2020-07-14 21:38:28 AmanG247 accepted 0.18 4.7M CPP14
2 2023-07-15 22:19:21 Rully Soelaiman accepted 0.21 5.3M CPP
3 2023-07-15 17:28:57 kn_1111 accepted 0.24 5.4M CPP14
4 2013-12-12 22:12:41 Ivan Katanic accepted 0.30 18M C++ 4.3.2
5 2025-05-22 04:58:58 why accepted 0.31 5.2M CPP14
6 2025-05-27 09:39:38 yuliangsong accepted 0.33 5.2M CPP14
7 2019-09-14 08:07:10 gauravsingh_ accepted 0.39 34M CPP14
8 2022-12-05 02:44:24 smax accepted 0.53 50M CPP14
9 2013-12-19 07:37:53 Lewin Gan accepted 0.59 1399M JAVA
10 2021-11-21 07:54:27 Jialin Ouyang accepted 0.62 66M CPP14
11 2021-12-17 23:47:22 Tomasz accepted 0.74 5.3M CPP14-CLANG
12 2025-05-05 21:21:54 near_crowd accepted 0.74 34M CPP14
13 2016-05-04 07:25:37 Min_25 accepted 0.95 3.4M CPP14
14 2013-12-14 13:59:35 Stjepan accepted 0.99 36M C++ 4.3.2
15 2016-02-29 04:30:21 [Rampage] Blue.Mary accepted 1.14 2.8M C++ 4.3.2
16 2023-03-20 00:53:14 Oleg accepted 1.17 65M CPP14
17 2017-01-05 19:55:30 gustav accepted 1.38 34M CPP14
18 2017-01-04 13:00:30 Goran Zuzic accepted 1.40 34M CPP14
19 2021-09-02 13:50:47 trentium accepted 1.47 34M CPP14
20 2024-12-23 13:58:09 mualanhlung017 accepted 1.61 287M CPP14