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 |
|---|---|---|---|---|---|---|
| 802 | Helvetic Coding Contest 2017 online mirror (teams allowed, unrated) | FINISHED | False | 16200 | 280446923 | May 28, 2017, 8:05 a.m. |
Solved |
Index |
Name |
Type |
Tags |
Community Tag |
Rating |
|---|---|---|---|---|---|---|
| ( 541 ) | D | Marmots (easy) | PROGRAMMING | math | 2100 |
Heidi is a statistician to the core, and she likes to study the evolution of marmot populations in each of V ( 1 ≤ V ≤ 100 ) villages! So it comes that every spring, when Heidi sees the first snowdrops sprout in the meadows around her barn, she impatiently dons her snowshoes and sets out to the Alps, to welcome her friends the marmots to a new season of thrilling adventures. Arriving in a village, Heidi asks each and every marmot she comes across for the number of inhabitants of that village. This year, the marmots decide to play an April Fools' joke on Heidi. Instead of consistently providing the exact number of inhabitants P ( 10 ≤ P ≤ 1000 ) of the village, they respond with a random non-negative integer k , drawn from one of two types of probability distributions: Poisson (d'avril) distribution: the probability of getting an answer k is for k = 0, 1, 2, 3, ... , Uniform distribution: the probability of getting an answer k is for k = 0, 1, 2, ..., 2 P . Heidi collects exactly 250 answers per village. Every village follows either the Poisson or the uniform distribution. Heidi cannot tell marmots apart, so she may query some marmots several times, and each time the marmot will answer with a new number drawn from the village's distribution. Can you help Heidi to find out whether a village follows a Poisson or a uniform distribution? The first line of input will contain the number of villages V ( 1 ≤ V ≤ 100 ). The following V lines each describe one village. The description of each village consists of 250 space-separated integers k , drawn from one of the above distributions. Output one line per village, in the same order as provided in the input. The village's line shall state poisson if the village's distribution is of the Poisson type, and uniform if the answer came from a uniform distribution. The full example input is visually represented below, along with the probability distribution function it was drawn from (the y -axis is labeled by its values mu |
| helvetic-coding-contest-2017-editorial.pdf |
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 27793654 | ryo_issy | D | June 15, 2017, 12:42 p.m. | OK | GNU C++ | TESTS | 21 | 15 | 0 | 2100 | |
| 27685612 | Ioser | D | June 9, 2017, 8:51 a.m. | OK | GNU C++ | TESTS | 21 | 15 | 0 | 2100 | |
| 27573876 | AkaneSasu | D | June 5, 2017, 1:38 a.m. | OK | GNU C++ | TESTS | 21 | 15 | 0 | 2100 | |
| 27515333 | vjudge3 | D | June 2, 2017, 4:53 a.m. | OK | GNU C++ | TESTS | 21 | 15 | 0 | 2100 | |
| 27410323 | szpszp cqbz163003gzm Hineven | D | May 28, 2017, 11:03 a.m. | OK | GNU C++ | TESTS | 21 | 15 | 0 | 2100 | |
| 27409657 | Random_chen Hazyknight _HYX_ | D | May 28, 2017, 10:41 a.m. | OK | GNU C++ | TESTS | 21 | 15 | 0 | 2100 | |
| 27409210 | hzt1 | D | May 28, 2017, 10:26 a.m. | OK | GNU C++ | TESTS | 21 | 15 | 0 | 2100 | |
| 27408715 | theDecision holmium01 yah01 | D | May 28, 2017, 10:12 a.m. | OK | GNU C++ | TESTS | 21 | 15 | 0 | 2100 | |
| 27408085 | snowflake | D | May 28, 2017, 9:53 a.m. | OK | GNU C++ | TESTS | 21 | 15 | 0 | 2100 | |
| 27407754 | Heisenberger | D | May 28, 2017, 9:43 a.m. | OK | GNU C++ | TESTS | 21 | 15 | 0 | 2100 | |
| 29719786 | Jayzhang | D | Aug. 24, 2017, 1:10 a.m. | OK | GNU C++11 | TESTS | 21 | 15 | 0 | 2100 | |
| 29679868 | bestwzh | D | Aug. 22, 2017, 10:20 a.m. | OK | GNU C++11 | TESTS | 21 | 15 | 0 | 2100 | |
| 27833073 | marcospaulo | D | June 16, 2017, 8:36 p.m. | OK | GNU C++11 | TESTS | 21 | 15 | 0 | 2100 | |
| 27764647 | Manchery | D | June 13, 2017, 11:13 p.m. | OK | GNU C++11 | TESTS | 21 | 15 | 0 | 2100 | |
| 27695778 | Deathly_Hallows | D | June 9, 2017, 8:02 p.m. | OK | GNU C++11 | TESTS | 21 | 15 | 0 | 2100 | |
| 27470244 | HowardChung | D | May 31, 2017, 3:36 p.m. | OK | GNU C++11 | TESTS | 21 | 15 | 0 | 2100 | |
| 27468349 | irakli_p | D | May 31, 2017, 1:56 p.m. | OK | GNU C++11 | TESTS | 21 | 15 | 0 | 2100 | |
| 27459569 | RNS_KSB | D | May 31, 2017, 5:26 a.m. | OK | GNU C++11 | TESTS | 21 | 15 | 0 | 2100 | |
| 27428728 | caocao | D | May 29, 2017, 12:08 p.m. | OK | GNU C++11 | TESTS | 21 | 15 | 0 | 2100 | |
| 27425415 | lzr_010506 | D | May 29, 2017, 8:05 a.m. | OK | GNU C++11 | TESTS | 21 | 15 | 0 | 2100 | |
| 29842675 | alex9801 conflict ko_osaga | D | Aug. 28, 2017, 9:59 a.m. | OK | GNU C++14 | TESTS | 21 | 15 | 0 | 2100 | |
| 27919997 | MKibera kingjgv5 cxaphoenix | D | June 20, 2017, 8:06 a.m. | OK | GNU C++14 | TESTS | 21 | 15 | 0 | 2100 | |
| 27660553 | I_Love_Umirzhanova_Amina | D | June 8, 2017, 12:28 a.m. | OK | GNU C++14 | TESTS | 21 | 15 | 0 | 2100 | |
| 27554796 | Rafaaaaaaaaaaaam | D | June 4, 2017, 3:38 a.m. | OK | GNU C++14 | TESTS | 21 | 15 | 0 | 2100 | |
| 27554613 | OnionPringles | D | June 4, 2017, 3:24 a.m. | OK | GNU C++14 | TESTS | 21 | 15 | 0 | 2100 | |
| 27554533 | OnionPringles | D | June 4, 2017, 3:17 a.m. | OK | GNU C++14 | TESTS | 21 | 15 | 0 | 2100 | |
| 27485571 | ginshin | D | June 1, 2017, 1:31 p.m. | OK | GNU C++14 | TESTS | 21 | 15 | 0 | 2100 | |
| 27469546 | frankbozar | D | May 31, 2017, 2:59 p.m. | OK | GNU C++14 | TESTS | 21 | 15 | 0 | 2100 | |
| 27449095 | KafuChino | D | May 30, 2017, 1:30 p.m. | OK | GNU C++14 | TESTS | 21 | 15 | 0 | 2100 | |
| 27446254 | trikoni | D | May 30, 2017, 10:42 a.m. | OK | GNU C++14 | TESTS | 21 | 15 | 0 | 2100 | |
| 56556981 | gyuni | D | July 5, 2019, 12:51 p.m. | OK | GNU C++17 | TESTS | 21 | 31 | 0 | 2100 | |
| 49546174 | chinmay0906 | D | Feb. 6, 2019, 10:50 p.m. | OK | GNU C++17 | TESTS | 21 | 31 | 204800 | 2100 | |
| 42222413 | Benq | D | Aug. 28, 2018, 10:10 p.m. | OK | GNU C++17 | TESTS | 21 | 46 | 307200 | 2100 | |
| 58503357 | KasugaAyumu | D | Aug. 9, 2019, 3:16 p.m. | OK | GNU C++17 | TESTS | 21 | 639 | 0 | 2100 | |
| 32880662 | sighingnow | D | Dec. 2, 2017, 5:42 p.m. | OK | Haskell | TESTS | 21 | 93 | 53248000 | 2100 | |
| 27418649 | I_love_Harpae | D | May 28, 2017, 7:10 p.m. | OK | Java 8 | TESTS | 21 | 124 | 0 | 2100 | |
| 27412581 | id1 Key_J | D | May 28, 2017, 12:24 p.m. | OK | Java 8 | TESTS | 21 | 124 | 0 | 2100 | |
| 27411384 | poikniok | D | May 28, 2017, 11:43 a.m. | OK | Java 8 | TESTS | 21 | 171 | 0 | 2100 | |
| 27838909 | tomerun | D | June 17, 2017, 6:13 a.m. | OK | Java 8 | TESTS | 21 | 187 | 0 | 2100 | |
| 36337468 | croger | D | March 16, 2018, 9:52 p.m. | OK | Java 8 | TESTS | 21 | 202 | 21094400 | 2100 | |
| 27420562 | niquefa_diego | D | May 28, 2017, 10:38 p.m. | OK | Java 8 | TESTS | 21 | 1075 | 0 | 2100 | |
| 27408105 | udalov | D | May 28, 2017, 9:53 a.m. | OK | Kotlin | TESTS | 21 | 187 | 1024000 | 2100 | |
| 27408421 | BrainFreeze peregrinus | D | May 28, 2017, 10:03 a.m. | OK | Mono C# | TESTS | 21 | 77 | 4403200 | 2100 | |
| 27413803 | peregrinus | D | May 28, 2017, 1:24 p.m. | OK | Mono C# | TESTS | 21 | 93 | 4300800 | 2100 | |
| 27839720 | chokudai | D | June 17, 2017, 7 a.m. | OK | MS C# | TESTS | 21 | 46 | 1638400 | 2100 | |
| 27842635 | camypaper | D | June 17, 2017, 9:28 a.m. | OK | MS C# | TESTS | 21 | 46 | 2560000 | 2100 | |
| 27839669 | camypaper | D | June 17, 2017, 6:57 a.m. | OK | MS C# | TESTS | 21 | 61 | 2560000 | 2100 | |
| 27840405 | chokudai | D | June 17, 2017, 7:36 a.m. | OK | MS C# | TESTS | 21 | 62 | 1536000 | 2100 | |
| 27526929 | _AjReme_ | D | June 2, 2017, 3:29 p.m. | OK | MS C++ | TESTS | 21 | 15 | 102400 | 2100 | |
| 42765702 | vjudge3 | D | Sept. 11, 2018, 1:06 p.m. | OK | MS C++ | TESTS | 21 | 31 | 0 | 2100 | |
| 27526801 | Yash_ | D | June 2, 2017, 3:21 p.m. | OK | PyPy 2 | TESTS | 21 | 109 | 1945600 | 2100 | |
| 27406961 | Roberto29 | D | May 28, 2017, 9:22 a.m. | OK | PyPy 3 | TESTS | 21 | 1341 | 2355200 | 2100 | |
| 36047466 | oyldz93 | D | March 7, 2018, 2:15 p.m. | OK | Python 2 | TESTS | 21 | 77 | 5120000 | 2100 | |
| 32854252 | sgtlaugh | D | Dec. 2, 2017, 9:53 a.m. | OK | Python 2 | TESTS | 21 | 93 | 4812800 | 2100 | |
| 27564662 | Mark_tven | D | June 4, 2017, 1:18 p.m. | OK | Python 3 | TESTS | 21 | 62 | 409600 | 2100 | |
| 32146278 | yugle7 | D | Nov. 8, 2017, 8:20 p.m. | OK | Python 3 | TESTS | 21 | 77 | 307200 | 2100 | |
| 32146375 | yugle7 | D | Nov. 8, 2017, 8:27 p.m. | OK | Python 3 | TESTS | 21 | 77 | 409600 | 2100 | |
| 27422358 | haleyk100198 | D | May 29, 2017, 2:59 a.m. | OK | Python 3 | TESTS | 21 | 77 | 409600 | 2100 | |
| 27419476 | madn | D | May 28, 2017, 8:29 p.m. | OK | Python 3 | TESTS | 21 | 77 | 409600 | 2100 | |
| 27412417 | flygrounder madn | D | May 28, 2017, 12:20 p.m. | OK | Python 3 | TESTS | 21 | 77 | 409600 | 2100 | |
| 27409492 | vrublack Bananensalat WhatTheFua | D | May 28, 2017, 10:36 a.m. | OK | Python 3 | TESTS | 21 | 77 | 409600 | 2100 | |
| 51829618 | elias.rg | D | March 25, 2019, 3:33 p.m. | OK | Python 3 | TESTS | 21 | 124 | 307200 | 2100 | |
| 36294453 | lkj18 | D | March 15, 2018, 9:19 a.m. | OK | Python 3 | TESTS | 21 | 186 | 7168000 | 2100 | |
| 27409347 | ASoboll | D | May 28, 2017, 10:31 a.m. | OK | Scala | TESTS | 21 | 280 | 0 | 2100 |
Back to search problems