Educational Codeforces Round 106 (Rated for 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
1499 Educational Codeforces Round 106 (Rated for Div. 2) FINISHED False 7200 115744199 March 18, 2021, 2:50 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 21301 ) A Domino on Windowsill PROGRAMMING constructive algorithms math

B"You have a board represented as a grid with 2 x n cells. The first k_1 cells on the first row and first k_2 cells on the second row are colored in white. All other cells are colored in black. You have w white dominoes ( 2 x 1 tiles, both cells are colored in white) and b black dominoes ( 2 x 1 tiles, both cells are colored in black). You can place a white domino on the board if both board's cells are white and not occupied by any other domino. In the same way, you can place a black domino if both cells are black and not occupied by any other domino. Can you place all w + b dominoes on the board if you can place dominoes both horizontally and vertically? The first line contains a single integer t ( 1 <= t <= 3000 ) -- the number of test cases. The first line of each test case contains three integers n , k_1 and k_2 ( 1 <= n <= 1000 ; 0 <= k_1, k_2 <= n ). The second line of each test case contains two integers w and b ( 0 <= w, b <= n ). For each test case, print YES if it's possible to place all w + b dominoes on the board and NO, otherwise. You may print every letter in any case you want (so, for example, the strings yEs, yes, Yes and YES are all recognized as positive answer). In the first test case, n = 1 , k_1 = 0 and k_2 = 1 . It means that 2 x 1 board has black cell (1, 1) and white cell (2, 1) . So, you can't place any white domino, since there is only one white cell. In the second test case, the board of the same size 2 x 1 , but both cell are white. Since w = 0 and b = 0 , so you can place 0 + 0 = 0 dominoes on the board. In the third test case, board 2 x 3 , but fully colored in black (since k_1 = k_2 = 0 ), so you can't place any white domino. In the fourth test case, cells (1, 1) , (1, 2) , (1, 3) , and (2, 1) are whit"...

Tutorials

