Codeforces Round 799 (Div. 4)

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
1692 Codeforces Round 799 (Div. 4) FINISHED False 8100 76605899 June 14, 2022, 2:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 34534 ) C Where's the Bishop? PROGRAMMING implementation

B"Mihai has an 8 x 8 chessboard whose rows are numbered from 1 to 8 from top to bottom and whose columns are numbered from 1 to 8 from left to right. Mihai has placed exactly one bishop on the chessboard. The bishop is not placed on the edges of the board. (In other words, the row and column of the bishop are between 2 and 7 , inclusive.) The bishop attacks in all directions diagonally, and there is no limit to the distance which the bishop can attack. Note that the cell on which the bishop is placed is also considered attacked. Mihai has marked all squares the bishop attacks, but forgot where the bishop was! Help Mihai find the position of the bishop. The first line of the input contains a single integer t ( 1 <= q t <= q 36 ) -- the number of test cases. The description of test cases follows. There is an empty line before each test case. Each test case consists of 8 lines, each containing 8 characters. Each of these characters is either '#' or '.', denoting a square under attack and a square not under attack, respectively. For each test case, output two integers r and c ( 2 <= q r, c <= q 7 ) -- the row and column of the bishop. The input is generated in such a way that there is always exactly one possible location of the bishop that is not on the edge of the board. The first test case is pictured in the statement. Since the bishop lies in the intersection row 4 and column 3 , the correct output is 4 3. "...

Tutorials

