Codeforces Round 292 (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
515 Codeforces Round 292 (Div. 2) FINISHED False 7200 307632299 Feb. 17, 2015, 4:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 2867 ) D Drazil and Tiles PROGRAMMING constructive algorithms greedy 2100

B'Drazil created a following problem about putting 1 xe2 x80 x89 xc3 x97 xe2 x80 x892 tiles into an n xe2 x80 x89 xc3 x97 xe2 x80 x89m grid: "There is a grid with some cells that are empty and some cells that are occupied. You should use 1 xe2 x80 x89 xc3 x97 xe2 x80 x892 tiles to cover all empty cells and no two tiles should cover each other. And you should print a solution about how to do it." But Drazil doesn 't like to write special checking program for this task. His friend, Varda advised him: "how about asking contestant only to print the solution when it exists and it is unique? Otherwise contestant may print 'Not unique ' ". Drazil found that the constraints for this task may be much larger than for the original task! Can you solve this new problem? Note that you should print 'Not unique ' either when there exists no solution or when there exists several different solutions for the original task. The first line contains two integers n and m (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n, xe2 x80 x89m xe2 x80 x89 xe2 x89 xa4 xe2 x80 x892000). The following n lines describe the grid rows. Character '. ' denotes an empty cell, and the character '* ' denotes a cell that is occupied. If there is no solution or the solution is not unique, you should print the string "Not unique". Otherwise you should print how to cover all empty cells with 1 xe2 x80 x89 xc3 x97 xe2 x80 x892 tiles. Use characters "<>" to denote horizontal tiles and characters "^v" to denote vertical tiles. Refer to the sample test for the output format example. In the first case, there are indeed two solutions: and so the answer is "Not unique".'...

Tutorials

