Codeforces Round 713 (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
1512 Codeforces Round 713 (Div. 3) FINISHED False 7200 113757899 April 10, 2021, 2:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 25472 ) B Almost Rectangle PROGRAMMING implementation

B"There is a square field of size n x n in which two cells are marked. These cells can be in the same row or column. You are to mark two more cells so that they are the corners of a rectangle with sides parallel to the coordinate axes. For example, if n=4 and a rectangular field looks like this (there are asterisks in the marked cells): begin{matrix} . & . & * & . . & . & . & . * & . & . & . . & . & . & . end{matrix} Then you can mark two more cells as follows begin{matrix} * & . & * & . . & . & . & . * & . & * & . . & . & . & . end{matrix} If there are several possible solutions, then print any of them. The first line contains a single integer t ( 1 <= t <= 400 ). Then t test cases follow. The first row of each test case contains a single integer n ( 2 <= n <= 400 ) -- the number of rows and columns in the table. The following n lines each contain n characters '.' or '*' denoting empty and marked cells, respectively. It is guaranteed that the sums of n for all test cases do not exceed 400 . It is guaranteed that there are exactly two asterisks on the field. They can be in the same row/column. It is guaranteed that the solution exists. For each test case, output n rows of n characters -- a field with four asterisks marked corresponding to the statements. If there multiple correct answers, print any of them. "...

Tutorials

