Helvetic Coding Contest 2019 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
1184 Helvetic Coding Contest 2019 online mirror (teams allowed, unrated) FINISHED False 16200 169340099 July 7, 2019, 7:05 a.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 2548 ) D1 Parallel Universes (Easy) PROGRAMMING implementation 1600

B'The Third Doctor Who once correctly said that travel between parallel universes is "like travelling sideways". However, he incorrectly thought that there were infinite parallel universes, whereas in fact, as we now all know, there will never be more than 250. Heidi recently got her hands on a multiverse observation tool. She was able to see all n universes lined up in a row, with non-existent links between them. She also noticed that the Doctor was in the k -th universe. The tool also points out that due to restrictions originating from the space-time discontinuum, the number of universes will never exceed m . Obviously, the multiverse is unstable because of free will. Each time a decision is made, one of two events will randomly happen: a new parallel universe is created, or a non-existent link is broken. More specifically, Heidi wants to perform a simulation of t decisions. Each time a decision is made, Heidi wants to know the length of the multiverse (i.e. the number of universes), and the position of the Doctor. The first line contains four integers n , k , m and t ( 2 <= k <= n <= m <= 250 , 1 <= t <= 1000 ). Each of the following t lines is in one of the following formats: Output t lines. Each line should contain l , the current length of the multiverse and k , the current position of the Doctor. It is guaranteed that the sequence of the steps will be valid, i.e. the multiverse will have length at most m and when the link breaking is performed, there will be at least one universe in the multiverse. The multiverse initially consisted of 5 universes, with the Doctor being in the second. First, link 1 was broken, leaving the multiverse with 4 universes, and the Doctor in the first. Then, a universe was added to the leftmost end of the multiverse, increasing the multiverse length to 5, and the Doctor was then in the second universe. Then, the rightmost link was broke'...

Tutorials