Codeforces Round #292 Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
39454610 chaorenhaha D June 21, 2018, 7:46 a.m. OK FPC TESTS 42 265 4505600 2100
69076136 vjudge1 D Jan. 19, 2020, 3:17 a.m. OK FPC TESTS 42 374 5427200 2100
69075896 zsz12251665 D Jan. 19, 2020, 3:04 a.m. OK FPC TESTS 42 405 5427200 2100
25172780 Zeron D March 3, 2017, 2:11 p.m. OK FPC TESTS 42 530 70348800 2100
21757670 orailly D Oct. 24, 2016, 7:06 p.m. OK GNU C TESTS 42 124 8089600 2100
21751313 orailly D Oct. 24, 2016, 3:27 p.m. OK GNU C TESTS 42 124 12083200 2100
21755738 orailly D Oct. 24, 2016, 5:28 p.m. OK GNU C TESTS 42 140 7987200 2100
42297105 DanielColman D Aug. 31, 2018, 4:23 a.m. OK GNU C TESTS 42 140 36147200 2100
35885009 ______u______ D March 3, 2018, 1:21 p.m. OK GNU C TESTS 42 140 37990400 2100
35884659 ______n______ D March 3, 2018, 1:15 p.m. OK GNU C TESTS 42 140 37990400 2100
35883939 _____k_____ D March 3, 2018, 1:03 p.m. OK GNU C TESTS 42 140 37990400 2100
35883639 _____i_____ D March 3, 2018, 12:57 p.m. OK GNU C TESTS 42 140 37990400 2100
35873266 ______h______ D March 3, 2018, 7:28 a.m. OK GNU C TESTS 42 140 37990400 2100
35873143 ______k______ D March 3, 2018, 7:24 a.m. OK GNU C TESTS 42 140 37990400 2100
21757722 orailly D Oct. 24, 2016, 7:10 p.m. OK GNU C++ TESTS 42 109 7884800 2100
40898486 vjudge3 D July 28, 2018, 10:20 p.m. OK GNU C++ TESTS 42 124 27033600 2100
13908279 130705009 D Oct. 28, 2015, 4:41 a.m. OK GNU C++ TESTS 42 124 84172800 2100
10922801 huansuz1 D April 28, 2015, 6:58 p.m. OK GNU C++ TESTS 42 139 13312000 2100
23794054 Saat D Jan. 13, 2017, 9:22 p.m. OK GNU C++ TESTS 42 139 29081600 2100
11872466 Adkay D June 30, 2015, 9:44 p.m. OK GNU C++ TESTS 42 155 4198400 2100
18912240 bnuvjudge D July 6, 2016, 5:46 a.m. OK GNU C++ TESTS 42 155 4505600 2100
11718602 ghemnis D June 23, 2015, 7:07 a.m. OK GNU C++ TESTS 42 155 26828800 2100
10511085 resendiz D March 29, 2015, 5:18 a.m. OK GNU C++ TESTS 42 155 26828800 2100
15788656 bluefi D Feb. 4, 2016, 2:17 p.m. OK GNU C++ TESTS 42 155 26931200 2100
21751343 orailly D Oct. 24, 2016, 3:28 p.m. OK GNU C11 TESTS 42 109 12083200 2100
21757587 orailly D Oct. 24, 2016, 7:02 p.m. OK GNU C11 TESTS 42 124 7987200 2100
21757475 orailly D Oct. 24, 2016, 6:56 p.m. OK GNU C11 TESTS 42 124 7987200 2100
21756202 orailly D Oct. 24, 2016, 5:50 p.m. OK GNU C11 TESTS 42 124 7987200 2100
21755724 orailly D Oct. 24, 2016, 5:27 p.m. OK GNU C11 TESTS 42 124 7987200 2100
21754658 orailly D Oct. 24, 2016, 4:37 p.m. OK GNU C11 TESTS 42 124 7987200 2100
21753670 orailly D Oct. 24, 2016, 3:54 p.m. OK GNU C11 TESTS 42 124 12083200 2100
21753584 orailly D Oct. 24, 2016, 3:50 p.m. OK GNU C11 TESTS 42 124 12083200 2100
21754043 orailly D Oct. 24, 2016, 4:11 p.m. OK GNU C11 TESTS 42 140 12083200 2100
21745601 orailly D Oct. 24, 2016, 1:34 p.m. OK GNU C11 TESTS 42 156 12083200 2100
67309954 vjudge1 D Dec. 21, 2019, 1:46 a.m. OK GNU C++11 TESTS 42 108 4300800 2100
44337776 SGColin D Oct. 14, 2018, 11:44 p.m. OK GNU C++11 TESTS 42 109 43212800 2100
21757711 orailly D Oct. 24, 2016, 7:09 p.m. OK GNU C++11 TESTS 42 124 7884800 2100
41825931 vjudge5 D Aug. 19, 2018, 12:02 p.m. OK GNU C++11 TESTS 42 124 14643200 2100
44337787 COLINGAO D Oct. 14, 2018, 11:45 p.m. OK GNU C++11 TESTS 42 124 43212800 2100
41825915 SiRenhaha D Aug. 19, 2018, 12:02 p.m. OK GNU C++11 TESTS 42 139 14643200 2100
41825963 vjudge4 D Aug. 19, 2018, 12:03 p.m. OK GNU C++11 TESTS 42 139 14643200 2100
69076153 vjudge2 D Jan. 19, 2020, 3:17 a.m. OK GNU C++11 TESTS 42 140 4300800 2100
69073961 vjudge3 D Jan. 19, 2020, 1:23 a.m. OK GNU C++11 TESTS 42 140 4300800 2100
11366340 KArs D May 31, 2015, 12:26 p.m. OK GNU C++11 TESTS 42 140 11264000 2100
21757839 orailly D Oct. 24, 2016, 7:16 p.m. OK GNU C++14 TESTS 42 124 7987200 2100
34272494 Jeffrey D Jan. 18, 2018, 9:57 a.m. OK GNU C++14 TESTS 42 140 15769600 2100
51790187 rareone0602 D March 24, 2019, 12:29 p.m. OK GNU C++14 TESTS 42 170 29286400 2100
42206963 vjudge1 D Aug. 28, 2018, 12:08 p.m. OK GNU C++14 TESTS 42 171 27033600 2100
42206958 vanbang9710 D Aug. 28, 2018, 12:08 p.m. OK GNU C++14 TESTS 42 171 27033600 2100
31981807 .st D Nov. 2, 2017, 1:40 p.m. OK GNU C++14 TESTS 42 171 27136000 2100
46300487 DF_cjc D Nov. 28, 2018, 7:22 a.m. OK GNU C++14 TESTS 42 171 31129600 2100
29840306 toxzi D Aug. 28, 2017, 7:27 a.m. OK GNU C++14 TESTS 42 171 34406400 2100
28927110 boook D July 27, 2017, 9:55 a.m. OK GNU C++14 TESTS 42 171 48230400 2100
56671852 vsriram1012 D July 7, 2019, 1:29 p.m. OK GNU C++14 TESTS 42 186 29900800 2100
45225382 vjudge5 D Nov. 3, 2018, 2:47 a.m. OK GNU C++17 TESTS 42 139 27443200 2100
58548431 balle D Aug. 10, 2019, 6:06 p.m. OK GNU C++17 TESTS 42 155 11161600 2100
54850915 arbitrary_A D May 30, 2019, 4:32 p.m. OK GNU C++17 TESTS 42 156 29900800 2100
58548462 balle D Aug. 10, 2019, 6:07 p.m. OK GNU C++17 TESTS 42 170 11161600 2100
42299837 Melrose D Aug. 31, 2018, 6:50 a.m. OK GNU C++17 TESTS 42 186 27136000 2100
63063867 ruo D Oct. 21, 2019, 9:58 a.m. OK GNU C++17 TESTS 42 186 31129600 2100
41813506 vjudge5 D Aug. 19, 2018, 5:09 a.m. OK GNU C++17 TESTS 42 187 27033600 2100
63944139 singhrahul15114024 D Oct. 31, 2019, 6:21 p.m. OK GNU C++17 TESTS 42 202 50380800 2100
40664159 RokiM_ D July 23, 2018, 8:44 a.m. OK GNU C++17 TESTS 42 202 52326400 2100
46463344 wjli D Dec. 1, 2018, 10:36 p.m. OK GNU C++17 TESTS 42 218 30720000 2100
16641055 gooo D March 10, 2016, 11:03 p.m. OK Go TESTS 42 857 188928000 2100
16640172 gooo D March 10, 2016, 9:16 p.m. OK Go TESTS 42 857 188928000 2100
16649610 gooo D March 11, 2016, 1:38 p.m. OK Go TESTS 42 858 188723200 2100
16641060 gooo D March 10, 2016, 11:05 p.m. OK Go TESTS 42 873 152064000 2100
16675890 gooo D March 12, 2016, 2:45 p.m. OK Go TESTS 42 873 152064000 2100
16641059 gooo D March 10, 2016, 11:04 p.m. OK Go TESTS 42 873 152064000 2100
16640879 gooo D March 10, 2016, 10:37 p.m. OK Go TESTS 42 873 152064000 2100
16640954 gooo D March 10, 2016, 10:47 p.m. OK Go TESTS 42 904 152371200 2100
10493914 megaspazz D March 27, 2015, 7:51 p.m. OK Java 7 TESTS 42 436 13619200 2100
10493905 megaspazz D March 27, 2015, 7:50 p.m. OK Java 7 TESTS 42 436 13619200 2100
10491455 megaspazz D March 27, 2015, 3:34 p.m. OK Java 7 TESTS 42 467 13619200 2100
10491482 megaspazz D March 27, 2015, 3:36 p.m. OK Java 7 TESTS 42 483 13619200 2100
10491111 megaspazz D March 27, 2015, 3:08 p.m. OK Java 7 TESTS 42 499 13619200 2100
16024816 NeSumHaker D Feb. 14, 2016, 10:15 p.m. OK Java 7 TESTS 42 560 93286400 2100
10491051 megaspazz D March 27, 2015, 3:04 p.m. OK Java 7 TESTS 42 577 13619200 2100
11677315 BadDuck D June 20, 2015, 4:44 a.m. OK Java 7 TESTS 42 592 52940800 2100
14841005 DukeOfYork D Dec. 17, 2015, 2:13 a.m. OK Java 7 TESTS 42 623 134963200 2100
10764823 Ignatyev_Aleksey D April 18, 2015, 7:38 a.m. OK Java 7 TESTS 42 842 225587200 2100
38101522 Kharouba D May 10, 2018, 8:58 p.m. OK Java 8 TESTS 42 374 61440000 2100
39033056 ZeyadKhattab D June 7, 2018, 11:48 p.m. OK Java 8 TESTS 42 389 38604800 2100
11021401 pocketsuteado D May 7, 2015, 1:51 p.m. OK Java 8 TESTS 42 405 59289600 2100
57299315 AryssonFigueiredo D July 18, 2019, 9:35 p.m. OK Java 8 TESTS 42 483 67584000 2100
12074223 blackhorse21 D July 15, 2015, 5:10 p.m. OK Java 8 TESTS 42 545 62054400 2100
37824727 Musin D May 1, 2018, 7:45 p.m. OK Java 8 TESTS 42 561 51507200 2100
28961187 Imaginary D July 28, 2017, 7:46 p.m. OK Java 8 TESTS 42 577 96768000 2100
12508511 Abkreno94 D Aug. 13, 2015, 5:35 p.m. OK Java 8 TESTS 42 592 87654400 2100
29241629 Nesrin D Aug. 6, 2017, 12:49 p.m. OK Java 8 TESTS 42 623 113459200 2100
22079615 Corvus D Nov. 6, 2016, 5:19 p.m. OK Java 8 TESTS 42 639 79564800 2100
11516928 og.kostya D June 10, 2015, 4:39 a.m. OK MS C# TESTS 42 483 31027200 2100
21757740 orailly D Oct. 24, 2016, 7:11 p.m. OK MS C++ TESTS 42 108 8089600 2100
40987003 ReaLNero1 D July 30, 2018, 8:53 p.m. OK MS C++ TESTS 42 109 7987200 2100
17467380 vjudge2 D April 23, 2016, 9:16 a.m. OK MS C++ TESTS 42 140 17510400 2100
10796092 vjudge4 D April 20, 2015, 9:47 a.m. OK MS C++ TESTS 42 187 33587200 2100
19313578 Phantom_AOA D July 22, 2016, 4:57 a.m. OK MS C++ TESTS 42 218 31846400 2100
12431246 Alone_L D Aug. 10, 2015, 2:26 a.m. OK MS C++ TESTS 42 264 129331200 2100
51382050 vjudge1 D March 16, 2019, 4:47 p.m. OK MS C++ TESTS 42 265 36249600 2100
11457904 chemthan D June 6, 2015, 11:54 a.m. OK MS C++ TESTS 42 404 11673600 2100
11457940 chemthan D June 6, 2015, 11:57 a.m. OK MS C++ TESTS 42 405 11673600 2100
11961538 nitka D July 7, 2015, 3:09 p.m. OK MS C++ TESTS 42 483 38092800 2100

remove filters

Back to search problems