Codeforces Round 744 (Div. 3)

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
1579 Codeforces Round 744 (Div. 3) FINISHED False 8100 104340263 Sept. 28, 2021, 2:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 10716 ) C Ticks PROGRAMMING brute force dp greedy implementation

B"Casimir has a rectangular piece of paper with a checkered field of size n x m . Initially, all cells of the field are white. Let us denote the cell with coordinates i vertically and j horizontally by (i, j) . The upper left cell will be referred to as (1, 1) and the lower right cell as (n, m) . Casimir draws ticks of different sizes on the field. A tick of size d ( d > 0 ) with its center in cell (i, j) is drawn as follows: An already painted cell will remain black if painted again. Below you can find an example of the 4 x 9 box, with two ticks of sizes 2 and 3 . You are given a description of a checkered field of size n x m . Casimir claims that this field came about after he drew some (possibly 0 ) ticks on it. The ticks could be of different sizes, but the size of each tick is at least k (that is, d ge k for all the ticks). Determine whether this field can indeed be obtained by drawing some (possibly none) ticks of sizes d ge k or not. The first line contains an integer t ( 1 <= q t <= q 100 ) -- the number test cases. The following lines contain the descriptions of the test cases. The first line of the test case description contains the integers n , m , and k ( 1 <= k <= n <= 10 ; 1 <= m <= 19 ) -- the field size and the minimum size of the ticks that Casimir drew. The following n lines describe the field: each line consists of m characters either being '.' if the corresponding cell is not yet painted or '*' otherwise. Print t lines, each line containing the answer to the corresponding test case. The answer to a test case should be YES if the given field can be obtained by drawing ticks of at least the given size and NO otherwise. You may print every letter in any case you want (so, for example, the strings yEs, yes, Yes, and YES will all be recognized as positive answers). The fi"...

Tutorials

