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 |
|---|---|---|---|---|---|---|
| 690 | Helvetic Coding Contest 2016 online mirror (teams, unrated) | FINISHED | False | 16200 | 308268023 | July 10, 2016, 8 a.m. |
Solved |
Index |
Name |
Type |
Tags |
Community Tag |
Rating |
|---|---|---|---|---|---|---|
| ( 147 ) | E2 | Photographs (II) | PROGRAMMING | 2700 |
Zombies seem to have become much more intelligent lately – a few have somehow wandered into the base through the automatic gate. Heidi has had to beef up security, and a new gate has been installed. Unfortunately, now the questions being asked are more complicated, and even humans have trouble answering them. Can you still program the robot army to do this reliably? The new questions are of the following form: a grayscale photograph has been divided into several horizontal pieces, which have been arbitrarily rearranged. The task is to assemble the original image back from these pieces (somewhat like in a jigsaw puzzle). To further delay the zombies, significant Gaussian-distributed noise has been added to the image. The input format is the same as in the previous version, except that the first line of every question now contains three space-separated numbers h , w and k ( 1 ≤ h , w ≤ 600 , 2 ≤ k ≤ 16 ) – the height (number of rows) and width (number of columns) of the photograph and the number of pieces, respectively. The number of pieces evenly divides the height, and each piece is of the same height h / k . Again, there is only one input file to be processed, and the same resources are provided to you as in the previous version (except that now you are given all input images in .bmp format, rather than the first 50). Your program should print q lines. The i -th line should contain your answer for the i -th question: a space-separated sequence of k numbers π 1 , π 2 , ..., π k such that: π is a permutation of {1, 2, ..., k } , that is, each number from 1 to k appears exactly once in π , for each j = 1, ..., k , π j is the position (index), in the original image, of the piece which is at position j in the input image. (See the illustration below for clarity.) The second image from the test set. If the three pieces in the original image are numbered 1 , 2 , 3 from top to bottom, then the numbering in the image on the right should be 2 , 3 , 1 . The correct |
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 19069261 | llgyc | E2 | July 13, 2016, 9:15 a.m. | OK | FPC | TESTS | 1 | 5989 | 10444800 | 2700 | |
| 19041751 | Yhx | E2 | July 12, 2016, 5:13 a.m. | OK | GNU C++ | TESTS | 1 | 0 | 0 | 2700 | |
| 21656198 | vjudge5 | E2 | Oct. 22, 2016, 3:10 a.m. | OK | GNU C++ | TESTS | 1 | 0 | 0 | 2700 | |
| 19043319 | consecutivelimit | E2 | July 12, 2016, 6:37 a.m. | OK | GNU C++ | TESTS | 1 | 0 | 0 | 2700 | |
| 19042437 | consecutivelimit | E2 | July 12, 2016, 5:53 a.m. | OK | GNU C++ | TESTS | 1 | 0 | 0 | 2700 | |
| 19041861 | Lightning34 | E2 | July 12, 2016, 5:20 a.m. | OK | GNU C++ | TESTS | 1 | 0 | 0 | 2700 | |
| 21656140 | vjudge4 | E2 | Oct. 22, 2016, 3:05 a.m. | OK | GNU C++ | TESTS | 1 | 15 | 0 | 2700 | |
| 27295487 | zhan8855 | E2 | May 23, 2017, 6:44 a.m. | OK | GNU C++ | TESTS | 1 | 951 | 9011200 | 2700 | |
| 19006803 | yts1999 zhangchen Oxer11 | E2 | July 10, 2016, 11:15 a.m. | OK | GNU C++ | TESTS | 1 | 2339 | 4505600 | 2700 | |
| 27295769 | AkaneSasu | E2 | May 23, 2017, 7:05 a.m. | OK | GNU C++ | TESTS | 1 | 3541 | 18739200 | 2700 | |
| 25438118 | wzc1989 | E2 | March 12, 2017, 3:29 p.m. | OK | GNU C++ | TESTS | 1 | 4476 | 11776000 | 2700 | |
| 46390861 | HbFS- | E2 | Nov. 30, 2018, 5:44 a.m. | OK | GNU C11 | TESTS | 1 | 4071 | 5836800 | 2700 | |
| 46390792 | HbFS- | E2 | Nov. 30, 2018, 5:39 a.m. | OK | GNU C11 | TESTS | 1 | 4086 | 5836800 | 2700 | |
| 46405970 | HbFS- | E2 | Nov. 30, 2018, 2:39 p.m. | OK | GNU C11 | TESTS | 1 | 4102 | 5836800 | 2700 | |
| 46406090 | HbFS- | E2 | Nov. 30, 2018, 2:40 p.m. | OK | GNU C11 | TESTS | 1 | 4180 | 5836800 | 2700 | |
| 19010067 | gongy | E2 | July 10, 2016, 12:54 p.m. | OK | GNU C++11 | TESTS | 1 | 0 | 0 | 2700 | |
| 22716215 | pikmike | E2 | Dec. 5, 2016, 5:01 p.m. | OK | GNU C++11 | TESTS | 1 | 0 | 0 | 2700 | |
| 19296987 | MathCrusader | E2 | July 21, 2016, 8:09 a.m. | OK | GNU C++11 | TESTS | 1 | 0 | 0 | 2700 | |
| 19179608 | mike_live | E2 | July 16, 2016, 8:30 p.m. | OK | GNU C++11 | TESTS | 1 | 0 | 0 | 2700 | |
| 19179472 | mike_live | E2 | July 16, 2016, 8:16 p.m. | OK | GNU C++11 | TESTS | 1 | 0 | 0 | 2700 | |
| 19179341 | mike_live | E2 | July 16, 2016, 8:01 p.m. | OK | GNU C++11 | TESTS | 1 | 0 | 0 | 2700 | |
| 19178722 | mike_live | E2 | July 16, 2016, 7:04 p.m. | OK | GNU C++11 | TESTS | 1 | 0 | 0 | 2700 | |
| 19178526 | mike_live | E2 | July 16, 2016, 6:48 p.m. | OK | GNU C++11 | TESTS | 1 | 0 | 0 | 2700 | |
| 19041823 | immortalCO | E2 | July 12, 2016, 5:17 a.m. | OK | GNU C++11 | TESTS | 1 | 0 | 0 | 2700 | |
| 19010091 | igor.lifar | E2 | July 10, 2016, 12:55 p.m. | OK | GNU C++11 | TESTS | 1 | 0 | 0 | 2700 | |
| 46390617 | HbFS- | E2 | Nov. 30, 2018, 5:30 a.m. | OK | GNU C++14 | TESTS | 1 | 3868 | 5836800 | 2700 | |
| 46390132 | HbFS- | E2 | Nov. 30, 2018, 5:03 a.m. | OK | GNU C++14 | TESTS | 1 | 3884 | 5836800 | 2700 | |
| 46390107 | HbFS- | E2 | Nov. 30, 2018, 5:02 a.m. | OK | GNU C++14 | TESTS | 1 | 3884 | 5836800 | 2700 | |
| 27312630 | wtltw | E2 | May 24, 2017, 2:05 a.m. | OK | GNU C++14 | TESTS | 1 | 4242 | 5939200 | 2700 | |
| 27295636 | zhanglexing | E2 | May 23, 2017, 6:55 a.m. | OK | GNU C++14 | TESTS | 1 | 4945 | 14848000 | 2700 | |
| 27296446 | Xin-Jie | E2 | May 23, 2017, 7:57 a.m. | OK | GNU C++14 | TESTS | 1 | 4992 | 14848000 | 2700 | |
| 27296427 | zhouyuyang | E2 | May 23, 2017, 7:55 a.m. | OK | GNU C++14 | TESTS | 1 | 5647 | 65024000 | 2700 | |
| 27296736 | zhouyuyang | E2 | May 23, 2017, 8:15 a.m. | OK | GNU C++14 | TESTS | 1 | 5756 | 65126400 | 2700 | |
| 24682591 | cella.florescu | E2 | Feb. 14, 2017, 10:57 p.m. | OK | GNU C++14 | TESTS | 1 | 5958 | 12390400 | 2700 | |
| 23380408 | Ali.Pi | E2 | Dec. 28, 2016, 2:53 p.m. | OK | GNU C++14 | TESTS | 1 | 6239 | 19148800 | 2700 | |
| 66328561 | hjk1030 | E2 | Dec. 5, 2019, 2:54 p.m. | OK | GNU C++17 | TESTS | 1 | 5943 | 13004800 | 2700 | |
| 19555734 | di_halt | E2 | Aug. 1, 2016, 8:58 a.m. | OK | Java 8 | TESTS | 1 | 109 | 0 | 2700 | |
| 19005483 | stgatilov | E2 | July 10, 2016, 10:36 a.m. | OK | MS C++ | TESTS | 1 | 4788 | 62566400 | 2700 | |
| 19008613 | Taube | E2 | July 10, 2016, 12:08 p.m. | OK | MS C++ | TESTS | 1 | 4991 | 16281600 | 2700 | |
| 19005378 | ulna | E2 | July 10, 2016, 10:33 a.m. | OK | PHP | TESTS | 1 | 0 | 0 | 2700 |
Back to search problems