Codeforces Round 668 (Div. 1)

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
1404 Codeforces Round 668 (Div. 1) FINISHED False 7200 137863463 Sept. 6, 2020, 2:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 1299 ) E Bricks PROGRAMMING flows graph matchings graphs

B'A brick is defined as a rectangle with integer side lengths with either width 1 or height 1 (or both). There is an n x m grid, and each cell is colored either black or white. A tiling is a way to place bricks onto the grid such that each black cell is covered by exactly one brick, and each white cell is not covered by any brick. In other words, bricks are placed on black cells only, cover all black cells, and no two bricks overlap. What is the minimum number of bricks required to make a valid tiling? The first line contains two integers n , m ( 1 <= n, m <= 200 ) -- the number of rows and columns, respectively. The next n lines describe the grid. The i -th of these lines contains a string of length m , where the j -th character denotes the color of the cell in row i , column j . A black cell is given by "#", and a white cell is given by ".". It is guaranteed that there is at least one black cell. Output a single integer, the minimum number of bricks required. The first test case can be tiled with 4 bricks placed vertically. The third test case can be tiled with 18 bricks like this: '...

Tutorials

Codeforces Round #668 Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
92038398 hos.lyric E Sept. 6, 2020, 2:54 p.m. OK D TESTS 57 468 13824000
92080922 rainboy E Sept. 6, 2020, 5:54 p.m. OK GNU C11 TESTS 57 93 2764800
92066564 lzr_010506 E Sept. 6, 2020, 4:09 p.m. OK GNU C++11 TESTS 57 218 44646400
92100911 ztc. E Sept. 7, 2020, 3:33 a.m. OK GNU C++11 TESTS 57 234 12800000
92064800 dqa2020 E Sept. 6, 2020, 4:03 p.m. OK GNU C++11 TESTS 57 264 29286400
92096476 Qingyu05300 E Sept. 7, 2020, 1:21 a.m. OK GNU C++11 TESTS 57 327 7782400
92067930 Qingyu05300 E Sept. 6, 2020, 4:14 p.m. OK GNU C++11 TESTS 57 343 7782400
92070541 Pigbrain E Sept. 6, 2020, 4:23 p.m. OK GNU C++11 TESTS 57 343 16281600
92057900 EricHuang2003 E Sept. 6, 2020, 3:40 p.m. OK GNU C++11 TESTS 57 374 25497600
92067626 142857 E Sept. 6, 2020, 4:13 p.m. OK GNU C++11 TESTS 57 390 26112000
92069202 BigBag E Sept. 6, 2020, 4:19 p.m. OK GNU C++11 TESTS 57 483 12595200
92074225 HackerDemon E Sept. 6, 2020, 4:34 p.m. OK GNU C++11 TESTS 57 545 60620800
92068540 voover E Sept. 6, 2020, 4:16 p.m. OK GNU C++14 TESTS 57 62 3174400
92100644 BTSprathampatel E Sept. 7, 2020, 3:26 a.m. OK GNU C++14 TESTS 57 171 6963200
92061234 exqt E Sept. 6, 2020, 3:51 p.m. OK GNU C++14 TESTS 57 171 10240000
92066273 ugly2333 E Sept. 6, 2020, 4:08 p.m. OK GNU C++14 TESTS 57 343 15257600
92070593 beginend E Sept. 6, 2020, 4:23 p.m. OK GNU C++14 TESTS 57 420 11878400
92077555 radoslav11 E Sept. 6, 2020, 5:24 p.m. OK GNU C++14 TESTS 57 483 50073600
92089489 BlueDiamond E Sept. 6, 2020, 8:27 p.m. OK GNU C++14 TESTS 57 545 15872000
92073082 superguymj E Sept. 6, 2020, 4:31 p.m. OK GNU C++14 TESTS 57 545 15872000
92086559 xb0nS E Sept. 6, 2020, 7:23 p.m. OK GNU C++14 TESTS 57 545 18841600
92100868 marcOS E Sept. 7, 2020, 3:32 a.m. OK GNU C++14 TESTS 57 702 26112000
92067316 tlwpdus E Sept. 6, 2020, 4:12 p.m. OK GNU C++17 TESTS 57 62 3174400
92072391 RAVEman E Sept. 6, 2020, 4:29 p.m. OK GNU C++17 TESTS 57 62 5120000
92071376 amnesiac_dusk E Sept. 6, 2020, 4:26 p.m. OK GNU C++17 TESTS 57 92 6144000
92089783 AliShahali1382 E Sept. 6, 2020, 8:36 p.m. OK GNU C++17 TESTS 57 124 4403200
92084458 -_-INV4D3R-_- E Sept. 6, 2020, 6:46 p.m. OK GNU C++17 TESTS 57 140 3788800
92083232 -_-INV4D3R-_- E Sept. 6, 2020, 6:27 p.m. OK GNU C++17 TESTS 57 140 3891200
92079090 applist E Sept. 6, 2020, 5:35 p.m. OK GNU C++17 TESTS 57 140 24780800
92084403 -_-INV4D3R-_- E Sept. 6, 2020, 6:45 p.m. OK GNU C++17 TESTS 57 156 4198400
92089692 AliShahali1382 E Sept. 6, 2020, 8:34 p.m. OK GNU C++17 TESTS 57 156 9216000
92055541 fedoseev.timofey E Sept. 6, 2020, 3:34 p.m. OK GNU C++17 TESTS 57 186 5632000
92098013 Arpa E Sept. 7, 2020, 2:14 a.m. OK GNU C++17 (64) TESTS 57 46 3584000
92081227 neal E Sept. 6, 2020, 5:58 p.m. OK GNU C++17 (64) TESTS 57 78 3174400
92081596 neal E Sept. 6, 2020, 6:03 p.m. OK GNU C++17 (64) TESTS 57 78 3174400
92085322 YouKn0wWho E Sept. 6, 2020, 7:01 p.m. OK GNU C++17 (64) TESTS 57 109 4096000
92081382 neal E Sept. 6, 2020, 6 p.m. OK GNU C++17 (64) TESTS 57 124 3174400
92082548 FlowerOfSorrow E Sept. 6, 2020, 6:17 p.m. OK GNU C++17 (64) TESTS 57 124 3584000
92055746 yosupo E Sept. 6, 2020, 3:34 p.m. OK GNU C++17 (64) TESTS 57 156 5836800
92054088 ecnerwala E Sept. 6, 2020, 3:30 p.m. OK GNU C++17 (64) TESTS 57 170 8806400
92083271 emorgan5289 E Sept. 6, 2020, 6:28 p.m. OK GNU C++17 (64) TESTS 57 171 6041600
92054096 natsugiri E Sept. 6, 2020, 3:30 p.m. OK GNU C++17 (64) TESTS 57 234 5120000
92081245 uwi E Sept. 6, 2020, 5:59 p.m. OK Java 11 TESTS 57 608 42496000
92090702 TheSawan E Sept. 6, 2020, 9:04 p.m. OK Java 8 TESTS 57 888 4403200
92107037 azukun E Sept. 7, 2020, 5:35 a.m. OK Mono C# TESTS 57 1591 31334400

remove filters

Back to search problems