Codeforces Round #799 (Div. 4) Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
160683433 chrisfcoder C June 15, 2022, 2:26 a.m. OK C# 10 TESTS 2 31 204800
160676915 bluemegane C June 14, 2022, 10:18 p.m. OK C# 8 TESTS 2 62 0
160690447 Wii C June 15, 2022, 4:41 a.m. OK FPC TESTS 2 15 102400
160661596 tajshuvo C June 14, 2022, 6 p.m. OK GNU C11 TESTS 2 0 0
160662545 eugalt C June 14, 2022, 6:10 p.m. OK GNU C11 TESTS 2 15 0
160689378 epsa_StaCKOverfLow C June 15, 2022, 4:25 a.m. OK GNU C11 TESTS 2 15 0
160664481 SP2003 C June 14, 2022, 6:29 p.m. OK GNU C11 TESTS 2 15 0
160692641 aman_k4 C June 15, 2022, 5:15 a.m. OK GNU C++14 TESTS 2 0 0
160694431 vansh_1211 C June 15, 2022, 5:41 a.m. OK GNU C++14 TESTS 2 0 0
160694334 Yashking C June 15, 2022, 5:40 a.m. OK GNU C++14 TESTS 2 0 0
160693312 freakin23 C June 15, 2022, 5:24 a.m. OK GNU C++14 TESTS 2 0 0
160693118 wafa_alaksh2 C June 15, 2022, 5:22 a.m. OK GNU C++14 TESTS 2 0 0
160692874 Preetam14 C June 15, 2022, 5:18 a.m. OK GNU C++14 TESTS 2 0 0
160692867 Hasnat078 C June 15, 2022, 5:18 a.m. OK GNU C++14 TESTS 2 0 0
160692697 Shargik C June 15, 2022, 5:16 a.m. OK GNU C++14 TESTS 2 0 0
160695324 dcode786 C June 15, 2022, 5:54 a.m. OK GNU C++14 TESTS 2 0 0
160694787 udaycodersingh C June 15, 2022, 5:46 a.m. OK GNU C++14 TESTS 2 0 0
160695424 priyanshukr.jnvr451 C June 15, 2022, 5:55 a.m. OK GNU C++17 TESTS 2 0 0
160695379 Kartik020 C June 15, 2022, 5:54 a.m. OK GNU C++17 TESTS 2 0 0
160695238 justgravit C June 15, 2022, 5:53 a.m. OK GNU C++17 TESTS 2 0 0
160695229 AcSOUT Chiullian C June 15, 2022, 5:52 a.m. OK GNU C++17 TESTS 2 0 0
160695134 Emran C June 15, 2022, 5:51 a.m. OK GNU C++17 TESTS 2 0 0
160695033 shar_ma_arjun C June 15, 2022, 5:50 a.m. OK GNU C++17 TESTS 2 0 0
160695743 _Raihan__ C June 15, 2022, 5:59 a.m. OK GNU C++17 TESTS 2 0 0
160695764 Moa2587 C June 15, 2022, 5:59 a.m. OK GNU C++17 TESTS 2 0 0
160695556 vito_t C June 15, 2022, 5:56 a.m. OK GNU C++17 TESTS 2 0 0
160695524 izanagi_kami C June 15, 2022, 5:56 a.m. OK GNU C++17 TESTS 2 0 0
160691776 tazul110111 C June 15, 2022, 5:02 a.m. OK GNU C++17 (64) TESTS 2 0 0
160695751 khoivotri C June 15, 2022, 5:59 a.m. OK GNU C++17 (64) TESTS 2 0 0
160695332 mandy_17 C June 15, 2022, 5:54 a.m. OK GNU C++17 (64) TESTS 2 0 0
160694357 aviralv35 C June 15, 2022, 5:40 a.m. OK GNU C++17 (64) TESTS 2 0 0
160694327 no_brain_used_here C June 15, 2022, 5:40 a.m. OK GNU C++17 (64) TESTS 2 0 0
160693656 TesikBas_ C June 15, 2022, 5:29 a.m. OK GNU C++17 (64) TESTS 2 0 0
160693554 sagar_sk007 C June 15, 2022, 5:28 a.m. OK GNU C++17 (64) TESTS 2 0 0
160693459 OliverWayne007 C June 15, 2022, 5:27 a.m. OK GNU C++17 (64) TESTS 2 0 0
160693401 pakhandi98 C June 15, 2022, 5:26 a.m. OK GNU C++17 (64) TESTS 2 0 0
160689950 REVATHI_80 C June 15, 2022, 4:34 a.m. OK GNU C++17 (64) TESTS 2 0 0
160693512 Obit0 C June 15, 2022, 5:27 a.m. OK GNU C++20 (64) TESTS 2 0 0
160693424 codershadow C June 15, 2022, 5:26 a.m. OK GNU C++20 (64) TESTS 2 0 0
160693231 Sowrav_Nath C June 15, 2022, 5:23 a.m. OK GNU C++20 (64) TESTS 2 0 0
160693193 notyour_young C June 15, 2022, 5:23 a.m. OK GNU C++20 (64) TESTS 2 0 0
160692843 Tkver C June 15, 2022, 5:18 a.m. OK GNU C++20 (64) TESTS 2 0 0
160692589 Mango.Shake C June 15, 2022, 5:14 a.m. OK GNU C++20 (64) TESTS 2 0 0
160693730 TonoY C June 15, 2022, 5:31 a.m. OK GNU C++20 (64) TESTS 2 0 0
160694360 pranav.cse.20001 C June 15, 2022, 5:40 a.m. OK GNU C++20 (64) TESTS 2 0 0
160695018 aryanverma2412 C June 15, 2022, 5:49 a.m. OK GNU C++20 (64) TESTS 2 0 0
160695785 NotANoob C June 15, 2022, 5:59 a.m. OK GNU C++20 (64) TESTS 2 0 0
160690699 qw_freshman C June 15, 2022, 4:45 a.m. OK Go TESTS 2 0 0
160676381 codebook_2000 C June 14, 2022, 10:02 p.m. OK Java 11 TESTS 2 155 0
160667056 Ginkgobiloba C June 14, 2022, 7:01 p.m. OK Java 11 TESTS 2 155 0
160683338 souravc399 C June 15, 2022, 2:24 a.m. OK Java 11 TESTS 2 170 0
160680836 Hitesh_Ahuja C June 15, 2022, 1:13 a.m. OK Java 11 TESTS 2 171 0
160694985 parascoding1 C June 15, 2022, 5:49 a.m. OK Java 11 TESTS 2 171 0
160692051 Rohitttt C June 15, 2022, 5:07 a.m. OK Java 11 TESTS 2 171 0
160684726 Prince_Nandha C June 15, 2022, 2:56 a.m. OK Java 11 TESTS 2 171 0
160683458 groven C June 15, 2022, 2:27 a.m. OK Java 11 TESTS 2 171 0
160670035 jinraell C June 14, 2022, 7:41 p.m. OK Java 11 TESTS 2 171 0
160669971 akshat3612 C June 14, 2022, 7:40 p.m. OK Java 11 TESTS 2 171 0
160690027 _Gupta_JI_ C June 15, 2022, 4:35 a.m. OK Java 8 TESTS 2 77 0
160689129 moyan_01 C June 15, 2022, 4:20 a.m. OK Java 8 TESTS 2 77 0
160681311 changes561 C June 15, 2022, 1:29 a.m. OK Java 8 TESTS 2 77 0
160674350 bruhgamer C June 14, 2022, 9:02 p.m. OK Java 8 TESTS 2 77 0
160654750 WrongAnswerOnTestCase2 C June 14, 2022, 5:07 p.m. OK Java 8 TESTS 2 77 0
160655551 Eslam_Ahmed C June 14, 2022, 5:12 p.m. OK Java 8 TESTS 2 78 0
160680958 iykyk C June 15, 2022, 1:18 a.m. OK Java 8 TESTS 2 93 0
160695469 swaggy_baba C June 15, 2022, 5:55 a.m. OK Java 8 TESTS 2 93 0
160681720 divmiv C June 15, 2022, 1:40 a.m. OK Java 8 TESTS 2 93 0
160663894 pratikjadhav10 C June 14, 2022, 6:23 p.m. OK Java 8 TESTS 2 93 0
160655681 beksultanomirzak.2001 C June 14, 2022, 5:13 p.m. OK JavaScript TESTS 2 31 0
160677324 Hakiobo C June 14, 2022, 10:34 p.m. OK Kotlin 1.4 TESTS 2 93 0
160663595 Priyanka1505 C June 14, 2022, 6:20 p.m. OK MS C++ 2017 TESTS 2 0 0
160693612 Karan_Saharan C June 15, 2022, 5:29 a.m. OK MS C++ 2017 TESTS 2 0 0
160687539 A_Pier C June 15, 2022, 3:52 a.m. OK MS C++ 2017 TESTS 2 0 0
160678447 Abdelrahmanmagdi C June 14, 2022, 11:24 p.m. OK MS C++ 2017 TESTS 2 0 0
160671098 gharsh_69 C June 14, 2022, 7:57 p.m. OK MS C++ 2017 TESTS 2 0 0
160664731 gimhyojung688 C June 14, 2022, 6:32 p.m. OK MS C++ 2017 TESTS 2 0 0
160663480 Priyanka1505 C June 14, 2022, 6:19 p.m. OK MS C++ 2017 TESTS 2 0 0
160658735 danthanhhuynhpham C June 14, 2022, 5:35 p.m. OK MS C++ 2017 TESTS 2 15 0
160685430 TemporalBloom C June 15, 2022, 3:11 a.m. OK MS C++ 2017 TESTS 2 15 0
160682543 ToxicalNoob3062 C June 15, 2022, 2:04 a.m. OK Node.js TESTS 2 46 102400
160678240 hasanjak99 C June 14, 2022, 11:15 p.m. OK PHP TESTS 2 15 0
160656279 Partho_Debnath C June 14, 2022, 5:17 p.m. OK PyPy 3 TESTS 2 61 0
160682458 M-ANEEQ C June 15, 2022, 2:02 a.m. OK PyPy 3 TESTS 2 62 0
160681829 Sir_Ahmed_Imran C June 15, 2022, 1:43 a.m. OK PyPy 3 TESTS 2 77 0
160693159 ramjeeraghu C June 15, 2022, 5:22 a.m. OK PyPy 3 TESTS 2 77 1843200
160679675 Ilya_Is2022 C June 15, 2022, 12:28 a.m. OK PyPy 3 TESTS 2 92 2457600
160670379 hxu10 C June 14, 2022, 7:46 p.m. OK PyPy 3 TESTS 2 93 1331200
160691832 thukrake_mera_pyaar C June 15, 2022, 5:03 a.m. OK PyPy 3 TESTS 2 93 2150400
160676940 osama_a_rehman C June 14, 2022, 10:19 p.m. OK PyPy 3 TESTS 2 108 2969600
160674100 nealzane C June 14, 2022, 8:55 p.m. OK PyPy 3-64 TESTS 2 31 512000
160658737 YouCanCallMeNoob C June 14, 2022, 5:35 p.m. OK PyPy 3-64 TESTS 2 46 0
160685059 EpicChadGamer C June 15, 2022, 3:03 a.m. OK PyPy 3-64 TESTS 2 46 0
160667352 AD18 C June 14, 2022, 7:05 p.m. OK PyPy 3-64 TESTS 2 46 0
160659123 ajadreddy C June 14, 2022, 5:39 p.m. OK PyPy 3-64 TESTS 2 46 0
160654737 aman404found C June 14, 2022, 5:07 p.m. OK PyPy 3-64 TESTS 2 46 0
160659189 Vashi C June 14, 2022, 5:39 p.m. OK PyPy 3-64 TESTS 2 46 512000
160675096 crapcode C June 14, 2022, 9:20 p.m. OK PyPy 3-64 TESTS 2 46 512000
160665408 gesuta C June 14, 2022, 6:40 p.m. OK PyPy 3-64 TESTS 2 46 512000
160669427 vladilius C June 14, 2022, 7:32 p.m. OK PyPy 3-64 TESTS 2 46 1945600
160681768 dbit C June 15, 2022, 1:41 a.m. OK Python 3 TESTS 2 15 0
160691475 edusanketdk C June 15, 2022, 4:57 a.m. OK Python 3 TESTS 2 15 0
160664601 ferbarajas1999 C June 14, 2022, 6:31 p.m. OK Python 3 TESTS 2 15 0
160654724 bissenbay C June 14, 2022, 5:07 p.m. OK Python 3 TESTS 2 15 0
160694213 aniketk28 C June 15, 2022, 5:38 a.m. OK Python 3 TESTS 2 30 0
160683861 siddman17 C June 15, 2022, 2:37 a.m. OK Python 3 TESTS 2 30 0
160681510 Muhammad.Daniyal C June 15, 2022, 1:34 a.m. OK Python 3 TESTS 2 30 0
160668003 314tonick C June 14, 2022, 7:13 p.m. OK Python 3 TESTS 2 30 0
160665402 Sla_NB C June 14, 2022, 6:40 p.m. OK Python 3 TESTS 2 30 0
160663498 Mara2013 C June 14, 2022, 6:19 p.m. OK Python 3 TESTS 2 30 0
160679423 Ayalla C June 15, 2022, 12:16 a.m. OK Ruby 3 TESTS 2 218 102400
160693934 T0RA C June 15, 2022, 5:34 a.m. OK Rust 2021 TESTS 2 0 0
160691423 Sempr C June 15, 2022, 4:56 a.m. OK Rust 2021 TESTS 2 15 0

remove filters

Back to search problems