helvetic-coding-contest-2019-editorial.pdf

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
56654490 TShT D1 July 7, 2019, 8:22 a.m. OK FPC TESTS 34 31 0 1600
56659537 HoangVu123 ldn060904 LeVanThuc D1 July 7, 2019, 9:28 a.m. OK FPC TESTS 34 31 0 1600
56658995 Craspedacusta D1 July 7, 2019, 9:20 a.m. OK FPC TESTS 34 46 0 1600
56751711 kyrie_start D1 July 9, 2019, 12:11 p.m. OK GNU C11 TESTS 34 31 0 1600
57720479 vjudge5 D1 July 25, 2019, 5:04 a.m. OK GNU C11 TESTS 34 31 0 1600
58245540 SomeRandomOne D1 Aug. 4, 2019, 5:11 a.m. OK GNU C11 TESTS 34 31 0 1600
61061999 vjudge2 D1 Sept. 22, 2019, 9:45 a.m. OK GNU C11 TESTS 34 31 0 1600
61060692 vjudge2 D1 Sept. 22, 2019, 9:24 a.m. OK GNU C11 TESTS 34 31 0 1600
56660702 acmljrswjtu D1 July 7, 2019, 9:47 a.m. OK GNU C11 TESTS 34 31 0 1600
56662068 avkrishna D1 July 7, 2019, 10:10 a.m. OK GNU C11 TESTS 34 31 0 1600
61061042 vjudge4 D1 Sept. 22, 2019, 9:29 a.m. OK GNU C11 TESTS 34 46 0 1600
56834912 _ShadowSong D1 July 11, 2019, 8:38 a.m. OK GNU C++11 TESTS 34 30 0 1600
56652877 stoyan_malinin D1 July 7, 2019, 8:03 a.m. OK GNU C++11 TESTS 34 30 0 1600
58533440 wasa855 D1 Aug. 10, 2019, 10:42 a.m. OK GNU C++11 TESTS 34 30 0 1600
58163012 CloudKit D1 Aug. 2, 2019, 8:06 a.m. OK GNU C++11 TESTS 34 30 0 1600
57097623 xymtxdy D1 July 15, 2019, 12:45 p.m. OK GNU C++11 TESTS 34 30 0 1600
64792441 221 D1 Nov. 13, 2019, 11:42 a.m. OK GNU C++11 TESTS 34 31 0 1600
62940929 zhaoyuzhaoyu D1 Oct. 19, 2019, 3:34 p.m. OK GNU C++11 TESTS 34 31 0 1600
65224956 DafuqO_o D1 Nov. 17, 2019, 12:51 a.m. OK GNU C++11 TESTS 34 31 0 1600
68077435 vjudge5 D1 Jan. 2, 2020, 1:07 p.m. OK GNU C++11 TESTS 34 31 0 1600
68329997 luogu_bot1 D1 Jan. 6, 2020, 6:21 p.m. OK GNU C++11 TESTS 34 31 0 1600
56652363 md_1999 D1 July 7, 2019, 7:57 a.m. OK GNU C++14 TESTS 34 15 0 1600
56651987 metatron mathusalen D1 July 7, 2019, 7:53 a.m. OK GNU C++14 TESTS 34 15 0 1600
58549994 sinya_by_cosya D1 Aug. 10, 2019, 7:07 p.m. OK GNU C++14 TESTS 34 15 0 1600
59606148 AkJn D1 Aug. 28, 2019, 8:55 a.m. OK GNU C++14 TESTS 34 15 0 1600
59648479 CeJotKa TwoFx MZuenni D1 Aug. 29, 2019, 7:05 a.m. OK GNU C++14 TESTS 34 15 0 1600
56667062 yltx D1 July 7, 2019, 11:29 a.m. OK GNU C++14 TESTS 34 15 0 1600
56878350 abhi_1 D1 July 12, 2019, 9:13 a.m. OK GNU C++14 TESTS 34 15 0 1600
56666310 Im_Amartya D1 July 7, 2019, 11:18 a.m. OK GNU C++14 TESTS 34 15 0 1600
56661098 chenyanbo D1 July 7, 2019, 9:54 a.m. OK GNU C++14 TESTS 34 15 0 1600
56655120 AniketSangwan sundesh jains8844 D1 July 7, 2019, 8:29 a.m. OK GNU C++14 TESTS 34 15 0 1600
56662684 demonsbane D1 July 7, 2019, 10:21 a.m. OK GNU C++17 TESTS 34 15 0 1600
56653742 nomight Mastre jenniekim D1 July 7, 2019, 8:13 a.m. OK GNU C++17 TESTS 34 15 0 1600
59887481 Xiuchen D1 Sept. 2, 2019, 8:45 a.m. OK GNU C++17 TESTS 34 15 0 1600
56808836 eggag32 D1 July 10, 2019, 3:05 p.m. OK GNU C++17 TESTS 34 15 0 1600
56775858 zekigurbuz D1 July 10, 2019, 2:35 a.m. OK GNU C++17 TESTS 34 15 0 1600
56762622 UncleSema D1 July 9, 2019, 4:37 p.m. OK GNU C++17 TESTS 34 15 0 1600
56745911 MrProgramist D1 July 9, 2019, 9:42 a.m. OK GNU C++17 TESTS 34 15 0 1600
56741451 malfple rapel nirvana D1 July 9, 2019, 7:54 a.m. OK GNU C++17 TESTS 34 15 0 1600
56741318 mohit1O98 D1 July 9, 2019, 7:50 a.m. OK GNU C++17 TESTS 34 15 0 1600
56701911 A_H_R-E_I-M D1 July 8, 2019, 9:29 a.m. OK GNU C++17 TESTS 34 15 0 1600
56725534 di_halt D1 July 8, 2019, 7:27 p.m. OK Java 8 TESTS 34 124 0 1600
57913078 darren_yao D1 July 28, 2019, 10:02 p.m. OK Java 8 TESTS 34 124 0 1600
56813480 Harbin D1 July 10, 2019, 5:39 p.m. OK Java 8 TESTS 34 124 0 1600
56746437 Washoum D1 July 9, 2019, 9:56 a.m. OK Java 8 TESTS 34 124 0 1600
56727958 YahiaSherif D1 July 8, 2019, 9:21 p.m. OK Java 8 TESTS 34 124 0 1600
56726159 di_halt D1 July 8, 2019, 7:53 p.m. OK Java 8 TESTS 34 124 0 1600
56659407 insert_cool_handle D1 July 7, 2019, 9:26 a.m. OK Java 8 TESTS 34 124 0 1600
56655284 rajeevdodda SRI D1 July 7, 2019, 8:31 a.m. OK Java 8 TESTS 34 124 0 1600
56654999 serafimkoo D1 July 7, 2019, 8:27 a.m. OK Java 8 TESTS 34 124 0 1600
56654927 sameep17264 D1 July 7, 2019, 8:27 a.m. OK Java 8 TESTS 34 124 0 1600
56732570 Spheniscine D1 July 9, 2019, 2:39 a.m. OK Kotlin TESTS 34 186 204800 1600
56649461 riantkb risujiroh idsigma D1 July 7, 2019, 7:30 a.m. OK Mono C# TESTS 34 61 204800 1600
56651348 dinarisio D1 July 7, 2019, 7:47 a.m. OK Mono C# TESTS 34 62 3891200 1600
56647401 peregrinus BrainFreeze D1 July 7, 2019, 7:13 a.m. OK Mono C# TESTS 34 77 69222400 1600
57720017 vjudge5 D1 July 25, 2019, 4:50 a.m. OK MS C++ TESTS 34 31 0 1600
57720953 vjudge5 D1 July 25, 2019, 5:18 a.m. OK MS C++ TESTS 34 31 0 1600
61059404 vjudge1 D1 Sept. 22, 2019, 9:03 a.m. OK MS C++ TESTS 34 31 0 1600
64452804 vjudge5 D1 Nov. 7, 2019, 7:43 a.m. OK MS C++ TESTS 34 46 0 1600
56661230 euqrry D1 July 7, 2019, 9:56 a.m. OK MS C++ 2017 TESTS 34 31 0 1600
56661008 querry D1 July 7, 2019, 9:53 a.m. OK MS C++ 2017 TESTS 34 31 0 1600
56656994 xsc D1 July 7, 2019, 8:52 a.m. OK MS C++ 2017 TESTS 34 31 0 1600
59839722 DavitMarg EmilConst D1 Sept. 1, 2019, 6:35 a.m. OK MS C++ 2017 TESTS 34 31 0 1600
59138311 pmitkov D1 Aug. 20, 2019, 1:28 p.m. OK MS C++ 2017 TESTS 34 31 0 1600
56663771 RANCAFE D1 July 7, 2019, 10:39 a.m. OK MS C++ 2017 TESTS 34 31 102400 1600
56656978 zhuhuejia111 Surf dream_dreamer D1 July 7, 2019, 8:51 a.m. OK MS C++ 2017 TESTS 34 46 0 1600
56682019 somecoders D1 July 7, 2019, 7:06 p.m. OK MS C++ 2017 TESTS 34 46 0 1600
57787350 EverRest D1 July 26, 2019, 8:17 a.m. OK MS C++ 2017 TESTS 34 46 0 1600
57828171 KDJonty D1 July 27, 2019, 4:43 a.m. OK MS C++ 2017 TESTS 34 46 0 1600
56770049 mayakin D1 July 9, 2019, 8:56 p.m. OK PHP TESTS 34 46 512000 1600
56653810 mastermindevil raj1307 snape_here D1 July 7, 2019, 8:13 a.m. OK PyPy 2 TESTS 34 140 307200 1600
56648535 meooow algmyr pajenegod D1 July 7, 2019, 7:22 a.m. OK PyPy 2 TESTS 34 171 1945600 1600
56655765 ThePonyCoder NklokkStudion d_i_m_a D1 July 7, 2019, 8:37 a.m. OK PyPy 3 TESTS 34 171 1945600 1600
56657433 H4Wk3ye D1 July 7, 2019, 8:57 a.m. OK PyPy 3 TESTS 34 171 2355200 1600
56652232 Paixao majinboo D1 July 7, 2019, 7:56 a.m. OK PyPy 3 TESTS 34 171 2764800 1600
56666296 L_I_Erq34 Munchy_1 D1 July 7, 2019, 11:18 a.m. OK PyPy 3 TESTS 34 202 3276800 1600
56663733 Undying D1 July 7, 2019, 10:38 a.m. OK PyPy 3 TESTS 34 202 3276800 1600
56659530 Prateek Is_This_Kirito D1 July 7, 2019, 9:28 a.m. OK PyPy 3 TESTS 34 202 3276800 1600
56657237 ArtemGucci Gornak40 rrrrrrrrrrrrrrrr1 D1 July 7, 2019, 8:55 a.m. OK PyPy 3 TESTS 34 202 3276800 1600
56653863 komolakanto D1 July 7, 2019, 8:14 a.m. OK PyPy 3 TESTS 34 202 3276800 1600
56653313 sandeshghanta kgmkr00001 III_Wolverine_III D1 July 7, 2019, 8:08 a.m. OK PyPy 3 TESTS 34 202 3276800 1600
56761832 WTY329 D1 July 9, 2019, 4:14 p.m. OK PyPy 3 TESTS 34 202 3379200 1600
58924673 Helli.code D1 Aug. 16, 2019, 6:50 p.m. OK Python 2 TESTS 34 186 0 1600
58672134 vjudge2 D1 Aug. 12, 2019, 2:51 p.m. OK Python 3 TESTS 34 124 0 1600
58086264 frederick99 D1 July 31, 2019, 3:44 p.m. OK Python 3 TESTS 34 124 0 1600
57380338 Code__Addict D1 July 20, 2019, 2:19 p.m. OK Python 3 TESTS 34 124 0 1600
57100925 Ajay17 D1 July 15, 2019, 1:44 p.m. OK Python 3 TESTS 34 124 0 1600
56814897 LintuStorm D1 July 10, 2019, 6:29 p.m. OK Python 3 TESTS 34 124 0 1600
56728666 FlyingBag65 D1 July 8, 2019, 10:14 p.m. OK Python 3 TESTS 34 124 0 1600
56682656 Yash_agrawal19 D1 July 7, 2019, 7:35 p.m. OK Python 3 TESTS 34 124 0 1600
56680667 Anish1712 D1 July 7, 2019, 6:13 p.m. OK Python 3 TESTS 34 124 0 1600
56675435 Yads D1 July 7, 2019, 3:15 p.m. OK Python 3 TESTS 34 124 0 1600
56670022 Mad_Andrei D1 July 7, 2019, 12:41 p.m. OK Python 3 TESTS 34 124 0 1600

remove filters

Back to search problems