Codeforces Round #744 (Div. 3) Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
130316920 nuyencrkh C Sept. 30, 2021, 4:40 a.m. OK FPC TESTS 13 31 3788800
130279583 lelouch-of-the-code C Sept. 29, 2021, 3:12 p.m. OK GNU C11 TESTS 13 15 3686400
130309784 sumanthbittu C Sept. 30, 2021, 1:34 a.m. OK GNU C11 TESTS 13 31 3686400
130235261 Suvodeep07May C Sept. 29, 2021, 6:54 a.m. OK GNU C++14 TESTS 13 0 3788800
130288561 haoran.mc C Sept. 29, 2021, 5 p.m. OK GNU C++14 TESTS 13 15 3686400
130288065 nakulchauhan2001 C Sept. 29, 2021, 4:53 p.m. OK GNU C++14 TESTS 13 15 3686400
130285106 _TikTik_ C Sept. 29, 2021, 4:15 p.m. OK GNU C++14 TESTS 13 15 3686400
130284182 mibig C Sept. 29, 2021, 4:04 p.m. OK GNU C++14 TESTS 13 15 3686400
130274069 xiaofeng6677788 C Sept. 29, 2021, 2:13 p.m. OK GNU C++14 TESTS 13 15 3686400
130301355 mayank_cder C Sept. 29, 2021, 8:24 p.m. OK GNU C++14 TESTS 13 15 3686400
130295186 porcelli C Sept. 29, 2021, 6:29 p.m. OK GNU C++14 TESTS 13 15 3686400
130289347 Misterio_ C Sept. 29, 2021, 5:12 p.m. OK GNU C++14 TESTS 13 15 3686400
130289111 haoran.mc C Sept. 29, 2021, 5:09 p.m. OK GNU C++14 TESTS 13 15 3686400
130224362 may1997 C Sept. 29, 2021, 3:49 a.m. OK GNU C++17 TESTS 13 0 3686400
130318357 LiAnG24 C Sept. 30, 2021, 5:09 a.m. OK GNU C++17 TESTS 13 0 3788800
130294504 dvsewen C Sept. 29, 2021, 6:20 p.m. OK GNU C++17 TESTS 13 0 3788800
130258759 Dzksh C Sept. 29, 2021, 11:38 a.m. OK GNU C++17 TESTS 13 0 3891200
130232571 vijay337 C Sept. 29, 2021, 6:20 a.m. OK GNU C++17 TESTS 13 0 19763200
130294278 codesanta C Sept. 29, 2021, 6:17 p.m. OK GNU C++17 TESTS 13 15 0
130300829 abheeshekthakur C Sept. 29, 2021, 8:11 p.m. OK GNU C++17 TESTS 13 15 102400
130317158 shaggy8 C Sept. 30, 2021, 4:45 a.m. OK GNU C++17 TESTS 13 15 3686400
130320784 Rohith_Yelagam C Sept. 30, 2021, 5:54 a.m. OK GNU C++17 TESTS 13 15 3686400
130318802 shreyas_171 C Sept. 30, 2021, 5:18 a.m. OK GNU C++17 TESTS 13 15 3686400
130224745 pratik31 C Sept. 29, 2021, 3:56 a.m. OK GNU C++17 (64) TESTS 13 0 4300800
130253801 arnav2004 C Sept. 29, 2021, 10:41 a.m. OK GNU C++17 (64) TESTS 13 0 4300800
130309191 utkarshvashisth2221 C Sept. 30, 2021, 1:13 a.m. OK GNU C++17 (64) TESTS 13 0 4300800
130313378 firiexp C Sept. 30, 2021, 3:18 a.m. OK GNU C++17 (64) TESTS 13 15 4300800
130312110 ketoin C Sept. 30, 2021, 2:49 a.m. OK GNU C++17 (64) TESTS 13 15 4300800
130311822 prat947 C Sept. 30, 2021, 2:41 a.m. OK GNU C++17 (64) TESTS 13 15 4300800
130305982 Shivansh0809 C Sept. 29, 2021, 10:43 p.m. OK GNU C++17 (64) TESTS 13 15 4300800
130299466 akcube C Sept. 29, 2021, 7:43 p.m. OK GNU C++17 (64) TESTS 13 15 4300800
130317596 prithvijitbasak C Sept. 30, 2021, 4:54 a.m. OK GNU C++17 (64) TESTS 13 15 4300800
130317567 Ninad_0408 C Sept. 30, 2021, 4:54 a.m. OK GNU C++17 (64) TESTS 13 15 4300800
130274488 glebsamsonov C Sept. 29, 2021, 2:18 p.m. OK Go TESTS 13 31 10649600
130302197 ytripathi891 C Sept. 29, 2021, 8:44 p.m. OK Java 11 TESTS 13 155 23859200
130316029 dhruvil8804 C Sept. 30, 2021, 4:22 a.m. OK Java 11 TESTS 13 171 23756800
130289089 SaberXpro C Sept. 29, 2021, 5:08 p.m. OK Java 11 TESTS 13 171 23756800
130262589 kartheek542 C Sept. 29, 2021, 12:19 p.m. OK Java 11 TESTS 13 171 23756800
130242708 adarsh_goku C Sept. 29, 2021, 8:25 a.m. OK Java 11 TESTS 13 171 23756800
130239751 humwawe C Sept. 29, 2021, 7:48 a.m. OK Java 11 TESTS 13 171 23756800
130224219 yogii_123 C Sept. 29, 2021, 3:46 a.m. OK Java 11 TESTS 13 171 23756800
130227927 ArchitSharma C Sept. 29, 2021, 4:55 a.m. OK Java 11 TESTS 13 171 23961600
130287896 chevish C Sept. 29, 2021, 4:51 p.m. OK Java 11 TESTS 13 186 23756800
130286543 aayushdhakad C Sept. 29, 2021, 4:34 p.m. OK Java 11 TESTS 13 186 23756800
130258027 dheerajchhatanidc C Sept. 29, 2021, 11:30 a.m. OK Java 8 TESTS 13 93 20275200
130227053 Swapniltri C Sept. 29, 2021, 4:41 a.m. OK Java 8 TESTS 13 93 20275200
130271013 rsingh3_be18 C Sept. 29, 2021, 1:44 p.m. OK Java 8 TESTS 13 93 20377600
130250684 swapnilganguly1234 C Sept. 29, 2021, 10:02 a.m. OK Java 8 TESTS 13 93 20377600
130251310 sanjayram21 C Sept. 29, 2021, 10:10 a.m. OK Java 8 TESTS 13 93 20480000
130280212 pras7946 C Sept. 29, 2021, 3:19 p.m. OK Java 8 TESTS 13 108 20377600
130247413 kkkkush C Sept. 29, 2021, 9:21 a.m. OK Java 8 TESTS 13 108 20377600
130244723 edenSpace C Sept. 29, 2021, 8:49 a.m. OK Java 8 TESTS 13 108 20480000
130222377 flip-flop C Sept. 29, 2021, 3:07 a.m. OK Java 8 TESTS 13 109 20275200
130236160 Ibrahimovic_The_Lion C Sept. 29, 2021, 7:04 a.m. OK Java 8 TESTS 13 109 20377600
130311310 the-fly0618 C Sept. 30, 2021, 2:27 a.m. OK MS C++ 2017 TESTS 13 15 3686400
130279493 Omar_farooq C Sept. 29, 2021, 3:11 p.m. OK MS C++ 2017 TESTS 13 15 3686400
130296896 prosto_user C Sept. 29, 2021, 6:56 p.m. OK MS C++ 2017 TESTS 13 15 3788800
130243727 dumanzusupov C Sept. 29, 2021, 8:37 a.m. OK MS C++ 2017 TESTS 13 15 3788800
130224326 nor_or C Sept. 29, 2021, 3:48 a.m. OK MS C++ 2017 TESTS 13 15 3788800
130229784 nor_or C Sept. 29, 2021, 5:30 a.m. OK MS C++ 2017 TESTS 13 30 3788800
130320849 arthur_p C Sept. 30, 2021, 5:55 a.m. OK MS C++ 2017 TESTS 13 31 3788800
130274581 Dead_InsideZXC C Sept. 29, 2021, 2:19 p.m. OK MS C++ 2017 TESTS 13 31 3788800
130237173 adasanvin12345 C Sept. 29, 2021, 7:17 a.m. OK MS C++ 2017 TESTS 13 31 3788800
130271378 vilhelmthorsson C Sept. 29, 2021, 1:48 p.m. OK PyPy 3 TESTS 13 93 22016000
130250464 Harek C Sept. 29, 2021, 10 a.m. OK PyPy 3 TESTS 13 109 22937600
130236979 YMSeah C Sept. 29, 2021, 7:15 a.m. OK PyPy 3 TESTS 13 109 22937600
130271145 cloak C Sept. 29, 2021, 1:45 p.m. OK PyPy 3 TESTS 13 124 22732800
130233367 coolstreaming C Sept. 29, 2021, 6:32 a.m. OK PyPy 3 TESTS 13 124 22835200
130234275 mmooyyii C Sept. 29, 2021, 6:41 a.m. OK PyPy 3 TESTS 13 124 23449600
130255116 sahilrox C Sept. 29, 2021, 10:57 a.m. OK PyPy 3 TESTS 13 124 23654400
130233864 dutt_shouvik C Sept. 29, 2021, 6:36 a.m. OK PyPy 3 TESTS 13 124 153907200
130238584 misorin C Sept. 29, 2021, 7:33 a.m. OK PyPy 3 TESTS 13 139 22835200
130263057 HitoriNoShita C Sept. 29, 2021, 12:24 p.m. OK PyPy 3 TESTS 13 139 23756800
130311039 190031512_suhana C Sept. 30, 2021, 2:19 a.m. OK Python 3 TESTS 13 46 6963200
130319031 Lu_xen C Sept. 30, 2021, 5:22 a.m. OK Python 3 TESTS 13 61 6963200
130312372 eugalt C Sept. 30, 2021, 2:56 a.m. OK Python 3 TESTS 13 61 6963200
130315200 farrellbyu C Sept. 30, 2021, 4:02 a.m. OK Python 3 TESTS 13 62 6963200
130287018 sh1194 C Sept. 29, 2021, 4:40 p.m. OK Python 3 TESTS 13 62 6963200
130276727 EvgenyUtkin C Sept. 29, 2021, 2:41 p.m. OK Python 3 TESTS 13 62 6963200
130292899 _____a____ C Sept. 29, 2021, 5:59 p.m. OK Python 3 TESTS 13 62 7065600
130233945 Virender C Sept. 29, 2021, 6:37 a.m. OK Python 3 TESTS 13 62 7168000
130260169 _k_ C Sept. 29, 2021, 11:54 a.m. OK Python 3 TESTS 13 77 6963200
130256104 Jyothi_Prakash C Sept. 29, 2021, 11:09 a.m. OK Python 3 TESTS 13 77 7168000

remove filters

Back to search problems