Codeforces Round 633 (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
1339 Codeforces Round 633 (Div. 2) FINISHED False 7200 145122899 April 12, 2020, 2:05 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 32199 ) A Filling Diamonds PROGRAMMING brute force dp

B"You have integer n . Calculate how many ways are there to fully cover belt-like area of 4n-2 triangles with diamond shapes. Diamond shape consists of two triangles. You can move, rotate or flip the shape, but you cannot scale it. 2 coverings are different if some 2 triangles are covered by the same diamond shape in one of them and by different diamond shapes in the other one. Please look at pictures below for better understanding. These are the figures of the area you want to fill for n = 1, 2, 3, 4 . You have to answer t independent test cases. The first line contains a single integer t ( 1 <= t <= 10^{4} ) -- the number of test cases. Each of the next t lines contains a single integer n ( 1 <= n <= 10^{9} ). For each test case, print the number of ways to fully cover belt-like area of 4n-2 triangles using diamond shape. It can be shown that under given constraints this number of ways doesn't exceed 10^{18} . In the first test case, there are the following 2 ways to fill the area: In the second test case, there is a unique way to fill the area: "...

Tutorials

Codeforces Round #633 Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
76378036 ruban A April 12, 2020, 3:08 p.m. OK Delphi TESTS 8 31 102400
76439651 fpc_coder A April 13, 2020, 1:14 a.m. OK FPC TESTS 8 61 0
76379864 PAG A April 12, 2020, 3:12 p.m. OK FPC TESTS 8 62 0
76372112 l-_-l A April 12, 2020, 2:57 p.m. OK FPC TESTS 8 62 0
76371355 noobquan A April 12, 2020, 2:56 p.m. OK FPC TESTS 8 62 0
76368525 quochuong2006 A April 12, 2020, 2:51 p.m. OK FPC TESTS 8 62 0
76407348 physics0523 A April 12, 2020, 4:58 p.m. OK GNU C11 TESTS 8 30 0
76400705 ahuchchas A April 12, 2020, 3:58 p.m. OK GNU C11 TESTS 8 46 0
76375615 VEGETABLE_CHICKEN___ A April 12, 2020, 3:04 p.m. OK GNU C11 TESTS 8 46 0
76416823 shinchanq1999 A April 12, 2020, 6:12 p.m. OK GNU C11 TESTS 8 46 0
76443074 chowdhuryshashwoto A April 13, 2020, 2:43 a.m. OK GNU C11 TESTS 8 46 0
76446289 satyam_5123 A April 13, 2020, 3:52 a.m. OK GNU C11 TESTS 8 46 0
76375895 ceamin_cste A April 12, 2020, 3:04 p.m. OK GNU C11 TESTS 8 46 0
76376493 a-dreamer A April 12, 2020, 3:05 p.m. OK GNU C11 TESTS 8 46 0
76396763 Thamidtuhin A April 12, 2020, 3:50 p.m. OK GNU C11 TESTS 8 46 0
76400196 Sayantan_Biswas A April 12, 2020, 3:57 p.m. OK GNU C11 TESTS 8 46 0
76407624 kmyiu A April 12, 2020, 4:59 p.m. OK GNU C++11 TESTS 8 15 0
76391156 00101010 A April 12, 2020, 3:36 p.m. OK GNU C++11 TESTS 8 15 0
76390666 coder370 A April 12, 2020, 3:35 p.m. OK GNU C++11 TESTS 8 15 0
76377155 llkpersonal A April 12, 2020, 3:07 p.m. OK GNU C++11 TESTS 8 15 0
76367809 AnkleBreaker A April 12, 2020, 2:50 p.m. OK GNU C++11 TESTS 8 15 0
76364110 _jthe A April 12, 2020, 2:44 p.m. OK GNU C++11 TESTS 8 15 0
76363934 ROYAL_CODERR A April 12, 2020, 2:44 p.m. OK GNU C++11 TESTS 8 15 0
76441431 ShineEternal A April 13, 2020, 2:03 a.m. OK GNU C++11 TESTS 8 15 0
76435381 wh0816 A April 12, 2020, 11:04 p.m. OK GNU C++11 TESTS 8 15 0
76424103 ryuxin A April 12, 2020, 7:32 p.m. OK GNU C++11 TESTS 8 15 0
76435183 aniketghosh950 A April 12, 2020, 10:59 p.m. OK GNU C++14 TESTS 8 15 0
76435431 raghav.blacklist1 A April 12, 2020, 11:06 p.m. OK GNU C++14 TESTS 8 15 0
76436738 mahfuzz A April 12, 2020, 11:46 p.m. OK GNU C++14 TESTS 8 15 0
76436833 SmartCoder A April 12, 2020, 11:49 p.m. OK GNU C++14 TESTS 8 15 0
76437028 JUSSIAR A April 12, 2020, 11:56 p.m. OK GNU C++14 TESTS 8 15 0
76437367 Jrodsc A April 13, 2020, 12:05 a.m. OK GNU C++14 TESTS 8 15 0
76438625 Yyh. A April 13, 2020, 12:43 a.m. OK GNU C++14 TESTS 8 15 0
76431766 Typecaster99 A April 12, 2020, 9:35 p.m. OK GNU C++14 TESTS 8 15 0
76428853 architrungta120 A April 12, 2020, 8:40 p.m. OK GNU C++14 TESTS 8 15 0
76428741 smile_98 A April 12, 2020, 8:38 p.m. OK GNU C++14 TESTS 8 15 0
76424139 jaineric A April 12, 2020, 7:32 p.m. OK GNU C++17 TESTS 8 15 0
76448145 Sadat999 A April 13, 2020, 4:28 a.m. OK GNU C++17 TESTS 8 15 0
76438703 besieger A April 13, 2020, 12:45 a.m. OK GNU C++17 TESTS 8 15 0
76438450 FromScratch-nanpan A April 13, 2020, 12:38 a.m. OK GNU C++17 TESTS 8 15 0
76437611 umeed_samhan A April 13, 2020, 12:13 a.m. OK GNU C++17 TESTS 8 15 0
76436065 raghavrambo007 A April 12, 2020, 11:25 p.m. OK GNU C++17 TESTS 8 15 0
76434160 Rose A April 12, 2020, 10:32 p.m. OK GNU C++17 TESTS 8 15 0
76426311 run_time_terror A April 12, 2020, 8:01 p.m. OK GNU C++17 TESTS 8 15 0
76423199 d1abl3 A April 12, 2020, 7:20 p.m. OK GNU C++17 TESTS 8 15 0
76422675 scortier A April 12, 2020, 7:14 p.m. OK GNU C++17 TESTS 8 15 0
76435542 Harshu2608 A April 12, 2020, 11:09 p.m. OK GNU C++17 (64) TESTS 8 15 0
76389250 Khostiqa A April 12, 2020, 3:32 p.m. OK GNU C++17 (64) TESTS 8 15 0
76395547 ZeroNik A April 12, 2020, 3:47 p.m. OK GNU C++17 (64) TESTS 8 15 0
76407227 codeguy12 A April 12, 2020, 4:57 p.m. OK GNU C++17 (64) TESTS 8 15 0
76407956 Phortox A April 12, 2020, 5:01 p.m. OK GNU C++17 (64) TESTS 8 15 0
76409238 TselmegKh A April 12, 2020, 5:10 p.m. OK GNU C++17 (64) TESTS 8 15 0
76412093 emthrm A April 12, 2020, 5:31 p.m. OK GNU C++17 (64) TESTS 8 15 0
76416233 timf1089 A April 12, 2020, 6:06 p.m. OK GNU C++17 (64) TESTS 8 15 0
76417623 ivan100sic A April 12, 2020, 6:20 p.m. OK GNU C++17 (64) TESTS 8 15 0
76447642 Theofratus A April 13, 2020, 4:18 a.m. OK GNU C++17 (64) TESTS 8 30 0
76407051 farzirahu A April 12, 2020, 4:56 p.m. OK Go TESTS 8 389 102400
76412376 bckslsh03 A April 12, 2020, 5:34 p.m. OK Java 11 TESTS 8 171 0
76359361 idk321 A April 12, 2020, 2:37 p.m. OK Java 11 TESTS 8 186 0
76358332 Mann_27__ A April 12, 2020, 2:36 p.m. OK Java 11 TESTS 8 186 0
76446117 rajparekh2024 A April 13, 2020, 3:49 a.m. OK Java 11 TESTS 8 187 0
76413422 singhdhanwant A April 12, 2020, 5:42 p.m. OK Java 11 TESTS 8 187 0
76411325 nickleoden299 A April 12, 2020, 5:25 p.m. OK Java 11 TESTS 8 187 0
76366860 caesarsalad44 A April 12, 2020, 2:49 p.m. OK Java 11 TESTS 8 187 0
76411400 jaynils A April 12, 2020, 5:26 p.m. OK Java 11 TESTS 8 202 0
76393513 prituladima A April 12, 2020, 3:42 p.m. OK Java 11 TESTS 8 202 0
76376709 bckslsh03 A April 12, 2020, 3:06 p.m. OK Java 11 TESTS 8 202 0
76395777 dreamz A April 12, 2020, 3:47 p.m. OK Java 8 TESTS 8 108 0
76431298 amaturecoder A April 12, 2020, 9:25 p.m. OK Java 8 TESTS 8 108 0
76424562 marcose18 A April 12, 2020, 7:38 p.m. OK Java 8 TESTS 8 108 0
76411387 Ad-007 A April 12, 2020, 5:26 p.m. OK Java 8 TESTS 8 108 0
76428168 manish_98 A April 12, 2020, 8:28 p.m. OK Java 8 TESTS 8 109 0
76434471 rahul.golani09 A April 12, 2020, 10:40 p.m. OK Java 8 TESTS 8 109 0
76424304 Sandip_Jana A April 12, 2020, 7:34 p.m. OK Java 8 TESTS 8 109 0
76421518 linarkou A April 12, 2020, 7:01 p.m. OK Java 8 TESTS 8 109 0
76416320 saikaushik A April 12, 2020, 6:07 p.m. OK Java 8 TESTS 8 109 0
76412634 MagentaCobra A April 12, 2020, 5:36 p.m. OK Java 8 TESTS 8 109 0
76377026 arpit2438735 A April 12, 2020, 3:06 p.m. OK JavaScript TESTS 8 62 1024000
76439256 todayplusplus A April 13, 2020, 1:02 a.m. OK JavaScript TESTS 8 62 1126400
76362905 Hakiobo A April 12, 2020, 2:42 p.m. OK Kotlin TESTS 8 124 0
76407884 Tlatoani A April 12, 2020, 5:01 p.m. OK Kotlin TESTS 8 218 0
76365862 sid9406 A April 12, 2020, 2:47 p.m. OK Kotlin TESTS 8 218 0
76360138 abdukodir A April 12, 2020, 2:38 p.m. OK Kotlin TESTS 8 218 0
76438304 20181002901 A April 13, 2020, 12:33 a.m. OK Kotlin TESTS 8 233 0
76376102 ilia.kot A April 12, 2020, 3:05 p.m. OK Mono C# TESTS 8 77 1126400
76367876 mishgan A April 12, 2020, 2:50 p.m. OK Mono C# TESTS 8 108 614400
76361858 peterc A April 12, 2020, 2:41 p.m. OK Mono C# TESTS 8 109 614400
76365002 ravinem1 A April 12, 2020, 2:46 p.m. OK Mono C# TESTS 8 109 716800
76384472 TahmidImtiazImu A April 12, 2020, 3:22 p.m. OK MS C++ TESTS 8 62 0
76364310 qrzxxlxy A April 12, 2020, 2:45 p.m. OK MS C++ TESTS 8 62 0
76358002 SPOON796 A April 12, 2020, 2:36 p.m. OK MS C++ 2017 TESTS 8 30 0
76399396 leventa A April 12, 2020, 3:56 p.m. OK MS C++ 2017 TESTS 8 30 0
76414520 TMHazem A April 12, 2020, 5:52 p.m. OK MS C++ 2017 TESTS 8 30 4812800
76369885 Bigface A April 12, 2020, 2:54 p.m. OK MS C++ 2017 TESTS 8 30 7987200
76369989 Zhoujie1999 A April 12, 2020, 2:54 p.m. OK MS C++ 2017 TESTS 8 31 0
76372322 301272316 A April 12, 2020, 2:58 p.m. OK MS C++ 2017 TESTS 8 31 0
76407328 pichulia A April 12, 2020, 4:58 p.m. OK MS C++ 2017 TESTS 8 46 0
76442412 Libra_Glow A April 13, 2020, 2:27 a.m. OK MS C++ 2017 TESTS 8 62 0
76437544 GUESSER A April 13, 2020, 12:11 a.m. OK MS C++ 2017 TESTS 8 62 0
76433402 Mhmdhabash A April 12, 2020, 10:12 p.m. OK MS C++ 2017 TESTS 8 62 0
76416079 Dimoon A April 12, 2020, 6:05 p.m. OK PascalABC.NET TESTS 8 514 102400
76417162 mayakin A April 12, 2020, 6:16 p.m. OK PHP TESTS 8 62 0
76371377 realnimish A April 12, 2020, 2:56 p.m. OK PyPy 2 TESTS 8 155 1740800
76372040 ksdthegr8 A April 12, 2020, 2:57 p.m. OK PyPy 2 TESTS 8 311 1228800
76360158 arccosh A April 12, 2020, 2:39 p.m. OK PyPy 2 TESTS 8 312 1228800
76362310 aniket11 A April 12, 2020, 2:42 p.m. OK PyPy 2 TESTS 8 498 6348800
76366715 bazzyadb A April 12, 2020, 2:48 p.m. OK PyPy 2 TESTS 8 498 6348800
76358180 MBarry A April 12, 2020, 2:36 p.m. OK PyPy 2 TESTS 8 514 7270400
76377119 jolt.tks A April 12, 2020, 3:07 p.m. OK PyPy 2 TESTS 8 514 10444800
76394319 mathac A April 12, 2020, 3:44 p.m. OK PyPy 3 TESTS 8 155 3276800
76371283 Naman_Garg007 A April 12, 2020, 2:56 p.m. OK PyPy 3 TESTS 8 170 2969600
76372244 omarnvidia A April 12, 2020, 2:58 p.m. OK PyPy 3 TESTS 8 171 2662400
76440974 codingfantasies A April 13, 2020, 1:49 a.m. OK PyPy 3 TESTS 8 186 3276800
76393175 juandrengifo A April 12, 2020, 3:41 p.m. OK PyPy 3 TESTS 8 186 3276800
76373421 Mr_No_One A April 12, 2020, 3 p.m. OK PyPy 3 TESTS 8 186 3276800
76415988 ecnerwala A April 12, 2020, 6:04 p.m. OK PyPy 3 TESTS 8 186 3891200
76364905 maheshraju2020 A April 12, 2020, 2:46 p.m. OK PyPy 3 TESTS 8 186 4096000
76381473 oiulji A April 12, 2020, 3:15 p.m. OK PyPy 3 TESTS 8 187 3686400
76374237 karanraj A April 12, 2020, 3:01 p.m. OK PyPy 3 TESTS 8 187 4096000
76415087 elistark A April 12, 2020, 5:57 p.m. OK Python 2 TESTS 8 217 307200
76386245 chai_peelo A April 12, 2020, 3:26 p.m. OK Python 2 TESTS 8 217 409600
76434430 sirjan13 A April 12, 2020, 10:39 p.m. OK Python 2 TESTS 8 218 409600
76430198 aheldis A April 12, 2020, 9:03 p.m. OK Python 2 TESTS 8 218 512000
76360982 mkawa2 A April 12, 2020, 2:40 p.m. OK Python 3 TESTS 8 109 409600
76411663 eugalt A April 12, 2020, 5:28 p.m. OK Python 3 TESTS 8 109 716800
76376914 Gbhjujd331IP A April 12, 2020, 3:06 p.m. OK Python 3 TESTS 8 124 307200
76375954 AA219 A April 12, 2020, 3:04 p.m. OK Python 3 TESTS 8 124 307200
76429704 tehoreoz A April 12, 2020, 8:54 p.m. OK Python 3 TESTS 8 124 409600
76403836 rollov A April 12, 2020, 4:04 p.m. OK Python 3 TESTS 8 124 409600
76374204 ilmango A April 12, 2020, 3:01 p.m. OK Python 3 TESTS 8 124 409600
76366504 ohadnir A April 12, 2020, 2:48 p.m. OK Python 3 TESTS 8 124 716800
76432030 breno A April 12, 2020, 9:40 p.m. OK Python 3 TESTS 8 139 409600
76375335 6945815861DungNV A April 12, 2020, 3:03 p.m. OK Python 3 TESTS 8 139 409600
76427575 Gtx A April 12, 2020, 8:20 p.m. OK Ruby TESTS 8 77 0
76409799 taulant A April 12, 2020, 5:14 p.m. OK Ruby TESTS 8 77 0
76406598 taulant A April 12, 2020, 4:55 p.m. OK Ruby TESTS 8 77 0
76440862 sansen A April 13, 2020, 1:46 a.m. OK Rust TESTS 8 31 307200
76374121 magicgrin A April 12, 2020, 3:01 p.m. OK Rust TESTS 8 124 0
76388008 AnteeOne A April 12, 2020, 3:29 p.m. OK Rust TESTS 8 124 102400
76422452 AhmedRashad A April 12, 2020, 7:11 p.m. OK Scala TESTS 8 483 0
76416837 IvanDyachenko A April 12, 2020, 6:12 p.m. OK Scala TESTS 8 499 0

remove filters

Back to search problems