April Fools Contest 2017

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
784 April Fools Contest 2017 FINISHED False 7200 240850799 March 31, 2017, 3 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 748 ) G BF Calculator PROGRAMMING *special 2100

B'In this problem you will write a simple generator of Brainfuck (https://en.wikipedia.org/wiki/Brainfuck) calculators. You are given an arithmetic expression consisting of integers from 0 to 255 and addition/subtraction signs between them. Output a Brainfuck program which, when executed, will print the result of evaluating this expression. We use a fairly standard Brainfuck interpreter for checking the programs: The only line of input data contains the arithmetic expression. The expression will contain between 2 and 10 operands, separated with arithmetic signs plus and/or minus. Each operand will be an integer between 0 and 255, inclusive. The calculations result is guaranteed to be an integer between 0 and 255, inclusive (results of intermediary calculations might be outside of these boundaries). Output a Brainfuck program which, when executed, will print the result of evaluating this expression. The program must be at most 5000000 characters long (including the non-command characters), and its execution must be complete in at most 50000000 steps. You can download the source code of the Brainfuck interpreter by the link http://assets.codeforces.com/rounds/784/bf.cpp. We use this code to interpret outputs. '...

Tutorials

51351

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
26011591 Gassa G March 31, 2017, 4:06 p.m. OK D TESTS 20 15 3072000 2100
26145653 VladProg G April 5, 2017, 2:23 p.m. OK FPC TESTS 20 15 1638400 2100
26092874 lkmcfj G April 3, 2017, 7:08 a.m. OK FPC TESTS 20 15 1740800 2100
26036669 Mervap G March 31, 2017, 9:25 p.m. OK FPC TESTS 20 15 1740800 2100
26027338 boddiul G March 31, 2017, 4:48 p.m. OK FPC TESTS 20 15 1740800 2100
26252565 gleb.shnshn G April 10, 2017, 12:17 p.m. OK FPC TESTS 20 31 1843200 2100
26069994 c-and-j G April 2, 2017, 5:46 a.m. OK GNU C TESTS 20 15 1843200 2100
26055502 CloudStrife G April 1, 2017, 1:52 p.m. OK GNU C TESTS 20 15 1843200 2100
41688855 rainboy G Aug. 17, 2018, 2:46 p.m. OK GNU C TESTS 20 31 0 2100
41215032 daifucong G Aug. 4, 2018, 12:33 p.m. OK GNU C++ TESTS 20 15 0 2100
30605249 maratonando2 G Sept. 22, 2017, 4:01 a.m. OK GNU C++ TESTS 20 15 0 2100
30602812 maratonando2 G Sept. 21, 2017, 11:46 p.m. OK GNU C++ TESTS 20 15 0 2100
27352513 vjudge2 G May 26, 2017, 9:20 a.m. OK GNU C++ TESTS 20 15 0 2100
27300230 nickluo G May 23, 2017, 11:39 a.m. OK GNU C++ TESTS 20 15 0 2100
27230991 nickluo G May 20, 2017, 8:08 a.m. OK GNU C++ TESTS 20 15 0 2100
27230869 vjudge1 G May 20, 2017, 8:02 a.m. OK GNU C++ TESTS 20 15 0 2100
27143170 Mikaeel G May 15, 2017, 6:32 p.m. OK GNU C++ TESTS 20 15 0 2100
30819176 maratonando2 G Sept. 29, 2017, 2:49 a.m. OK GNU C++ TESTS 20 15 307200 2100
26317795 vjudge4 G April 12, 2017, 1:02 p.m. OK GNU C++ TESTS 20 15 1843200 2100
52066540 Holland_Pig G March 31, 2019, 5:44 a.m. OK GNU C++11 TESTS 20 15 0 2100
52144021 mircearoata G April 1, 2019, 8:24 a.m. OK GNU C++11 TESTS 20 15 0 2100
31147832 GabrielPessoa G Oct. 8, 2017, 3:13 p.m. OK GNU C++11 TESTS 20 15 0 2100
30818394 maratonando G Sept. 29, 2017, 1:19 a.m. OK GNU C++11 TESTS 20 15 0 2100
30818387 rafaelmachado23 G Sept. 29, 2017, 1:18 a.m. OK GNU C++11 TESTS 20 15 0 2100
30816807 maratonando G Sept. 28, 2017, 10 p.m. OK GNU C++11 TESTS 20 15 0 2100
30816798 rbv3 G Sept. 28, 2017, 9:59 p.m. OK GNU C++11 TESTS 20 15 0 2100
30666941 maratonando G Sept. 24, 2017, 1:27 p.m. OK GNU C++11 TESTS 20 15 0 2100
30652390 maratonando G Sept. 23, 2017, 7:37 p.m. OK GNU C++11 TESTS 20 15 0 2100
30625401 maratonando2 G Sept. 22, 2017, 8:48 p.m. OK GNU C++11 TESTS 20 15 0 2100
52267212 Jester G April 3, 2019, 11:49 a.m. OK GNU C++14 TESTS 20 15 0 2100
49940630 rfpermen G Feb. 15, 2019, 9:26 a.m. OK GNU C++14 TESTS 20 15 0 2100
49940613 rfpermen G Feb. 15, 2019, 9:26 a.m. OK GNU C++14 TESTS 20 15 0 2100
42343255 zsmn G Sept. 1, 2018, 6:50 p.m. OK GNU C++14 TESTS 20 15 0 2100
31846983 Mr.Donaldo G Oct. 28, 2017, 5:57 p.m. OK GNU C++14 TESTS 20 15 0 2100
30816791 rbv3 G Sept. 28, 2017, 9:59 p.m. OK GNU C++14 TESTS 20 15 0 2100
30566348 newbb G Sept. 21, 2017, 3:32 a.m. OK GNU C++14 TESTS 20 15 0 2100
32036669 SpeedOfMagic G Nov. 3, 2017, 8:38 p.m. OK GNU C++14 TESTS 20 15 204800 2100
32810944 quanpham0805 G Nov. 30, 2017, 4:18 p.m. OK GNU C++14 TESTS 20 15 1843200 2100
26020737 gina0605 G March 31, 2017, 4:28 p.m. OK GNU C++14 TESTS 20 15 1843200 2100
50285085 vjudge3 G Feb. 21, 2019, 2:28 p.m. OK GNU C++17 TESTS 20 15 0 2100
61023708 NMFF0B0H G Sept. 21, 2019, 3:21 p.m. OK GNU C++17 TESTS 20 15 11980800 2100
50510487 vjudge2 G Feb. 25, 2019, 11:39 p.m. OK GNU C++17 TESTS 20 30 0 2100
36774374 Yezq G March 31, 2018, 12:56 p.m. OK GNU C++17 TESTS 20 30 3379200 2100
41137260 .__. G Aug. 2, 2018, 10:17 p.m. OK GNU C++17 TESTS 20 31 0 2100
42435576 vjudge2 G Sept. 3, 2018, 5:11 p.m. OK GNU C++17 TESTS 20 31 204800 2100
42435559 acrc2 G Sept. 3, 2018, 5:10 p.m. OK GNU C++17 TESTS 20 31 204800 2100
26041564 stczhc G April 1, 2017, 3:32 a.m. OK Haskell TESTS 20 15 44851200 2100
26024589 U_Square G March 31, 2017, 4:39 p.m. OK Java 8 TESTS 20 93 26009600 2100
26015573 thainguyenhung G March 31, 2017, 4:15 p.m. OK Java 8 TESTS 20 109 25907200 2100
26024851 uwi G March 31, 2017, 4:40 p.m. OK Java 8 TESTS 20 109 26009600 2100
26023860 Alexxx G March 31, 2017, 4:37 p.m. OK Java 8 TESTS 20 109 26009600 2100
26011870 Dukkha G March 31, 2017, 4:06 p.m. OK Java 8 TESTS 20 109 26009600 2100
26009321 sanketmakani G March 31, 2017, 4 p.m. OK Java 8 TESTS 20 109 26112000 2100
26080371 gyshgx868 G April 2, 2017, 2:49 p.m. OK Java 8 TESTS 20 109 26112000 2100
26029833 Slamur G March 31, 2017, 4:56 p.m. OK Java 8 TESTS 20 109 26419200 2100
26009207 iakovlev.zakhar G March 31, 2017, 4 p.m. OK Java 8 TESTS 20 124 26009600 2100
26056958 maria12881 G April 1, 2017, 2:52 p.m. OK Java 8 TESTS 20 124 26112000 2100
36772662 aaa2333333 G March 31, 2018, 11:46 a.m. OK JavaScript TESTS 20 15 5836800 2100
57313411 sjx233 G July 19, 2019, 7:21 a.m. OK JavaScript TESTS 20 31 0 2100
26042548 Hapsidra G April 1, 2017, 4:40 a.m. OK JavaScript TESTS 20 46 5939200 2100
26054399 dyukha G April 1, 2017, 1:16 p.m. OK Kotlin TESTS 20 124 26726400 2100
26194520 csharpist G April 7, 2017, 1:33 p.m. OK Mono C# TESTS 20 124 12288000 2100
26015958 Kirundel G March 31, 2017, 4:16 p.m. OK MS C# TESTS 20 62 8908800 2100
27203736 Volpe G May 18, 2017, 7:39 p.m. OK MS C++ TESTS 20 15 102400 2100
31274392 2158090 G Oct. 13, 2017, 12:39 p.m. OK MS C++ TESTS 20 15 204800 2100
26025921 K.islo G March 31, 2017, 4:43 p.m. OK MS C++ TESTS 20 15 2048000 2100
26050264 idee.fixe G April 1, 2017, 10:43 a.m. OK MS C++ TESTS 20 15 2048000 2100
26037952 Milanin G March 31, 2017, 10:48 p.m. OK MS C++ TESTS 20 15 2048000 2100
26030035 MaxM G March 31, 2017, 4:57 p.m. OK MS C++ TESTS 20 15 2048000 2100
26020072 ivlev.stef G March 31, 2017, 4:26 p.m. OK MS C++ TESTS 20 15 2048000 2100
26016248 Rayker G March 31, 2017, 4:17 p.m. OK MS C++ TESTS 20 15 2048000 2100
26012060 Deamon G March 31, 2017, 4:07 p.m. OK MS C++ TESTS 20 15 2048000 2100
26011278 idee.fixe G March 31, 2017, 4:05 p.m. OK MS C++ TESTS 20 15 2048000 2100
26064066 Darooha G April 1, 2017, 8:05 p.m. OK Ocaml TESTS 20 15 3891200 2100
26023205 rsFalse G March 31, 2017, 4:35 p.m. OK Perl TESTS 20 31 2662400 2100
26317249 vjudge1 G April 12, 2017, 12:38 p.m. OK PyPy 2 TESTS 20 62 21913600 2100
26303660 Yash_ G April 11, 2017, 4:31 p.m. OK PyPy 2 TESTS 20 62 21913600 2100
26256107 vjudge5 G April 10, 2017, 2:53 p.m. OK PyPy 2 TESTS 20 77 21913600 2100
26792678 greencis G May 1, 2017, 9:31 p.m. OK PyPy 3 TESTS 20 93 23142400 2100
26054237 Igorjan94 G April 1, 2017, 1:11 p.m. OK PyPy 3 TESTS 20 93 23142400 2100
26012034 mortido G March 31, 2017, 4:06 p.m. OK PyPy 3 TESTS 20 108 23142400 2100
26319342 vjudge2 G April 12, 2017, 2:09 p.m. OK PyPy 3 TESTS 20 108 23347200 2100
26317398 vjudge1 G April 12, 2017, 12:46 p.m. OK PyPy 3 TESTS 20 109 23347200 2100
29638860 zyr17 G Aug. 21, 2017, 8:34 a.m. OK Python 2 TESTS 20 46 0 2100
26319661 vjudge5 G April 12, 2017, 2:24 p.m. OK Python 2 TESTS 20 46 4710400 2100
26319649 vjudge1 G April 12, 2017, 2:24 p.m. OK Python 2 TESTS 20 46 4710400 2100
26312554 HBK_Wasi G April 12, 2017, 7:26 a.m. OK Python 2 TESTS 20 46 4710400 2100
26185309 MIG29 G April 7, 2017, 6:39 a.m. OK Python 2 TESTS 20 46 4710400 2100
26182829 fqw G April 7, 2017, 2:34 a.m. OK Python 2 TESTS 20 46 4710400 2100
26133844 bash G April 5, 2017, 1 a.m. OK Python 2 TESTS 20 46 4710400 2100
26054712 Igorjan94 G April 1, 2017, 1:26 p.m. OK Python 2 TESTS 20 46 4710400 2100
26047620 apiadu G April 1, 2017, 8:51 a.m. OK Python 2 TESTS 20 46 4710400 2100
26039980 cjquines G April 1, 2017, 1:43 a.m. OK Python 2 TESTS 20 46 4710400 2100
27977541 aayush9 G June 23, 2017, 5:35 a.m. OK Python 3 TESTS 20 46 5529600 2100
26016065 BekzhanKassenov G March 31, 2017, 4:16 p.m. OK Python 3 TESTS 20 46 5529600 2100
26028219 komendart G March 31, 2017, 4:50 p.m. OK Python 3 TESTS 20 46 5632000 2100
26025873 lzr_010506 G March 31, 2017, 4:43 p.m. OK Python 3 TESTS 20 46 5632000 2100
26019799 Xellos G March 31, 2017, 4:26 p.m. OK Python 3 TESTS 20 46 5632000 2100
26015296 saipraveenmylavarapu G March 31, 2017, 4:14 p.m. OK Python 3 TESTS 20 46 5632000 2100
26011620 ITX351 G March 31, 2017, 4:06 p.m. OK Python 3 TESTS 20 46 5632000 2100
26319011 vjudge2 G April 12, 2017, 1:53 p.m. OK Python 3 TESTS 20 61 4608000 2100
26040288 southball G April 1, 2017, 2:06 a.m. OK Python 3 TESTS 20 61 5529600 2100
26035331 tgehr G March 31, 2017, 8:22 p.m. OK Python 3 TESTS 20 61 5529600 2100
45853116 yongwhan G Nov. 17, 2018, 1:52 a.m. OK Ruby TESTS 20 62 0 2100
26607892 cielavenir G April 23, 2017, 2:53 p.m. OK Ruby TESTS 20 62 6348800 2100
26461655 kulych G April 17, 2017, 6:09 p.m. OK Ruby TESTS 20 77 6451200 2100
26087968 Chortos-2 G April 2, 2017, 11:11 p.m. OK Ruby TESTS 20 108 6451200 2100

remove filters

Back to search problems