Educational Codeforces Round 106 Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
110388607 ruban A March 18, 2021, 5:06 p.m. OK Delphi TESTS 11 31 0
110382388 Jacob_Kalisto A March 18, 2021, 4:41 p.m. OK GNU C11 TESTS 11 31 0
110383716 Sudeep_2003 A March 18, 2021, 4:44 p.m. OK GNU C11 TESTS 11 31 0
110384008 Sudeep_2003 A March 18, 2021, 4:45 p.m. OK GNU C11 TESTS 11 31 0
110385088 apjcoder123 A March 18, 2021, 4:48 p.m. OK GNU C11 TESTS 11 31 0
110410793 Ridwan_Islam A March 19, 2021, 2:37 a.m. OK GNU C11 TESTS 11 31 0
110414415 pratyushgupta102 A March 19, 2021, 4:18 a.m. OK GNU C11 TESTS 11 31 0
110390742 braveMan A March 18, 2021, 5:26 p.m. OK GNU C11 TESTS 11 31 0
110395750 noobdecoder A March 18, 2021, 6:33 p.m. OK GNU C11 TESTS 11 31 0
110389071 Captain_GHost A March 18, 2021, 5:10 p.m. OK GNU C11 TESTS 11 31 102400
110413193 apjcoder123 A March 19, 2021, 3:48 a.m. OK GNU C11 TESTS 11 46 0
110377810 Mybuger_OVO A March 18, 2021, 4:28 p.m. OK GNU C++11 TESTS 11 15 0
110413799 wadaodi A March 19, 2021, 4:04 a.m. OK GNU C++11 TESTS 11 15 0
110411961 Performanceartist A March 19, 2021, 3:12 a.m. OK GNU C++11 TESTS 11 15 0
110409686 hx073269 A March 19, 2021, 2:02 a.m. OK GNU C++11 TESTS 11 15 0
110408042 xuchi A March 19, 2021, 12:47 a.m. OK GNU C++11 TESTS 11 15 0
110407972 lining888 A March 19, 2021, 12:43 a.m. OK GNU C++11 TESTS 11 15 0
110407817 pigstd A March 19, 2021, 12:35 a.m. OK GNU C++11 TESTS 11 15 0
110406173 TLE_Automat A March 18, 2021, 11:07 p.m. OK GNU C++11 TESTS 11 15 0
110398847 sabrina_mostafa A March 18, 2021, 7:25 p.m. OK GNU C++11 TESTS 11 15 0
110382246 keko24 A March 18, 2021, 4:40 p.m. OK GNU C++11 TESTS 11 15 0
110398677 ABDO_75 A March 18, 2021, 7:22 p.m. OK GNU C++14 TESTS 11 15 0
110401986 sanjit_15 A March 18, 2021, 8:31 p.m. OK GNU C++14 TESTS 11 15 0
110408297 germonado A March 19, 2021, 12:59 a.m. OK GNU C++14 TESTS 11 15 0
110391439 khanna_sk A March 18, 2021, 5:34 p.m. OK GNU C++14 TESTS 11 15 0
110394060 noni_001 A March 18, 2021, 6:08 p.m. OK GNU C++14 TESTS 11 15 0
110388801 towhid1zaman A March 18, 2021, 5:07 p.m. OK GNU C++14 TESTS 11 15 0
110398215 Mr_Frodo A March 18, 2021, 7:13 p.m. OK GNU C++14 TESTS 11 15 0
110420165 SH_99 A March 19, 2021, 6:03 a.m. OK GNU C++14 TESTS 11 30 0
110418970 Dumped A March 19, 2021, 5:47 a.m. OK GNU C++14 TESTS 11 30 0
110420193 Debux A March 19, 2021, 6:03 a.m. OK GNU C++14 TESTS 11 30 0
110410810 rko27 A March 19, 2021, 2:38 a.m. OK GNU C++17 TESTS 11 15 0
110401012 codeExplainer A March 18, 2021, 8:07 p.m. OK GNU C++17 TESTS 11 15 0
110400280 Adarshrana205 A March 18, 2021, 7:52 p.m. OK GNU C++17 TESTS 11 15 0
110400266 RitikBaid A March 18, 2021, 7:52 p.m. OK GNU C++17 TESTS 11 15 0
110414307 Infinity_IQ A March 19, 2021, 4:16 a.m. OK GNU C++17 TESTS 11 15 0
110414061 karad A March 19, 2021, 4:10 a.m. OK GNU C++17 TESTS 11 15 0
110412385 rahulkrt A March 19, 2021, 3:24 a.m. OK GNU C++17 TESTS 11 15 0
110412367 Satyam411 A March 19, 2021, 3:24 a.m. OK GNU C++17 TESTS 11 15 0
110411846 aditya9660sharma A March 19, 2021, 3:08 a.m. OK GNU C++17 TESTS 11 15 0
110407687 frustrated_user A March 19, 2021, 12:29 a.m. OK GNU C++17 TESTS 11 15 0
110408556 feelin_dejavu A March 19, 2021, 1:12 a.m. OK GNU C++17 (64) TESTS 11 15 0
110420253 tiasmondal A March 19, 2021, 6:04 a.m. OK GNU C++17 (64) TESTS 11 15 0
110413452 against_the_current A March 19, 2021, 3:55 a.m. OK GNU C++17 (64) TESTS 11 15 0
110411245 sva2005 A March 19, 2021, 2:51 a.m. OK GNU C++17 (64) TESTS 11 15 0
110406192 bmu A March 18, 2021, 11:09 p.m. OK GNU C++17 (64) TESTS 11 15 0
110406142 bhrosas A March 18, 2021, 11:06 p.m. OK GNU C++17 (64) TESTS 11 15 0
110397606 Kotehok3 A March 18, 2021, 7:02 p.m. OK GNU C++17 (64) TESTS 11 15 0
110394821 _mystery_ A March 18, 2021, 6:19 p.m. OK GNU C++17 (64) TESTS 11 15 0
110393709 deepesharya359 A March 18, 2021, 6:04 p.m. OK GNU C++17 (64) TESTS 11 15 0
110393012 c0Nstellation A March 18, 2021, 5:55 p.m. OK GNU C++17 (64) TESTS 11 15 0
110412136 120405217 A March 19, 2021, 3:17 a.m. OK Go TESTS 11 264 0
110411809 iamavalon A March 19, 2021, 3:07 a.m. OK Java 11 TESTS 11 187 0
110395640 RuthlessAggression A March 18, 2021, 6:31 p.m. OK Java 11 TESTS 11 187 0
110391242 alpha_one A March 18, 2021, 5:31 p.m. OK Java 11 TESTS 11 202 0
110383600 KarMa_ A March 18, 2021, 4:44 p.m. OK Java 11 TESTS 11 202 0
110415686 Axel.blaze- A March 19, 2021, 4:45 a.m. OK Java 11 TESTS 11 202 0
110406727 saxC A March 18, 2021, 11:38 p.m. OK Java 11 TESTS 11 202 0
110397423 godfather9 A March 18, 2021, 6:59 p.m. OK Java 11 TESTS 11 202 0
110395125 RegalBeast A March 18, 2021, 6:24 p.m. OK Java 11 TESTS 11 202 0
110405320 Siddharth2020 A March 18, 2021, 10:19 p.m. OK Java 11 TESTS 11 218 0
110399774 Abhi_Valani A March 18, 2021, 7:43 p.m. OK Java 11 TESTS 11 218 0
110398685 RonWonWon A March 18, 2021, 7:22 p.m. OK Java 8 TESTS 11 109 0
110395864 arunmsharma A March 18, 2021, 6:34 p.m. OK Java 8 TESTS 11 124 0
110381041 Suresh001 A March 18, 2021, 4:37 p.m. OK Java 8 TESTS 11 124 0
110415652 edenSpace A March 19, 2021, 4:45 a.m. OK Java 8 TESTS 11 124 0
110401094 ramuked A March 18, 2021, 8:09 p.m. OK Java 8 TESTS 11 124 0
110400671 mkosm A March 18, 2021, 8 p.m. OK Java 8 TESTS 11 124 0
110394953 VishuTomar A March 18, 2021, 6:21 p.m. OK Java 8 TESTS 11 124 0
110377917 apoorvnandan3010 A March 18, 2021, 4:28 p.m. OK Java 8 TESTS 11 139 0
110406334 tiwariabhishek A March 18, 2021, 11:16 p.m. OK Java 8 TESTS 11 155 0
110412578 krishnareddy.nancheri A March 19, 2021, 3:30 a.m. OK Java 8 TESTS 11 155 0
110380130 areniis A March 18, 2021, 4:34 p.m. OK Kotlin TESTS 11 155 0
110408385 gnu11111 A March 19, 2021, 1:04 a.m. OK Kotlin TESTS 11 187 102400
110391278 ravi_jhabit A March 18, 2021, 5:32 p.m. OK MS C++ TESTS 11 31 0
110397218 UnHingedFrog A March 18, 2021, 6:55 p.m. OK MS C++ 2017 TESTS 11 46 0
110417987 pgggggggggh A March 19, 2021, 5:34 a.m. OK MS C++ 2017 TESTS 11 46 0
110415495 pgggggggggh A March 19, 2021, 4:42 a.m. OK MS C++ 2017 TESTS 11 46 0
110411817 ch_hui A March 19, 2021, 3:07 a.m. OK MS C++ 2017 TESTS 11 46 0
110400652 dwen A March 18, 2021, 8 p.m. OK MS C++ 2017 TESTS 11 46 0
110395058 Friska A March 18, 2021, 6:22 p.m. OK MS C++ 2017 TESTS 11 46 0
110389857 ustaritz A March 18, 2021, 5:16 p.m. OK MS C++ 2017 TESTS 11 46 0
110388941 say_hi A March 18, 2021, 5:09 p.m. OK MS C++ 2017 TESTS 11 46 0
110388867 svr2kos2 A March 18, 2021, 5:08 p.m. OK MS C++ 2017 TESTS 11 46 307200
110387466 sakapon A March 18, 2021, 4:58 p.m. OK .NET Core C# TESTS 11 108 1843200
110390804 xsitin A March 18, 2021, 5:26 p.m. OK .NET Core C# TESTS 11 124 2048000
110386463 watarimaycry2 A March 18, 2021, 4:52 p.m. OK Node.js TESTS 11 77 2969600
110420208 codicon A March 19, 2021, 6:03 a.m. OK PyPy 3 TESTS 11 140 4710400
110416797 U3L A March 19, 2021, 5:09 a.m. OK PyPy 3 TESTS 11 140 5632000
110393281 mukul00912 A March 18, 2021, 5:58 p.m. OK PyPy 3 TESTS 11 170 4403200
110397452 tiwari0000 A March 18, 2021, 6:59 p.m. OK PyPy 3 TESTS 11 171 5222400
110413740 Coding_RDX1 A March 19, 2021, 4:02 a.m. OK PyPy 3 TESTS 11 171 5734400
110390274 evoxtorm A March 18, 2021, 5:20 p.m. OK PyPy 3 TESTS 11 186 4403200
110386931 skp_r A March 18, 2021, 4:54 p.m. OK PyPy 3 TESTS 11 187 5427200
110398960 deepanshu_pali A March 18, 2021, 7:27 p.m. OK PyPy 3 TESTS 11 187 7372800
110396027 bjy A March 18, 2021, 6:37 p.m. OK PyPy 3 TESTS 11 202 6451200
110407253 crapcode A March 19, 2021, 12:05 a.m. OK PyPy 3 TESTS 11 202 6860800
110389655 ledger0067 A March 18, 2021, 5:14 p.m. OK Python 3 TESTS 11 78 0
110381677 the_lost_jedi A March 18, 2021, 4:39 p.m. OK Python 3 TESTS 11 78 307200
110409218 yans0o0o0 A March 19, 2021, 1:44 a.m. OK Python 3 TESTS 11 92 0
110380974 punnasurya2000 A March 18, 2021, 4:37 p.m. OK Python 3 TESTS 11 92 0
110397548 tripathi.urmila10 A March 18, 2021, 7:01 p.m. OK Python 3 TESTS 11 92 307200
110405327 zhenyuliang A March 18, 2021, 10:19 p.m. OK Python 3 TESTS 11 93 0
110413600 DK_here A March 19, 2021, 3:59 a.m. OK Python 3 TESTS 11 93 0
110410995 poojith_mannepalli A March 19, 2021, 2:43 a.m. OK Python 3 TESTS 11 93 0
110409620 P.Chanakya A March 19, 2021, 2 a.m. OK Python 3 TESTS 11 93 0
110399527 mahtab_zihan A March 18, 2021, 7:38 p.m. OK Python 3 TESTS 11 93 0
110409029 lucifer1004 A March 19, 2021, 1:34 a.m. OK Rust TESTS 11 46 204800

remove filters

Back to search problems