Helvetic Coding Contest 2018 online mirror (teams allowed, unrated)

Solutions are presented as using the least memory and the fastest execution time. It also takes the top 10 most recent solutions from each language. If you want to limit to a specific index, click the "Solved" button and go to that problem.

ContestId
Name
Phase
Frozen
Duration (Seconds)
Relative Time
Start Time
958 Helvetic Coding Contest 2018 online mirror (teams allowed, unrated) FINISHED False 18000 213836124 April 14, 2018, 7:05 a.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 2939 ) C1 Encryption (easy) PROGRAMMING brute force 1400

B'Rebel spy Heidi has just obtained the plans for the Death Star from the Empire and, now on her way to safety, she is trying to break the encryption of the plans (of course they are encrypted xe2 x80 x93 the Empire may be evil, but it is not stupid!). The encryption has several levels of security, and here is how the first one looks. Heidi is presented with a screen that shows her a sequence of integers A and a positive integer p. She knows that the encryption code is a single number S, which is defined as follows: Define the score of X to be the sum of the elements of X modulo p. Heidi is given a sequence A that consists of N integers, and also given an integer p. She needs to split A into 2 parts such that: Output the sum S, which is the encryption code. The first line of the input contains two space-separated integer N and p (2 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89N xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89100 xe2 x80 x89000, 2 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89p xe2 x80 x89 xe2 x89 xa4 xe2 x80 x8910 xe2 x80 x89000) xe2 x80 x93 the number of elements in A, and the modulo for computing scores, respectively. The second line contains N space-separated integers which are the elements of A. Each integer is from the interval [1, xe2 x80 x891 xe2 x80 x89000 xe2 x80 x89000]. Output the number S as described in the problem statement. In the first example, the score is maximized if the input sequence is split into two parts as (3, xe2 x80 x894), (7, xe2 x80 x892). It gives the total score of . In the second example, the score is maximized if the first part consists of the first three elements, and the second part consists of the rest. Then, the score is . '...

Tutorials

