Codeforces Round 719 (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
1520 Codeforces Round 719 (Div. 3) FINISHED False 7200 111597899 May 5, 2021, 2:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 31964 ) C Not Adjacent Matrix PROGRAMMING constructive algorithms

B'We will consider the numbers a and b as adjacent if they differ by exactly one, that is, |a-b|=1 . We will consider cells of a square matrix n x n as adjacent if they have a common side, that is, for cell (r, c) cells (r, c-1) , (r, c+1) , (r-1, c) and (r+1, c) are adjacent to it. For a given number n , construct a square matrix n x n such that: The first line contains one integer t ( 1 <= t <= 100 ). Then t test cases follow. Each test case is characterized by one integer n ( 1 <= n <= 100 ). For each test case, output: The matrix should be outputted as n lines, where each line contains n integers. '...

Tutorials

Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
115383837 Cai_ruBbish_Ji C May 6, 2021, 6:01 a.m. OK GNU C++11 TESTS 3 155 3891200
115366190 Haauois C May 6, 2021, 1:30 a.m. OK GNU C++11 TESTS 3 155 3891200
115365922 wheneveright C May 6, 2021, 1:22 a.m. OK GNU C++11 TESTS 3 155 3891200
115376201 smallpeter C May 6, 2021, 4:34 a.m. OK GNU C++11 TESTS 3 156 3891200
115369228 ZJH111111 C May 6, 2021, 2:42 a.m. OK GNU C++11 TESTS 3 156 3891200
115368523 frostylight C May 6, 2021, 2:27 a.m. OK GNU C++11 TESTS 3 156 3891200
115366372 wheneveright C May 6, 2021, 1:36 a.m. OK GNU C++11 TESTS 3 156 3891200
115356891 Sork C May 5, 2021, 9:05 p.m. OK GNU C++11 TESTS 3 156 3891200
115364462 Tommy0103 C May 6, 2021, 12:39 a.m. OK GNU C++11 TESTS 3 170 3686400
115353360 g.temurkan C May 5, 2021, 8:04 p.m. OK GNU C++11 TESTS 3 171 3891200
115378541 Whydoicode C May 6, 2021, 5:04 a.m. OK GNU C++14 TESTS 3 93 3788800
115364698 SF-Manman C May 6, 2021, 12:46 a.m. OK GNU C++14 TESTS 3 93 5324800
115344073 Shoumya C May 5, 2021, 6:15 p.m. OK GNU C++14 TESTS 3 108 0
115359459 Mikasa_202 C May 5, 2021, 10:05 p.m. OK GNU C++14 TESTS 3 108 3686400
115359417 No_ONEe C May 5, 2021, 10:04 p.m. OK GNU C++14 TESTS 3 108 3686400
115373045 kt2912 C May 6, 2021, 3:46 a.m. OK GNU C++14 TESTS 3 108 3788800
115362860 lalaamrr C May 5, 2021, 11:48 p.m. OK GNU C++14 TESTS 3 108 3788800
115353376 AlanSkarica C May 5, 2021, 8:04 p.m. OK GNU C++14 TESTS 3 108 3788800
115349126 leonatwork C May 5, 2021, 7:07 p.m. OK GNU C++14 TESTS 3 108 3788800
115365295 luck_666 C May 6, 2021, 1:05 a.m. OK GNU C++14 TESTS 3 108 3891200

remove filters

Back to search problems