Contest 2050 and Codeforces Round 718 (Div. 1 + 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
1517 Contest 2050 and Codeforces Round 718 (Div. 1 + Div. 2) FINISHED False 9900 117991463 April 23, 2021, 2:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 13501 ) C Fillomino 2 PROGRAMMING constructive algorithms greedy implementation

B'Fillomino is a classic logic puzzle. (You do not need to know Fillomino in order to solve this problem.) In one classroom in Yunqi town, some volunteers are playing a board game variant of it: Consider an n by n chessboard. Its rows are numbered from 1 to n from the top to the bottom. Its columns are numbered from 1 to n from the left to the right. A cell on an intersection of x -th row and y -th column is denoted (x, y) . The main diagonal of the chessboard is cells (x, x) for all 1 <= x <= n . A permutation of {1, 2, 3, ... , n } is written on the main diagonal of the chessboard. There is exactly one number written on each of the cells. The problem is to partition the cells under and on the main diagonal (there are exactly 1+2+ ldots +n such cells) into n connected regions satisfying the following constraints: The first line contains a single integer n ( 1 <= n <= 500 ) denoting the size of the chessboard. The second line contains n integers p_1 , p_2 , ..., p_n . p_i is the number written on cell (i, i) . It is guaranteed that each integer from {1, ldots, n } appears exactly once in p_1 , ..., p_n . If no solution exists, output -1 . Otherwise, output n lines. The i -th line should contain i numbers. The j -th number on the i -th line should be x if cell (i, j) belongs to the the region with x cells. The solutions to the examples are illustrated in the following pictures: '...

Tutorials

