Codeforces Round 451 (Div. 2)

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
898 Codeforces Round 451 (Div. 2) FINISHED False 7200 223755863 Dec. 16, 2017, 11:35 a.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 1214 ) F Restoring the Expression PROGRAMMING brute force hashing math 2300

B"A correct expression of the form a+b=c was written; a, b and c are non-negative integers without leading zeros. In this expression, the plus and equally signs were lost. The task is to restore the expression. In other words, one character '+' and one character '=' should be inserted into given sequence of digits so that: It is guaranteed that in given tests answer always exists. The first line contains a non-empty string consisting of digits. The length of the string does not exceed 106. Output the restored expression. If there are several solutions, you can print any of them. Note that the answer at first should contain two terms (divided with symbol '+'), and then the result of their addition, before which symbol'=' should be. Do not separate numbers and operation signs with spaces. Strictly follow the output format given in the examples. If you remove symbol '+' and symbol '=' from answer string you should get a string, same as string from the input data. "...

Tutorials

Codeforces Round #451 (Div.2) Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
63033113 vjudge5 F Oct. 20, 2019, 7:22 p.m. OK Clang++17 Diagnostics TESTS 81 483 15667200 2300
33343356 FalseMirror F Dec. 17, 2017, 7:52 a.m. OK D TESTS 81 156 61747200 2300
33312834 HsOH F Dec. 16, 2017, 3:44 p.m. OK FPC TESTS 81 1528 54169600 2300
35587011 RccHD F Feb. 23, 2018, 2:30 a.m. OK GNU C TESTS 81 46 2867200 2300
33397810 pantw F Dec. 19, 2017, 5:24 a.m. OK GNU C TESTS 81 545 172339200 2300
33397559 pantw F Dec. 19, 2017, 5:07 a.m. OK GNU C TESTS 81 545 172339200 2300
33403949 applese F Dec. 19, 2017, 10:10 a.m. OK GNU C TESTS 81 561 172339200 2300
33665970 tokitsukaze F Dec. 27, 2017, 10:09 a.m. OK GNU C++ TESTS 81 61 19148800 2300
33330159 zqh_wz F Dec. 17, 2017, 6:15 a.m. OK GNU C++ TESTS 81 62 11059200 2300
34263933 Scut82 F Jan. 18, 2018, 1:29 a.m. OK GNU C++ TESTS 81 62 19148800 2300
33352446 Blue233333 F Dec. 17, 2017, 11:55 a.m. OK GNU C++ TESTS 81 62 34918400 2300
33352001 Blue233333 F Dec. 17, 2017, 11:41 a.m. OK GNU C++ TESTS 81 62 34918400 2300
33352318 Blue233333 F Dec. 17, 2017, 11:51 a.m. OK GNU C++ TESTS 81 77 34918400 2300
33372752 Samui F Dec. 18, 2017, 8:38 a.m. OK GNU C++ TESTS 81 78 18944000 2300
34921970 spsmoj3 F Feb. 4, 2018, 11:56 a.m. OK GNU C++ TESTS 81 93 34918400 2300
33365935 fyy2603 F Dec. 18, 2017, 12:52 a.m. OK GNU C++ TESTS 81 93 38195200 2300
35225675 liweiggg F Feb. 14, 2018, 8:05 a.m. OK GNU C++ TESTS 81 108 19046400 2300
49296856 vjudge2 F Jan. 31, 2019, 11:49 p.m. OK GNU C++11 TESTS 81 46 8806400 2300
33487536 PlayfulPanda F Dec. 21, 2017, 5:52 p.m. OK GNU C++11 TESTS 81 46 9420800 2300
49822858 sandychn F Feb. 12, 2019, 9:50 a.m. OK GNU C++11 TESTS 81 46 17100800 2300
33472258 mas3399 F Dec. 21, 2017, 7 a.m. OK GNU C++11 TESTS 81 46 19148800 2300
33472103 mas3399 F Dec. 21, 2017, 6:52 a.m. OK GNU C++11 TESTS 81 46 19148800 2300
33471658 mas3399 F Dec. 21, 2017, 6:26 a.m. OK GNU C++11 TESTS 81 46 19148800 2300
35823659 nonsequitur F March 2, 2018, 2:38 a.m. OK GNU C++11 TESTS 81 61 4096000 2300
62971416 ztx F Oct. 20, 2019, 7:03 a.m. OK GNU C++11 TESTS 81 61 11980800 2300
33326879 luucasv F Dec. 17, 2017, 2:50 a.m. OK GNU C++11 TESTS 81 61 20070400 2300
48285101 vjudge3 F Jan. 12, 2019, 9:59 a.m. OK GNU C++11 TESTS 81 61 21094400 2300
33526913 mengrao F Dec. 23, 2017, 6:13 a.m. OK GNU C++14 TESTS 81 30 4096000 2300
33526775 mengrao F Dec. 23, 2017, 6:08 a.m. OK GNU C++14 TESTS 81 30 4096000 2300
33526741 mengrao F Dec. 23, 2017, 6:07 a.m. OK GNU C++14 TESTS 81 31 4096000 2300
40978957 ReaLNero1 F July 30, 2018, 4:52 p.m. OK GNU C++14 TESTS 81 46 2252800 2300
33406425 haleyk100198 F Dec. 19, 2017, 11:40 a.m. OK GNU C++14 TESTS 81 61 12288000 2300
33463766 achm F Dec. 20, 2017, 6:30 p.m. OK GNU C++14 TESTS 81 61 36556800 2300
33329882 Alexit F Dec. 17, 2017, 6:04 a.m. OK GNU C++14 TESTS 81 62 31539200 2300
33350372 ytz123 F Dec. 17, 2017, 10:35 a.m. OK GNU C++14 TESTS 81 77 2867200 2300
51888734 Gazra F March 27, 2019, 7:58 a.m. OK GNU C++14 TESTS 81 77 18841600 2300
48275330 cnnfls_csy F Jan. 12, 2019, 5:22 a.m. OK GNU C++14 TESTS 81 77 19046400 2300
59622645 Phortox F Aug. 28, 2019, 2:44 p.m. OK GNU C++17 TESTS 81 61 18432000 2300
42723964 laurent.demonet F Sept. 10, 2018, 5:38 a.m. OK GNU C++17 TESTS 81 62 16896000 2300
50607896 supremeyu F Feb. 28, 2019, 3:27 p.m. OK GNU C++17 TESTS 81 62 34508800 2300
51083430 ArshiaDadras F March 9, 2019, 12:16 p.m. OK GNU C++17 TESTS 81 77 10137600 2300
39279974 YazanRi F June 16, 2018, 5:58 a.m. OK GNU C++17 TESTS 81 77 18636800 2300
46966033 MeowMr F Dec. 13, 2018, 11:24 a.m. OK GNU C++17 TESTS 81 78 18124800 2300
62849191 mangojunior F Oct. 18, 2019, 6:38 a.m. OK GNU C++17 TESTS 81 78 26828800 2300
57934929 k24 F July 29, 2019, 10:13 a.m. OK GNU C++17 TESTS 81 92 18432000 2300
50617232 Artemx F Feb. 28, 2019, 8:31 p.m. OK GNU C++17 TESTS 81 93 10444800 2300
57171944 passerby_Liao F July 17, 2019, 3:39 a.m. OK GNU C++17 TESTS 81 93 69120000 2300
33370857 stczhc F Dec. 18, 2017, 7:10 a.m. OK Haskell TESTS 81 1184 253030400 2300
33325079 tmwilliamlin168 F Dec. 16, 2017, 11:52 p.m. OK Java 8 TESTS 81 202 42188800 2300
52659740 wadissimo F April 12, 2019, 9:31 p.m. OK Java 8 TESTS 81 202 42700800 2300
33644223 _Sergey_ F Dec. 26, 2017, 10:49 a.m. OK Java 8 TESTS 81 218 42188800 2300
33389589 henryhuypham F Dec. 18, 2017, 6:34 p.m. OK Java 8 TESTS 81 233 42086400 2300
33644068 _Sergey_ F Dec. 26, 2017, 10:43 a.m. OK Java 8 TESTS 81 234 41881600 2300
33380475 vovacomua F Dec. 18, 2017, 1:16 p.m. OK Java 8 TESTS 81 249 65331200 2300
35903840 flyman3046 F March 4, 2018, 12:05 a.m. OK Java 8 TESTS 81 296 69324800 2300
35827104 Suzukaze F March 2, 2018, 6:42 a.m. OK Java 8 TESTS 81 311 65331200 2300
33389609 henryhuypham F Dec. 18, 2017, 6:35 p.m. OK Java 8 TESTS 81 311 97689600 2300
41979535 Svyat F Aug. 22, 2018, 11:22 p.m. OK Java 8 TESTS 81 342 3072000 2300
62845648 vjudge3 F Oct. 18, 2019, 5:28 a.m. OK MS C++ TESTS 81 124 34099200 2300
49970033 vjudge3 F Feb. 16, 2019, 1:03 a.m. OK MS C++ TESTS 81 139 5017600 2300
49830294 vjudge1 F Feb. 12, 2019, 1:36 p.m. OK MS C++ TESTS 81 139 13004800 2300
58317969 vjudge1 F Aug. 5, 2019, 4:10 a.m. OK MS C++ TESTS 81 139 18227200 2300
49970044 vjudge4 F Feb. 16, 2019, 1:04 a.m. OK MS C++ TESTS 81 140 5017600 2300
33312139 innok96 F Dec. 16, 2017, 3:26 p.m. OK MS C++ TESTS 81 140 17612800 2300
58321721 vjudge4 F Aug. 5, 2019, 6:07 a.m. OK MS C++ TESTS 81 140 18022400 2300
58321961 vjudge4 F Aug. 5, 2019, 6:14 a.m. OK MS C++ TESTS 81 155 18022400 2300
49269259 vjudge1 F Jan. 31, 2019, 1:59 p.m. OK MS C++ TESTS 81 156 16588800 2300
50062236 vjudge1 F Feb. 17, 2019, 1:11 p.m. OK MS C++ TESTS 81 156 16998400 2300
63040552 vjudge2 F Oct. 21, 2019, 12:20 a.m. OK MS C++ 2017 TESTS 81 78 12185600 2300
63524739 CGD_sk8 F Oct. 27, 2019, 4:54 a.m. OK MS C++ 2017 TESTS 81 139 34713600 2300
63524841 vjudge1 F Oct. 27, 2019, 4:56 a.m. OK MS C++ 2017 TESTS 81 140 34713600 2300
40572025 xionghuixin2018 F July 20, 2018, 8:41 a.m. OK PyPy 3 TESTS 81 1528 178892800 2300
40600505 xionghuixin2018 F July 21, 2018, 8:18 a.m. OK PyPy 3 TESTS 81 1528 179200000 2300
40571341 xionghuixin2018 F July 20, 2018, 8:20 a.m. OK PyPy 3 TESTS 81 1528 181043200 2300
33315914 nwi F Dec. 16, 2017, 4:56 p.m. OK Python 2 TESTS 81 1606 53043200 2300
38572733 Ali_Pi F May 23, 2018, 9:58 p.m. OK Python 2 TESTS 81 1637 48435200 2300

remove filters

Back to search problems