April Fools Contest 2018

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
952 April Fools Contest 2018 FINISHED False 7200 209226299 April 1, 2018, 3:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 238 ) G Puzzling Language PROGRAMMING constructive algorithms 2500

B"In this problem you will write a simple code generator for a 2D programming language derived from Brainfuck. The code in this language is a rectangular grid of characters '.' and 'X'. The code is converted to a Brainfuck program as follows: the characters are read in the usual order (top to bottom, left to right), and each 'X' character is converted a Brainfuck instruction to be executed. The instruction is defined by the left, top and right neighbors of the 'X' character using the following conversion table: You are given a string. Output a program in the described language which prints this string. You can download the language interpreter used for judging here: https://assets.codeforces.com/rounds/952/puzzling-interpreter.cpp (use C++11 to compile the code). Note several implementation details: The input consists of a single string of characters with ASCII codes between 33 ('!') and 122 ('z'), inclusive. The length of the string is between 1 and 10 characters, inclusive. Output a program in the described language which, when executed, will print the given message. The example corresponds to the following Brainfuck program: The triangular block decrements the first memory cell and sets the value of the second memory cell to 36 - the ASCII code of '$' character. The next line after the triangular block moves the memory pointer to the second memory cell, and the next three lines print the '$' character three times. "...

Tutorials