Contest 2050 and Codeforces Round #718 (Div.1 + Div.2) Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
114032705 ruban C April 23, 2021, 4:37 p.m. OK Delphi TESTS 27 46 43827200
114034315 eastnman C April 23, 2021, 4:44 p.m. OK Delphi TESTS 27 61 1126400
114047656 Aditya_871 C April 23, 2021, 6:26 p.m. OK GNU C11 TESTS 27 451 1024000
114046772 Luca C April 23, 2021, 6:12 p.m. OK GNU C11 TESTS 27 452 1024000
114057611 rainboy C April 23, 2021, 9:10 p.m. OK GNU C11 TESTS 27 452 1024000
114035293 warrior0248 C April 23, 2021, 4:48 p.m. OK GNU C11 TESTS 27 452 1024000
114036803 vedant_parekh C April 23, 2021, 4:55 p.m. OK GNU C11 TESTS 27 452 1024000
114065051 Mr_Eight C April 24, 2021, 1:24 a.m. OK GNU C++11 TESTS 27 15 1024000
114067924 Love_Jacques C April 24, 2021, 2:51 a.m. OK GNU C++11 TESTS 27 31 1126400
114031185 czyer C April 23, 2021, 4:31 p.m. OK GNU C++11 TESTS 27 31 1126400
114040724 Abosite C April 23, 2021, 5:12 p.m. OK GNU C++11 TESTS 27 31 1228800
114068273 lcl12345 C April 24, 2021, 3 a.m. OK GNU C++11 TESTS 27 31 8089600
114036081 Anonymous31416 C April 23, 2021, 4:52 p.m. OK GNU C++11 TESTS 27 31 13414400
114029510 CYMario C April 23, 2021, 4:24 p.m. OK GNU C++11 TESTS 27 46 819200
114060106 Emm_Titan C April 23, 2021, 10:11 p.m. OK GNU C++11 TESTS 27 46 819200
114068937 frostr C April 24, 2021, 3:18 a.m. OK GNU C++11 TESTS 27 46 819200
114070649 lee0560 C April 24, 2021, 3:55 a.m. OK GNU C++11 TESTS 27 46 819200
114034342 naman19991999 C April 23, 2021, 4:44 p.m. OK GNU C++14 TESTS 27 31 614400
114029382 coder_ag14 C April 23, 2021, 4:24 p.m. OK GNU C++14 TESTS 27 31 716800
114069408 pranchal_agr C April 24, 2021, 3:29 a.m. OK GNU C++14 TESTS 27 31 1024000
114069076 masud458 C April 24, 2021, 3:21 a.m. OK GNU C++14 TESTS 27 31 1024000
114064914 I_love_dp C April 24, 2021, 1:18 a.m. OK GNU C++14 TESTS 27 31 1024000
114061595 SuperJ6 C April 23, 2021, 11:01 p.m. OK GNU C++14 TESTS 27 31 1024000
114075084 zxcc1337 C April 24, 2021, 5:17 a.m. OK GNU C++14 TESTS 27 31 1024000
114070068 iprakhar22 C April 24, 2021, 3:43 a.m. OK GNU C++14 TESTS 27 31 1024000
114071444 liuruyi C April 24, 2021, 4:11 a.m. OK GNU C++14 TESTS 27 31 1024000
114077678 vishdom_2304 C April 24, 2021, 5:56 a.m. OK GNU C++14 TESTS 27 31 1024000
114063769 MJH_-O-_M87 C April 24, 2021, 12:31 a.m. OK GNU C++17 TESTS 27 30 1024000
114054340 Stranger321 C April 23, 2021, 8:12 p.m. OK GNU C++17 TESTS 27 31 512000
114067606 tanmay.raj.29 C April 24, 2021, 2:42 a.m. OK GNU C++17 TESTS 27 31 512000
114035381 jonatas57 C April 23, 2021, 4:49 p.m. OK GNU C++17 TESTS 27 31 512000
114052697 Rs_07 C April 23, 2021, 7:46 p.m. OK GNU C++17 TESTS 27 31 716800
114034831 the_dragon_emperor C April 23, 2021, 4:46 p.m. OK GNU C++17 TESTS 27 31 921600
114077081 bhiruddigvijay C April 24, 2021, 5:47 a.m. OK GNU C++17 TESTS 27 31 1024000
114074196 seeker_26 C April 24, 2021, 5:02 a.m. OK GNU C++17 TESTS 27 31 1024000
114076346 sarthaksavasil C April 24, 2021, 5:36 a.m. OK GNU C++17 TESTS 27 31 1024000
114076636 nik09877 C April 24, 2021, 5:40 a.m. OK GNU C++17 TESTS 27 31 1024000
114056443 lazarilic C April 23, 2021, 8:47 p.m. OK GNU C++17 (64) TESTS 27 31 512000
114034862 Sanskar_1306 C April 23, 2021, 4:46 p.m. OK GNU C++17 (64) TESTS 27 31 512000
114031714 lazarilic C April 23, 2021, 4:33 p.m. OK GNU C++17 (64) TESTS 27 31 512000
114061777 wassim.omais C April 23, 2021, 11:07 p.m. OK GNU C++17 (64) TESTS 27 31 512000
114046113 ggdwbg C April 23, 2021, 6:06 p.m. OK GNU C++17 (64) TESTS 27 31 512000
114074992 acm C April 24, 2021, 5:15 a.m. OK GNU C++17 (64) TESTS 27 31 1024000
114077127 alif_cse_ju C April 24, 2021, 5:48 a.m. OK GNU C++17 (64) TESTS 27 31 1024000
114076056 njwrz C April 24, 2021, 5:32 a.m. OK GNU C++17 (64) TESTS 27 31 1024000
114068073 Apelpul C April 24, 2021, 2:55 a.m. OK GNU C++17 (64) TESTS 27 31 1024000
114065024 KlausReloaded C April 24, 2021, 1:22 a.m. OK GNU C++17 (64) TESTS 27 31 1024000
114035772 natonato C April 23, 2021, 4:51 p.m. OK Java 11 TESTS 27 202 0
114033005 raishdn C April 23, 2021, 4:38 p.m. OK Java 11 TESTS 27 202 0
114075535 sumitchavan C April 24, 2021, 5:24 a.m. OK Java 11 TESTS 27 217 0
114063136 kareem3id C April 24, 2021, 12:03 a.m. OK Java 11 TESTS 27 218 0
114066677 Ishwar_749 C April 24, 2021, 2:16 a.m. OK Java 11 TESTS 27 218 0
114038619 Sachin_2961 C April 23, 2021, 5:03 p.m. OK Java 11 TESTS 27 218 0
114034017 KarMa_ C April 23, 2021, 4:43 p.m. OK Java 11 TESTS 27 218 0
114033215 noobboyyyy C April 23, 2021, 4:39 p.m. OK Java 11 TESTS 27 218 0
114038444 arjunbhatt670 C April 23, 2021, 5:02 p.m. OK Java 11 TESTS 27 233 0
114038259 aayushdhakad C April 23, 2021, 5:01 p.m. OK Java 11 TESTS 27 233 0
114029416 RussianObama C April 23, 2021, 4:24 p.m. OK Java 8 TESTS 27 124 0
114034603 Tourist_01 C April 23, 2021, 4:45 p.m. OK Java 8 TESTS 27 139 0
114031892 aditya_daredevil C April 23, 2021, 4:33 p.m. OK Java 8 TESTS 27 140 0
114046058 tiwariabhishek C April 23, 2021, 6:05 p.m. OK Java 8 TESTS 27 140 0
114033492 _robindhankhar C April 23, 2021, 4:40 p.m. OK Java 8 TESTS 27 155 0
114037086 swapnilganguly1234 C April 23, 2021, 4:56 p.m. OK Java 8 TESTS 27 155 0
114034972 crazydeveloper C April 23, 2021, 4:47 p.m. OK Java 8 TESTS 27 155 0
114037686 This_is_the_one C April 23, 2021, 4:59 p.m. OK Java 8 TESTS 27 171 0
114045030 VishuTomar C April 23, 2021, 5:56 p.m. OK Java 8 TESTS 27 202 0
114030836 bodmas C April 23, 2021, 4:29 p.m. OK Java 8 TESTS 27 217 0
114052226 sylvyrfysh C April 23, 2021, 7:38 p.m. OK Kotlin TESTS 27 155 1228800
114030723 stopthecount C April 23, 2021, 4:29 p.m. OK Kotlin TESTS 27 187 1843200
114071254 pallav12 C April 24, 2021, 4:08 a.m. OK Kotlin TESTS 27 545 102400
114053083 Bloodwyn C April 23, 2021, 7:53 p.m. OK Kotlin TESTS 27 920 102400
114045487 fr0st C April 23, 2021, 6 p.m. OK Mono C# TESTS 27 93 11264000
114048773 zkxshg C April 23, 2021, 6:42 p.m. OK MS C++ 2017 TESTS 27 93 1126400
114033077 aleksikangas C April 23, 2021, 4:39 p.m. OK MS C++ 2017 TESTS 27 93 1126400
114029782 Mednn12 C April 23, 2021, 4:25 p.m. OK MS C++ 2017 TESTS 27 93 1126400
114051824 Amosh_ C April 23, 2021, 7:31 p.m. OK MS C++ 2017 TESTS 27 93 1228800
114037329 samarth9421 C April 23, 2021, 4:57 p.m. OK MS C++ 2017 TESTS 27 93 1331200
114035233 Blejac C April 23, 2021, 4:48 p.m. OK MS C++ 2017 TESTS 27 93 1331200
114030600 Willemkmetsch C April 23, 2021, 4:29 p.m. OK MS C++ 2017 TESTS 27 93 1331200
114042053 piyushpathak3004 C April 23, 2021, 5:18 p.m. OK MS C++ 2017 TESTS 27 108 1024000
114067627 sakapon C April 24, 2021, 2:42 a.m. OK .NET Core C# TESTS 27 124 6656000
114039319 morozov312 C April 23, 2021, 5:06 p.m. OK Node.js TESTS 27 109 5836800
114030128 whiord C April 23, 2021, 4:27 p.m. OK PyPy 3 TESTS 27 140 2560000
114032434 myang2111 C April 23, 2021, 4:36 p.m. OK PyPy 3 TESTS 27 140 3379200
114034077 snape_here C April 23, 2021, 4:43 p.m. OK PyPy 3 TESTS 27 140 3584000
114030577 damirych C April 23, 2021, 4:29 p.m. OK PyPy 3 TESTS 27 140 6963200
114033014 denny_sem C April 23, 2021, 4:38 p.m. OK PyPy 3 TESTS 27 155 2867200
114031945 xxxdu69 C April 23, 2021, 4:34 p.m. OK PyPy 3 TESTS 27 171 2764800
114046124 MassimoG C April 23, 2021, 6:06 p.m. OK PyPy 3 TESTS 27 171 8294400
114035607 aroy82 C April 23, 2021, 4:50 p.m. OK PyPy 3 TESTS 27 186 8192000
114038662 sainad C April 23, 2021, 5:03 p.m. OK PyPy 3 TESTS 27 186 8294400
114073040 shouvik_dutta C April 24, 2021, 4:42 a.m. OK PyPy 3 TESTS 27 186 8601600
114075060 h8191 C April 24, 2021, 5:16 a.m. OK Python 3 TESTS 27 109 716800
114036018 radmir-s C April 23, 2021, 4:52 p.m. OK Python 3 TESTS 27 187 1228800
114045522 Genius3435 C April 23, 2021, 6 p.m. OK Python 3 TESTS 27 218 921600
114045684 Genius3435 C April 23, 2021, 6:02 p.m. OK Python 3 TESTS 27 233 1024000
114051954 NS3081992 C April 23, 2021, 7:33 p.m. OK Python 3 TESTS 27 234 2150400
114051797 NS3081992 C April 23, 2021, 7:30 p.m. OK Python 3 TESTS 27 234 2150400
114030714 17817880747 C April 23, 2021, 4:29 p.m. OK Python 3 TESTS 27 249 1638400
114030629 makpro2000 C April 23, 2021, 4:29 p.m. OK Python 3 TESTS 27 264 1536000
114076309 Harry_kp C April 24, 2021, 5:36 a.m. OK Python 3 TESTS 27 265 1843200
114037425 r-tron18 C April 23, 2021, 4:58 p.m. OK Python 3 TESTS 27 280 1433600
114033829 ssvb C April 23, 2021, 4:42 p.m. OK Ruby 3 TESTS 27 358 1433600
114030818 uesugi C April 23, 2021, 4:29 p.m. OK Rust TESTS 27 46 2150400

remove filters

Back to search problems