helvetic-coding-contest-2018-editorial.pdf

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
37313516 ywr wh030115 C1 April 14, 2018, 7:46 a.m. OK FPC TESTS 27 31 3891200 1400
37358017 triggered_Man C1 April 15, 2018, 4:59 p.m. OK GNU C TESTS 27 31 3686400 1400
37389410 armoking C1 April 17, 2018, 7:42 a.m. OK GNU C TESTS 27 31 4096000 1400
38442646 machete C1 May 19, 2018, 9:07 p.m. OK GNU C TESTS 27 46 819200 1400
38442557 machete C1 May 19, 2018, 9:01 p.m. OK GNU C TESTS 27 46 819200 1400
37324127 sgtlaugh C1 April 14, 2018, 10:59 a.m. OK GNU C TESTS 27 46 11366400 1400
37313062 richerkingship eniacding LS_cak C1 April 14, 2018, 7:40 a.m. OK GNU C++ TESTS 27 30 4096000 1400
37347153 thbzuishuai666 C1 April 15, 2018, 7:48 a.m. OK GNU C++ TESTS 27 30 4505600 1400
37314355 VCT Cansult zzzyc C1 April 14, 2018, 7:57 a.m. OK GNU C++ TESTS 27 30 19558400 1400
40500339 vjudge2 C1 July 18, 2018, 5:48 a.m. OK GNU C++ TESTS 27 31 409600 1400
40077971 vjudge5 C1 July 8, 2018, 7:06 a.m. OK GNU C++ TESTS 27 31 409600 1400
40076763 vjudge3 C1 July 8, 2018, 6:03 a.m. OK GNU C++ TESTS 27 31 409600 1400
40499718 vjudge3 C1 July 18, 2018, 5:16 a.m. OK GNU C++ TESTS 27 31 1638400 1400
37319611 wzhqwq C1 April 14, 2018, 9:15 a.m. OK GNU C++ TESTS 27 31 3686400 1400
37313658 ntftxdy C1 April 14, 2018, 7:48 a.m. OK GNU C++ TESTS 27 31 3686400 1400
37312494 massimodong notFancy C1 April 14, 2018, 7:33 a.m. OK GNU C++ TESTS 27 31 3891200 1400
37311135 HolyK thx AdzearDisjudge C1 April 14, 2018, 7:16 a.m. OK GNU C++11 TESTS 27 30 4300800 1400
57740463 py_ultron C1 July 25, 2019, 11:18 a.m. OK GNU C++11 TESTS 27 31 0 1400
49181083 vjudge3 C1 Jan. 30, 2019, 1:47 a.m. OK GNU C++11 TESTS 27 31 0 1400
49180650 vjudge1 C1 Jan. 30, 2019, 1:21 a.m. OK GNU C++11 TESTS 27 31 0 1400
49227296 vjudge2 C1 Jan. 31, 2019, 1:48 a.m. OK GNU C++11 TESTS 27 31 204800 1400
48481074 vjudge5 C1 Jan. 17, 2019, 6:06 a.m. OK GNU C++11 TESTS 27 31 204800 1400
46740338 ReallyNewBie C1 Dec. 8, 2018, 1:33 a.m. OK GNU C++11 TESTS 27 31 409600 1400
65510013 Heartbeat666 C1 Nov. 22, 2019, 2:52 a.m. OK GNU C++11 TESTS 27 31 819200 1400
54649861 vjudge4 C1 May 26, 2019, 4:25 a.m. OK GNU C++11 TESTS 27 31 819200 1400
40932560 ReaLNero1 C1 July 30, 2018, 1:53 a.m. OK GNU C++11 TESTS 27 31 819200 1400
38425563 llbra8z C1 May 19, 2018, 9:37 a.m. OK GNU C++14 TESTS 27 31 307200 1400
56823996 shuai_hui C1 July 11, 2019, 2:50 a.m. OK GNU C++14 TESTS 27 31 819200 1400
46975967 1.o4 C1 Dec. 13, 2018, 4:35 p.m. OK GNU C++14 TESTS 27 31 819200 1400
42885470 iddilov daninnm Anton_Chernev C1 Sept. 15, 2018, 9:34 a.m. OK GNU C++14 TESTS 27 31 819200 1400
47164407 nomiku99 C1 Dec. 17, 2018, 11:47 a.m. OK GNU C++14 TESTS 27 31 921600 1400
68120776 Priyank C1 Jan. 3, 2020, 1:14 p.m. OK GNU C++14 TESTS 27 31 1638400 1400
56654549 zeus_iitg C1 July 7, 2019, 8:22 a.m. OK GNU C++14 TESTS 27 31 1638400 1400
37910936 Belgacem C1 May 5, 2018, 4:13 p.m. OK GNU C++14 TESTS 27 31 3584000 1400
38097391 Kyrielight C1 May 10, 2018, 4:48 p.m. OK GNU C++14 TESTS 27 31 3788800 1400
37480183 I_love_hyumasik_pivasik C1 April 20, 2018, 7:56 a.m. OK GNU C++14 TESTS 27 31 3788800 1400
54837324 tomsyd C1 May 30, 2019, 11:24 a.m. OK GNU C++17 TESTS 27 31 409600 1400
52016445 Edvard Gerald caustique C1 March 30, 2019, 10:46 a.m. OK GNU C++17 TESTS 27 31 409600 1400
52740860 vjudge5 C1 April 14, 2019, 8:56 a.m. OK GNU C++17 TESTS 27 31 819200 1400
51829487 FoolDresden C1 March 25, 2019, 3:30 p.m. OK GNU C++17 TESTS 27 31 819200 1400
56639498 dionysios C1 July 6, 2019, 11:28 p.m. OK GNU C++17 TESTS 27 31 1638400 1400
49388453 WorkHard42 C1 Feb. 3, 2019, 8:21 a.m. OK GNU C++17 TESTS 27 31 1843200 1400
37311389 CTTTCNNN C1 April 14, 2018, 7:19 a.m. OK GNU C++17 TESTS 27 31 3788800 1400
37314460 ladycoco C1 April 14, 2018, 7:58 a.m. OK GNU C++17 TESTS 27 31 3891200 1400
37521776 egekabas C1 April 21, 2018, 6:46 p.m. OK GNU C++17 TESTS 27 31 3993600 1400
37315334 Su. Aliyah.C wwyyy C1 April 14, 2018, 8:10 a.m. OK GNU C++17 TESTS 27 31 4198400 1400
54529353 wweck C1 May 23, 2019, 4:14 p.m. OK Java 8 TESTS 27 124 0 1400
37344693 deepraiya17 C1 April 15, 2018, 5:56 a.m. OK Java 8 TESTS 27 124 21299200 1400
37355028 Ahmad C1 April 15, 2018, 2:03 p.m. OK Java 8 TESTS 27 124 21401600 1400
52733618 maheshwari29 C1 April 14, 2019, 5:21 a.m. OK Java 8 TESTS 27 139 0 1400
37311567 guptautkarsh028 Abhishek_8 C1 April 14, 2018, 7:21 a.m. OK Java 8 TESTS 27 139 20684800 1400
37311334 tmwilliamlin168 C1 April 14, 2018, 7:18 a.m. OK Java 8 TESTS 27 139 20787200 1400
61363492 sameep17264 yotin vaibhavpulastya C1 Sept. 27, 2019, 12:49 p.m. OK Java 8 TESTS 27 140 0 1400
37323188 poikniok C1 April 14, 2018, 10:31 a.m. OK Java 8 TESTS 27 140 20684800 1400
37318028 ViciousCoder C1 April 14, 2018, 8:49 a.m. OK Java 8 TESTS 27 140 20684800 1400
37320339 KulikAlex C1 April 14, 2018, 9:29 a.m. OK Java 8 TESTS 27 140 20787200 1400
46828887 nuralamcse024 C1 Dec. 9, 2018, 8:24 p.m. OK JavaScript TESTS 27 62 12083200 1400
46828820 nuralamcse024 C1 Dec. 9, 2018, 8:21 p.m. OK JavaScript TESTS 27 77 12083200 1400
56672685 og.kostya C1 July 7, 2019, 1:52 p.m. OK Mono C# TESTS 27 46 716800 1400
37377963 AnatolyTolstobrov C1 April 16, 2018, 4:15 p.m. OK Mono C# TESTS 27 46 8499200 1400
37380501 TRR C1 April 16, 2018, 6:24 p.m. OK Mono C# TESTS 27 61 18329600 1400
37443716 nixmulta C1 April 18, 2018, 4:53 p.m. OK Mono C# TESTS 27 77 88985600 1400
37322566 1291835312 C1 April 14, 2018, 10:18 a.m. OK MS C++ TESTS 27 31 3891200 1400
37860103 cly666 C1 May 3, 2018, 11:19 a.m. OK MS C++ TESTS 27 31 4300800 1400
40076423 vjudge2 C1 July 8, 2018, 5:45 a.m. OK MS C++ TESTS 27 78 409600 1400
37374595 MenOfPassion C1 April 16, 2018, 1:55 p.m. OK MS C++ TESTS 27 78 4710400 1400
37313502 hys0124 C1 April 14, 2018, 7:46 a.m. OK MS C++ TESTS 27 78 4812800 1400
40500093 vjudge2 C1 July 18, 2018, 5:35 a.m. OK MS C++ TESTS 27 93 409600 1400
37314878 PBOVE C1 April 14, 2018, 8:04 a.m. OK MS C++ TESTS 27 93 3891200 1400
37322110 Jayden123 C1 April 14, 2018, 10:07 a.m. OK MS C++ TESTS 27 93 4300800 1400
37334245 Ahmedmustafa peter_tharwat mostafa_gamal_564 C1 April 14, 2018, 4:43 p.m. OK MS C++ TESTS 27 93 4300800 1400
37312896 vphuong214 C1 April 14, 2018, 7:38 a.m. OK MS C++ TESTS 27 93 4300800 1400
54452918 kauai68 C1 May 21, 2019, 2:26 p.m. OK MS C++ 2017 TESTS 27 109 1228800 1400
37322037 mayakin C1 April 14, 2018, 10:05 a.m. OK PHP TESTS 27 108 18022400 1400
37311943 deadkey exoji2e C1 April 14, 2018, 7:26 a.m. OK PyPy 2 TESTS 27 124 29696000 1400
37312582 potpath C1 April 14, 2018, 7:34 a.m. OK PyPy 3 TESTS 27 186 32153600 1400
66129667 pranavcool4 C1 Dec. 1, 2019, 10:54 a.m. OK PyPy 3 TESTS 27 218 10240000 1400
37318337 MatchesMalone_ C1 April 14, 2018, 8:54 a.m. OK PyPy 3 TESTS 27 218 35328000 1400
62150383 Unpossible C1 Oct. 8, 2019, 4:27 p.m. OK PyPy 3 TESTS 27 280 19456000 1400
37312257 pavankatta C1 April 14, 2018, 7:30 a.m. OK Python 2 TESTS 27 234 11571200 1400
37324516 licaroli C1 April 14, 2018, 11:20 a.m. OK Python 2 TESTS 27 234 12492800 1400
37894766 xqma C1 May 5, 2018, 2:55 a.m. OK Python 2 TESTS 27 264 19968000 1400
51436057 gaidash C1 March 18, 2019, 6:28 a.m. OK Python 2 TESTS 27 280 5632000 1400
37319152 angoncal C1 April 14, 2018, 9:07 a.m. OK Python 2 TESTS 27 779 12083200 1400
37534065 Qumeric C1 April 22, 2018, 1:18 p.m. OK Python 3 TESTS 27 124 14336000 1400
37320931 Maksim1744 C1 April 14, 2018, 9:41 a.m. OK Python 3 TESTS 27 124 14438400 1400
37368947 LordBekket Evgeniy97 sergovoy C1 April 16, 2018, 10 a.m. OK Python 3 TESTS 27 156 17817600 1400
38340474 fengziandone C1 May 17, 2018, 7:03 a.m. OK Python 3 TESTS 27 171 7065600 1400
37338651 naruhodou C1 April 14, 2018, 8:05 p.m. OK Python 3 TESTS 27 171 14336000 1400
37333577 _lucifer_ C1 April 14, 2018, 4:21 p.m. OK Python 3 TESTS 27 171 14438400 1400
37328575 shadow_force C1 April 14, 2018, 1:18 p.m. OK Python 3 TESTS 27 171 14438400 1400
38303294 prjasti C1 May 15, 2018, 9:30 p.m. OK Python 3 TESTS 27 186 14336000 1400
37336353 tanish36 C1 April 14, 2018, 6:05 p.m. OK Python 3 TESTS 27 186 14438400 1400
37314042 the_white_devil elayla C1 April 14, 2018, 7:53 a.m. OK Python 3 TESTS 27 187 14336000 1400

remove filters

Back to search problems