April Fools Day Contest 2018: editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
36872068 cen G April 2, 2018, 7:43 a.m. OK D TESTS 34 31 8601600 2500
36845015 Gassa G April 1, 2018, 4:51 p.m. OK D TESTS 34 31 8601600 2500
37022782 Peter_Matthew G April 6, 2018, 1:57 p.m. OK GNU C++ TESTS 34 30 3481600 2500
36868170 tokitsukaze G April 2, 2018, 4:32 a.m. OK GNU C++ TESTS 34 30 3481600 2500
36866447 xxxyyyzzz G April 2, 2018, 1:53 a.m. OK GNU C++ TESTS 34 31 3481600 2500
36858453 qiancy981 G April 1, 2018, 5:32 p.m. OK GNU C++ TESTS 34 31 3481600 2500
36851491 lijiamu G April 1, 2018, 5:08 p.m. OK GNU C++ TESTS 34 31 4505600 2500
36852516 Ioser G April 1, 2018, 5:12 p.m. OK GNU C++ TESTS 34 31 4710400 2500
58102248 sjx233 G Aug. 1, 2019, 1:52 a.m. OK GNU C11 TESTS 34 31 0 2500
36857577 rowdark G April 1, 2018, 5:30 p.m. OK GNU C++11 TESTS 34 15 3379200 2500
36936353 Hacheylight G April 4, 2018, 12:59 a.m. OK GNU C++11 TESTS 34 15 3481600 2500
36851948 percywtc G April 1, 2018, 5:10 p.m. OK GNU C++11 TESTS 34 15 3481600 2500
36936361 luogu_bot2 G April 4, 2018, 1 a.m. OK GNU C++11 TESTS 34 15 3481600 2500
36849222 Flandr.Scarlet G April 1, 2018, 5:01 p.m. OK GNU C++11 TESTS 34 15 3584000 2500
37663091 krijgertje G April 27, 2018, 1:48 p.m. OK GNU C++11 TESTS 34 15 3584000 2500
36858120 knightL G April 1, 2018, 5:31 p.m. OK GNU C++11 TESTS 34 30 3379200 2500
36876126 zhangzy G April 2, 2018, 11:18 a.m. OK GNU C++11 TESTS 34 30 3481600 2500
36858970 TankEngineer G April 1, 2018, 5:34 p.m. OK GNU C++11 TESTS 34 30 3481600 2500
36879263 m.levin G April 2, 2018, 1:17 p.m. OK GNU C++11 TESTS 34 30 3481600 2500
37187097 Passioncoder G April 11, 2018, 5:27 a.m. OK GNU C++14 TESTS 34 15 3379200 2500
36864474 eyg G April 1, 2018, 9:48 p.m. OK GNU C++14 TESTS 34 15 3379200 2500
36860908 Wizard_wzx7 G April 1, 2018, 6:40 p.m. OK GNU C++14 TESTS 34 15 3379200 2500
36860835 abdulla.ashraf G April 1, 2018, 6:38 p.m. OK GNU C++14 TESTS 34 15 3379200 2500
36856706 gabrielx G April 1, 2018, 5:27 p.m. OK GNU C++14 TESTS 34 15 3379200 2500
36856040 natsugiri G April 1, 2018, 5:24 p.m. OK GNU C++14 TESTS 34 15 3379200 2500
36846171 gepardo G April 1, 2018, 4:54 p.m. OK GNU C++14 TESTS 34 15 3379200 2500
36870696 Hacheylight G April 2, 2018, 6:51 a.m. OK GNU C++14 TESTS 34 15 3379200 2500
36835699 gchebanov G April 1, 2018, 4:31 p.m. OK GNU C++14 TESTS 34 15 3584000 2500
37443177 ReXFeliS G April 18, 2018, 4:27 p.m. OK GNU C++14 TESTS 34 15 3686400 2500
40932663 ReaLNero1 G July 30, 2018, 1:57 a.m. OK GNU C++17 TESTS 34 15 0 2500
36906801 Goncharenko G April 3, 2018, 3:46 p.m. OK GNU C++17 TESTS 34 15 3379200 2500
36906411 Cuellius G April 3, 2018, 3:28 p.m. OK GNU C++17 TESTS 34 15 3379200 2500
36866354 eric574 G April 2, 2018, 1:44 a.m. OK GNU C++17 TESTS 34 30 3379200 2500
36879575 DennisPraet G April 2, 2018, 1:28 p.m. OK GNU C++17 TESTS 34 30 3379200 2500
36849170 buggy.code G April 1, 2018, 5:01 p.m. OK GNU C++17 TESTS 34 30 3379200 2500
45099666 RebeccaFrank0vic G Oct. 30, 2018, 1:20 p.m. OK GNU C++17 TESTS 34 31 0 2500
42126311 Anguei G Aug. 26, 2018, 3:27 p.m. OK GNU C++17 TESTS 34 31 0 2500
41203858 laurent.demonet G Aug. 4, 2018, 6:51 a.m. OK GNU C++17 TESTS 34 31 0 2500
59900269 SPyofgame G Sept. 2, 2019, 1:26 p.m. OK GNU C++17 TESTS 34 31 0 2500
36855838 Pennyroyal_Tea G April 1, 2018, 5:23 p.m. OK Java 8 TESTS 34 124 20684800 2500
36861892 __Itachi__Uchiha__ G April 1, 2018, 7:14 p.m. OK Java 8 TESTS 34 140 20684800 2500
36852435 uwi G April 1, 2018, 5:11 p.m. OK Java 8 TESTS 34 140 20684800 2500
36840024 alexjthat G April 1, 2018, 4:40 p.m. OK Java 8 TESTS 34 140 20684800 2500
36829786 eatmore G April 1, 2018, 4:21 p.m. OK Java 8 TESTS 34 140 20684800 2500
36877332 xiongyunuo G April 2, 2018, 12:09 p.m. OK Java 8 TESTS 34 218 21196800 2500
36847870 absi2011 G April 1, 2018, 4:58 p.m. OK MS C++ TESTS 34 30 3481600 2500
36851278 Ne0n G April 1, 2018, 5:08 p.m. OK MS C++ TESTS 34 31 4198400 2500
36854606 Chortos-2 G April 1, 2018, 5:19 p.m. OK PyPy 2 TESTS 34 93 22835200 2500
36831832 kevinsogo G April 1, 2018, 4:24 p.m. OK PyPy 2 TESTS 34 140 24268800 2500
36859814 Igorjan94 G April 1, 2018, 6:09 p.m. OK PyPy 3 TESTS 34 93 21401600 2500
36844143 TangentOfA G April 1, 2018, 4:49 p.m. OK PyPy 3 TESTS 34 93 21401600 2500
51118058 teitoku G March 10, 2019, 7:53 a.m. OK PyPy 3 TESTS 34 124 0 2500
36850207 WJMZ8MR G April 1, 2018, 5:04 p.m. OK Python 2 TESTS 34 93 6041600 2500
39209298 Ali_Pi G June 13, 2018, 7:42 a.m. OK Python 2 TESTS 34 108 0 2500
36845083 135678942570 G April 1, 2018, 4:51 p.m. OK Python 2 TESTS 34 109 6041600 2500
36858155 Metaray21 G April 1, 2018, 5:32 p.m. OK Python 3 TESTS 34 78 7065600 2500
36845291 asvasil G April 1, 2018, 4:52 p.m. OK Python 3 TESTS 34 78 7065600 2500
36860274 mebeim G April 1, 2018, 6:22 p.m. OK Python 3 TESTS 34 78 7168000 2500
37308488 Kaildls G April 14, 2018, 5:25 a.m. OK Python 3 TESTS 34 93 7065600 2500
37145186 Kaildls G April 10, 2018, 1:09 p.m. OK Python 3 TESTS 34 93 7065600 2500
36942740 Yee_172 G April 4, 2018, 7:41 a.m. OK Python 3 TESTS 34 93 7065600 2500
36942588 Yee_172 G April 4, 2018, 7:33 a.m. OK Python 3 TESTS 34 93 7065600 2500
36938860 dreamaniac G April 4, 2018, 4:05 a.m. OK Python 3 TESTS 34 93 7065600 2500
36886597 pikmike G April 2, 2018, 6:31 p.m. OK Python 3 TESTS 34 93 7065600 2500
36866997 i14 G April 2, 2018, 2:53 a.m. OK Python 3 TESTS 34 93 7065600 2500

remove filters

Back to search problems