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 |
|---|---|---|---|---|---|---|
| ( 3664 ) | M1 | April Fools' Problem (easy) | PROGRAMMING | greedy sortings | 1200 |
The marmots have prepared a very easy problem for this year's HC 2 – this one. It involves numbers n , k and a sequence of n positive integers a 1 , a 2 , ..., a n . They also came up with a beautiful and riveting story for the problem statement. It explains what the input means, what the program should output, and it also reads like a good criminal. However I, Heidi, will have none of that. As my joke for today, I am removing the story from the statement and replacing it with these two unhelpful paragraphs. Now solve the problem, fools! The first line of the input contains two space-separated integers n and k ( 1 ≤ k ≤ n ≤ 2200 ). The second line contains n space-separated integers a 1 , ..., a n ( 1 ≤ a i ≤ 10 4 ). Output one number. |
| helvetic-coding-contest-2017-editorial.pdf |
No solutions yet.