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 |
---|---|---|---|---|---|---|
1970 | Helvetic Coding Contest 2024 online mirror (teams allowed, unrated) | FINISHED | False | 16200 | 17016899 | May 4, 2024, 7:05 a.m. |
Solved$ |
Index |
Name |
Type |
Tags |
Community Tag |
Rating |
---|---|---|---|---|---|---|
( 426 ) | F1 | Playing Quidditch (Easy) | PROGRAMMING | implementation | 2300 |
B'This afternoon, you decided to enjoy the first days of Spring by taking a walk outside. As you come near the Quidditch field, you hear screams. Once again, there is a conflict about the score: the two teams are convinced that they won the game! To prevent this problem from happening one more time, you decide to get involved in the refereeing of the matches. Now, you will stay in the stadium to watch the game and count the score. At the end of the game, you will decide the winner. Today, two teams are competing: the red Gryffindor (R) and the blue Ravenclaw (B) team. Each team is composed of P players ( 1 <= q P <= q 10 ). The field is a rectangle of N lines and M columns ( 3 <= q N, M <= q 99 , N and M are odd). All the positions are integers, and several entities are allowed to be at the same position in the field. At the beginning of the game, the field contains goals for the two teams (each team can own between one and five goals), the players, and exactly one Quaffle. Other types of balls will be available in the harder versions of the problem. A game is composed of T steps ( 0 <= q T <= q 10000 ). At each step, one entity on the field (a player or a ball) performs one action. All entities can move. A player can also catch a ball or throw the Quaffle that it is carrying. To catch a ball, a player must be located on the same cell as it. The Quaffle does not perform any action while it is being carried; it only follows the movements of the player. If a player carrying the Quaffle decides to throw it, the Quaffle is simply put at the current position of the player. To win a point, a player must leave the Quaffle at a goal of the other team. When it does, the team of the player wins one point, and the Quaffle instantly moves to the middle of the field (the cell at the (M+1)/2 -th column of the (N+1)/2 -th line of the field, starting from 1). There is no goal in the middle of the field. If a player p'... |
Helvetic Coding Contest 2024 Editorial |
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
---|---|---|---|---|---|---|---|---|---|---|---|
259749281 | pleituer | F1 | May 6, 2024, 12:34 p.m. | OK | C++14 (GCC 6-32) | TESTS | 14 | 46 | 0 | 2300 | |
259500028 | Jimanbanashi | F1 | May 4, 2024, 11:25 a.m. | OK | C++14 (GCC 6-32) | TESTS | 14 | 46 | 102400 | 2300 | |
260716108 | duyiblue | F1 | May 12, 2024, 9:38 p.m. | OK | C++14 (GCC 6-32) | TESTS | 14 | 62 | 0 | 2300 | |
259502775 | PEIMUDA | F1 | May 4, 2024, 11:47 a.m. | OK | C++14 (GCC 6-32) | TESTS | 14 | 62 | 0 | 2300 | |
259496640 | PEIMUDA MatrixGroup | F1 | May 4, 2024, 10:58 a.m. | OK | C++14 (GCC 6-32) | TESTS | 14 | 62 | 0 | 2300 | |
259541227 | panghupanghu | F1 | May 4, 2024, 5:27 p.m. | OK | C++14 (GCC 6-32) | TESTS | 14 | 77 | 307200 | 2300 | |
262663244 | Magikarp4000 | F1 | May 26, 2024, 7:06 a.m. | OK | C++17 (GCC 7-32) | TESTS | 14 | 46 | 0 | 2300 | |
261784537 | Ramo7fsw | F1 | May 20, 2024, 1:15 p.m. | OK | C++17 (GCC 7-32) | TESTS | 14 | 46 | 0 | 2300 | |
261256888 | Electron1997 | F1 | May 16, 2024, 10:15 p.m. | OK | C++17 (GCC 7-32) | TESTS | 14 | 46 | 0 | 2300 | |
261198877 | v20481A5432 | F1 | May 16, 2024, 12:58 p.m. | OK | C++17 (GCC 7-32) | TESTS | 14 | 46 | 0 | 2300 | |
261042373 | eoinlee | F1 | May 15, 2024, 11:06 a.m. | OK | C++17 (GCC 7-32) | TESTS | 14 | 46 | 0 | 2300 | |
261042208 | eoinlee | F1 | May 15, 2024, 11:04 a.m. | OK | C++17 (GCC 7-32) | TESTS | 14 | 46 | 0 | 2300 | |
260856744 | satwikrajwadhwa | F1 | May 13, 2024, 9:07 p.m. | OK | C++17 (GCC 7-32) | TESTS | 14 | 46 | 0 | 2300 | |
260754697 | anik_26 | F1 | May 13, 2024, 7:23 a.m. | OK | C++17 (GCC 7-32) | TESTS | 14 | 46 | 0 | 2300 | |
260451439 | SambhavJain modernbeast02 13_Riishiii_10 | F1 | May 10, 2024, 7:57 p.m. | OK | C++17 (GCC 7-32) | TESTS | 14 | 46 | 0 | 2300 | |
259874142 | free989898 SaltyDonut weirdflexbutok | F1 | May 7, 2024, 12:29 p.m. | OK | C++17 (GCC 7-32) | TESTS | 14 | 46 | 0 | 2300 | |
262880891 | kuSat | F1 | May 27, 2024, 12:40 p.m. | OK | C++20 (GCC 13-64) | TESTS | 14 | 46 | 0 | 2300 | |
262100961 | tbquan08hanoi | F1 | May 22, 2024, 6:49 a.m. | OK | C++20 (GCC 13-64) | TESTS | 14 | 46 | 0 | 2300 | |
260848812 | MongyTrad MaGnsi0 | F1 | May 13, 2024, 7:21 p.m. | OK | C++20 (GCC 13-64) | TESTS | 14 | 46 | 0 | 2300 | |
260711837 | 36champ | F1 | May 12, 2024, 8:24 p.m. | OK | C++20 (GCC 13-64) | TESTS | 14 | 46 | 0 | 2300 | |
260138720 | piyush_pransukhka | F1 | May 9, 2024, 2:45 p.m. | OK | C++20 (GCC 13-64) | TESTS | 14 | 46 | 0 | 2300 | |
260057682 | aastik231205 | F1 | May 9, 2024, 12:50 a.m. | OK | C++20 (GCC 13-64) | TESTS | 14 | 46 | 0 | 2300 | |
259815843 | enslaved | F1 | May 7, 2024, 2:01 a.m. | OK | C++20 (GCC 13-64) | TESTS | 14 | 46 | 0 | 2300 | |
259803723 | PedroBigMan | F1 | May 6, 2024, 9:02 p.m. | OK | C++20 (GCC 13-64) | TESTS | 14 | 46 | 0 | 2300 | |
259758006 | Professor_4 | F1 | May 6, 2024, 1:36 p.m. | OK | C++20 (GCC 13-64) | TESTS | 14 | 46 | 0 | 2300 | |
259757881 | xvzhiming | F1 | May 6, 2024, 1:35 p.m. | OK | C++20 (GCC 13-64) | TESTS | 14 | 46 | 0 | 2300 | |
259555306 | dzhi | F1 | May 4, 2024, 7:55 p.m. | OK | Java 21 | TESTS | 14 | 218 | 512000 | 2300 | |
260182982 | kunalpatil | F1 | May 9, 2024, 10:26 p.m. | OK | PyPy 3-64 | TESTS | 14 | 124 | 5120000 | 2300 | |
263042517 | just_average_ok | F1 | May 28, 2024, 4:50 p.m. | OK | PyPy 3-64 | TESTS | 14 | 171 | 5017600 | 2300 | |
260545235 | aha66 | F1 | May 11, 2024, 1:58 p.m. | OK | PyPy 3-64 | TESTS | 14 | 171 | 5017600 | 2300 | |
260807239 | hellothisisme | F1 | May 13, 2024, 1:45 p.m. | OK | PyPy 3-64 | TESTS | 14 | 217 | 5324800 | 2300 | |
263500037 | fcmb57 | F1 | May 31, 2024, 12:48 p.m. | OK | Python 3 | TESTS | 14 | 77 | 0 | 2300 | |
262795164 | 2210080018 | F1 | May 26, 2024, 7:24 p.m. | OK | Python 3 | TESTS | 14 | 77 | 0 | 2300 | |
259969460 | BetterThanNobita | F1 | May 8, 2024, 8:19 a.m. | OK | Rust 2021 | TESTS | 14 | 61 | 0 | 2300 |
Back to search problems