Codeforces Round #713 (Div. 3) Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
112611654 kaiztnh4751 B April 11, 2021, 5:54 a.m. OK FPC TESTS 4 436 307200
112570013 Omi200045 B April 10, 2021, 5:50 p.m. OK GNU C11 TESTS 4 30 102400
112589487 Kingjoke B April 11, 2021, 12:26 a.m. OK GNU C11 TESTS 4 499 102400
112577156 Yokichiki B April 10, 2021, 7:10 p.m. OK GNU C11 TESTS 4 514 0
112577650 Happiness_20 B April 10, 2021, 7:18 p.m. OK GNU C11 TESTS 4 514 102400
112562714 Omi200045 B April 10, 2021, 4:52 p.m. OK GNU C11 TESTS 4 514 102400
112589336 Kingjoke B April 11, 2021, 12:18 a.m. OK GNU C11 TESTS 4 514 204800
112564479 attractors B April 10, 2021, 5:03 p.m. OK GNU C11 TESTS 4 514 307200
112580891 aditm B April 10, 2021, 8:06 p.m. OK GNU C11 TESTS 4 529 102400
112564206 Omi200045 B April 10, 2021, 5:01 p.m. OK GNU C11 TESTS 4 529 102400
112580805 nafishasan B April 10, 2021, 8:05 p.m. OK GNU C11 TESTS 4 545 204800
112568761 ya_ng B April 10, 2021, 5:38 p.m. OK GNU C++11 TESTS 4 15 0
112615148 Tosiqul_Islam B April 11, 2021, 6:04 a.m. OK GNU C++11 TESTS 4 15 102400
112563494 Subhashis_CSE B April 10, 2021, 4:57 p.m. OK GNU C++11 TESTS 4 15 204800
112596099 razdeep B April 11, 2021, 3:39 a.m. OK GNU C++11 TESTS 4 15 204800
112588659 Aylup B April 10, 2021, 11:46 p.m. OK GNU C++11 TESTS 4 15 204800
112571869 ankit7011 B April 10, 2021, 6:09 p.m. OK GNU C++11 TESTS 4 15 204800
112578243 albeXL B April 10, 2021, 7:26 p.m. OK GNU C++11 TESTS 4 15 204800
112577000 zalapya B April 10, 2021, 7:05 p.m. OK GNU C++11 TESTS 4 15 204800
112561905 hnust_lichengren B April 10, 2021, 4:48 p.m. OK GNU C++11 TESTS 4 15 307200
112569554 DammitDwight B April 10, 2021, 5:46 p.m. OK GNU C++11 TESTS 4 15 307200
112580082 _rishi_1001 B April 10, 2021, 7:54 p.m. OK GNU C++14 TESTS 4 15 0
112611275 Unknown_coder_10 B April 11, 2021, 5:47 a.m. OK GNU C++14 TESTS 4 15 102400
112583009 ashujawan2001 B April 10, 2021, 8:43 p.m. OK GNU C++14 TESTS 4 15 102400
112581612 Opt_cat B April 10, 2021, 8:17 p.m. OK GNU C++14 TESTS 4 15 102400
112600663 Piyush4064 B April 11, 2021, 5:03 a.m. OK GNU C++14 TESTS 4 15 102400
112582283 manishnangliya B April 10, 2021, 8:29 p.m. OK GNU C++14 TESTS 4 15 102400
112596833 Anuj03 B April 11, 2021, 3:55 a.m. OK GNU C++14 TESTS 4 15 102400
112592964 Starbow B April 11, 2021, 2:24 a.m. OK GNU C++14 TESTS 4 15 102400
112590058 Shaurya B April 11, 2021, 12:48 a.m. OK GNU C++14 TESTS 4 15 102400
112583523 Me_Sarthak_1608 B April 10, 2021, 8:54 p.m. OK GNU C++14 TESTS 4 15 102400
112575558 Nihar_Markana B April 10, 2021, 6:46 p.m. OK GNU C++17 TESTS 4 0 307200
112572643 J_R B April 10, 2021, 6:16 p.m. OK GNU C++17 TESTS 4 15 0
112596616 ink_and_fable B April 11, 2021, 3:51 a.m. OK GNU C++17 TESTS 4 15 0
112590255 harshavardhan0512 B April 11, 2021, 12:57 a.m. OK GNU C++17 TESTS 4 15 0
112584338 raz0raj B April 10, 2021, 9:14 p.m. OK GNU C++17 TESTS 4 15 0
112578173 Klinashka B April 10, 2021, 7:26 p.m. OK GNU C++17 TESTS 4 15 0
112564336 Tareq_Ali B April 10, 2021, 5:02 p.m. OK GNU C++17 TESTS 4 15 0
112611380 akram01 B April 11, 2021, 5:49 a.m. OK GNU C++17 TESTS 4 15 102400
112609981 abhishekvtangod B April 11, 2021, 5:32 a.m. OK GNU C++17 TESTS 4 15 102400
112610175 Teevra_Chaukas B April 11, 2021, 5:35 a.m. OK GNU C++17 TESTS 4 15 102400
112590123 pitsu B April 11, 2021, 12:52 a.m. OK GNU C++17 (64) TESTS 4 0 409600
112565844 prabhav_ B April 10, 2021, 5:13 p.m. OK GNU C++17 (64) TESTS 4 15 0
112563152 PochurSolveKortaHobaa B April 10, 2021, 4:55 p.m. OK GNU C++17 (64) TESTS 4 15 0
112564229 Ryuk10 B April 10, 2021, 5:02 p.m. OK GNU C++17 (64) TESTS 4 15 0
112583666 mesbah19 B April 10, 2021, 8:57 p.m. OK GNU C++17 (64) TESTS 4 15 0
112610584 alif_cse_ju B April 11, 2021, 5:39 a.m. OK GNU C++17 (64) TESTS 4 15 204800
112594502 sencer B April 11, 2021, 3:05 a.m. OK GNU C++17 (64) TESTS 4 15 204800
112592284 So_Fool_OvO B April 11, 2021, 2:04 a.m. OK GNU C++17 (64) TESTS 4 15 204800
112610983 yuanyuan1024 B April 11, 2021, 5:43 a.m. OK GNU C++17 (64) TESTS 4 15 204800
112615228 HashemZerei B April 11, 2021, 6:05 a.m. OK GNU C++17 (64) TESTS 4 15 204800
112572394 scorpio3 B April 10, 2021, 6:14 p.m. OK Go TESTS 4 30 204800
112572484 scorpio3 B April 10, 2021, 6:15 p.m. OK Go TESTS 4 31 204800
112569842 scorpio3 B April 10, 2021, 5:49 p.m. OK Go TESTS 4 452 102400
112584003 iamavalon B April 10, 2021, 9:05 p.m. OK Java 11 TESTS 4 155 0
112561393 arpit31 B April 10, 2021, 4:45 p.m. OK Java 11 TESTS 4 156 0
112584723 coder0687 B April 10, 2021, 9:25 p.m. OK Java 11 TESTS 4 171 0
112572730 shevya B April 10, 2021, 6:17 p.m. OK Java 11 TESTS 4 171 0
112565628 r_i_t_i_k_1 B April 10, 2021, 5:12 p.m. OK Java 11 TESTS 4 171 0
112571251 davgogol B April 10, 2021, 6:03 p.m. OK Java 11 TESTS 4 186 0
112564372 mike1729 B April 10, 2021, 5:03 p.m. OK Java 11 TESTS 4 186 0
112575793 HastaLaVistaLa B April 10, 2021, 6:48 p.m. OK Java 11 TESTS 4 187 512000
112576041 5612 B April 10, 2021, 6:51 p.m. OK Java 11 TESTS 4 202 0
112565547 akshay0701 B April 10, 2021, 5:11 p.m. OK Java 11 TESTS 4 202 0
112574537 abdo123 B April 10, 2021, 6:35 p.m. OK Java 8 TESTS 4 93 0
112563136 dynamo_001 B April 10, 2021, 4:55 p.m. OK Java 8 TESTS 4 108 0
112571337 RonWonWon B April 10, 2021, 6:04 p.m. OK Java 8 TESTS 4 109 0
112563621 muhandae B April 10, 2021, 4:58 p.m. OK Java 8 TESTS 4 109 0
112595833 aljipa B April 11, 2021, 3:34 a.m. OK Java 8 TESTS 4 124 0
112574810 Akram-Adel B April 10, 2021, 6:38 p.m. OK Java 8 TESTS 4 124 0
112569740 Di735 B April 10, 2021, 5:47 p.m. OK Java 8 TESTS 4 124 0
112594855 Digvijaysingh0707 B April 11, 2021, 3:14 a.m. OK Java 8 TESTS 4 561 0
112564002 jaykania B April 10, 2021, 5 p.m. OK Java 8 TESTS 4 561 0
112600006 rw6 B April 11, 2021, 4:51 a.m. OK Java 8 TESTS 4 576 0
112587729 rahulcyadav B April 10, 2021, 11:02 p.m. OK JavaScript TESTS 4 31 1433600
112567064 rakeshSeervi B April 10, 2021, 5:23 p.m. OK Kotlin TESTS 4 155 102400
112599180 yyeshell B April 11, 2021, 4:38 a.m. OK MS C++ TESTS 4 61 307200
112590347 Harshita_0304 B April 11, 2021, 1 a.m. OK MS C++ 2017 TESTS 4 15 0
112592965 Cx330_L B April 11, 2021, 2:24 a.m. OK MS C++ 2017 TESTS 4 30 102400
112580071 tomred B April 10, 2021, 7:53 p.m. OK MS C++ 2017 TESTS 4 31 204800
112614894 lowkey_Lihie B April 11, 2021, 6:02 a.m. OK MS C++ 2017 TESTS 4 46 0
112595028 Frank_Qin B April 11, 2021, 3:18 a.m. OK MS C++ 2017 TESTS 4 46 204800
112590170 _Rimjhim_36 B April 11, 2021, 12:53 a.m. OK MS C++ 2017 TESTS 4 46 204800
112565336 ainiks B April 10, 2021, 5:09 p.m. OK MS C++ 2017 TESTS 4 46 1024000
112590867 kjabssi B April 11, 2021, 1:20 a.m. OK MS C++ 2017 TESTS 4 77 204800
112578017 henrychenOutlook B April 10, 2021, 7:24 p.m. OK Node.js TESTS 4 62 4915200
112573123 ProximaCentauri02 B April 10, 2021, 6:21 p.m. OK PyPy 3 TESTS 4 108 1331200
112610601 pmarecki B April 11, 2021, 5:39 a.m. OK PyPy 3 TESTS 4 108 2867200
112574278 harry5 B April 10, 2021, 6:32 p.m. OK PyPy 3 TESTS 4 108 5222400
112592720 chethan_9604 B April 11, 2021, 2:17 a.m. OK PyPy 3 TESTS 4 109 5324800
112586328 pk31299 B April 10, 2021, 10:15 p.m. OK PyPy 3 TESTS 4 109 6246400
112594967 WhatWHY B April 11, 2021, 3:16 a.m. OK PyPy 3 TESTS 4 124 5222400
112581630 xfce8888 B April 10, 2021, 8:17 p.m. OK PyPy 3 TESTS 4 124 5222400
112576074 aditya48 B April 10, 2021, 6:51 p.m. OK PyPy 3 TESTS 4 124 5222400
112567634 Rajesh_Kaipa B April 10, 2021, 5:28 p.m. OK PyPy 3 TESTS 4 124 5222400
112565731 legend.ary_as B April 10, 2021, 5:12 p.m. OK PyPy 3 TESTS 4 124 5222400
112568421 atharvadave000 B April 10, 2021, 5:35 p.m. OK Python 3 TESTS 4 46 1433600
112571235 BeneGesserit B April 10, 2021, 6:03 p.m. OK Python 3 TESTS 4 61 716800
112596585 Merevoli B April 11, 2021, 3:50 a.m. OK Python 3 TESTS 4 61 1024000
112587575 laranja B April 10, 2021, 10:55 p.m. OK Python 3 TESTS 4 62 0
112571144 BeneGesserit B April 10, 2021, 6:02 p.m. OK Python 3 TESTS 4 62 921600
112579620 Jaya07 B April 10, 2021, 7:46 p.m. OK Python 3 TESTS 4 77 0
112572312 pakanpak B April 10, 2021, 6:13 p.m. OK Python 3 TESTS 4 77 0
112586815 TrishitSingla B April 10, 2021, 10:30 p.m. OK Python 3 TESTS 4 77 512000
112598459 the100thGod B April 11, 2021, 4:25 a.m. OK Python 3 TESTS 4 77 716800
112594613 autoac B April 11, 2021, 3:08 a.m. OK Python 3 TESTS 4 77 716800

remove filters

Back to search problems