Codeforces Round 639 (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
1345 Codeforces Round 639 (Div. 2) FINISHED False 8100 143047499 May 6, 2020, 2:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 24242 ) A Puzzle Pieces PROGRAMMING math #blank 800

B'You are given a special jigsaw puzzle consisting of n cdot m identical pieces. Every piece has three tabs and one blank, as pictured below. The jigsaw puzzle is considered solved if the following conditions hold: Through rotation and translation of the pieces, determine if it is possible to solve the jigsaw puzzle. The test consists of multiple test cases. The first line contains a single integer t ( 1 <= t <= 1000 ) -- the number of test cases. Next t lines contain descriptions of test cases. Each test case contains two integers n and m ( 1 <= n,m <= 10^5 ). For each test case output a single line containing "YES" if it is possible to solve the jigsaw puzzle, or "NO" otherwise. You can print each letter in any case (upper or lower). For the first test case, this is an example solution: For the second test case, we can show that no solution exists. For the third test case, this is an example solution: '...

Tutorials

Codeforces Round #639 Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
79212484 Gassa A May 6, 2020, 10:31 p.m. OK D TESTS 7 31 4710400 800
79247944 noob_acmp A May 7, 2020, 8:20 a.m. OK Delphi TESTS 7 31 4300800 800
79175465 hfgjdghj A May 6, 2020, 3:15 p.m. OK FPC TESTS 7 30 3379200 800
79224095 fpc_coder A May 7, 2020, 3:16 a.m. OK FPC TESTS 7 30 3379200 800
79468502 Tharani_priya A May 9, 2020, 1:36 p.m. OK GNU C11 TESTS 7 15 3686400 800
79472687 mbvroza A May 9, 2020, 2:25 p.m. OK GNU C11 TESTS 7 15 3686400 800
79295378 ishraar A May 7, 2020, 2:43 p.m. OK GNU C11 TESTS 7 15 3686400 800
79331500 Mayeesha30 A May 7, 2020, 10:50 p.m. OK GNU C11 TESTS 7 15 3686400 800
79376085 khaledirfan A May 8, 2020, 12:11 p.m. OK GNU C11 TESTS 7 15 3686400 800
79283565 fabman_16 A May 7, 2020, 2:14 p.m. OK GNU C11 TESTS 7 15 3686400 800
79382529 alsrbrr23 A May 8, 2020, 1:35 p.m. OK GNU C11 TESTS 7 15 3686400 800
79383242 tarekmahmud500 A May 8, 2020, 1:43 p.m. OK GNU C11 TESTS 7 15 3686400 800
79404462 code100 A May 8, 2020, 6:03 p.m. OK GNU C11 TESTS 7 15 3686400 800
79454507 tjg A May 9, 2020, 10:40 a.m. OK GNU C11 TESTS 7 15 3686400 800
79227291 Zero_to_Zero A May 7, 2020, 4:04 a.m. OK GNU C++11 TESTS 7 15 3686400 800
79223695 CN_pf_d A May 7, 2020, 3:09 a.m. OK GNU C++11 TESTS 7 15 3686400 800
79220338 yikuaiyu A May 7, 2020, 1:54 a.m. OK GNU C++11 TESTS 7 15 3686400 800
79201068 Subhankar79 A May 6, 2020, 4:40 p.m. OK GNU C++11 TESTS 7 15 3686400 800
79184046 very_anxiety A May 6, 2020, 3:33 p.m. OK GNU C++11 TESTS 7 15 3686400 800
79442865 18Michael A May 9, 2020, 8:05 a.m. OK GNU C++11 TESTS 7 15 3686400 800
79264292 michalzelasko201718 A May 7, 2020, 11:38 a.m. OK GNU C++11 TESTS 7 15 3686400 800
79262837 vjudge2 A May 7, 2020, 11:23 a.m. OK GNU C++11 TESTS 7 15 3686400 800
79261911 vjudge4 A May 7, 2020, 11:12 a.m. OK GNU C++11 TESTS 7 15 3686400 800
79245312 sahdsg A May 7, 2020, 7:47 a.m. OK GNU C++11 TESTS 7 15 3686400 800
79362988 Sizzlk A May 8, 2020, 9:22 a.m. OK GNU C++14 TESTS 7 15 3686400 800
79369497 luogu_bot5 A May 8, 2020, 10:49 a.m. OK GNU C++14 TESTS 7 15 3686400 800
79409595 yosua19 A May 8, 2020, 7:13 p.m. OK GNU C++14 TESTS 7 15 3686400 800
79465864 krzzyWarrior A May 9, 2020, 1:03 p.m. OK GNU C++14 TESTS 7 15 3686400 800
79422122 k4droid3 A May 9, 2020, 12:09 a.m. OK GNU C++14 TESTS 7 15 3686400 800
79350249 bhatiakartik10 A May 8, 2020, 6:27 a.m. OK GNU C++14 TESTS 7 15 3686400 800
79349461 john__wick A May 8, 2020, 6:16 a.m. OK GNU C++14 TESTS 7 15 3686400 800
79342908 Shineheart A May 8, 2020, 4:26 a.m. OK GNU C++14 TESTS 7 15 3686400 800
79341365 Sajjat004 A May 8, 2020, 3:48 a.m. OK GNU C++14 TESTS 7 15 3686400 800
79319944 ziad.khobeiz A May 7, 2020, 7:03 p.m. OK GNU C++14 TESTS 7 15 3686400 800
79345066 FT.K A May 8, 2020, 5:11 a.m. OK GNU C++17 TESTS 7 15 3686400 800
79443929 DeepJay A May 9, 2020, 8:19 a.m. OK GNU C++17 TESTS 7 15 3686400 800
79411165 artem-03 A May 8, 2020, 7:37 p.m. OK GNU C++17 TESTS 7 15 3686400 800
79400140 This_is_not_done_yet A May 8, 2020, 5:01 p.m. OK GNU C++17 TESTS 7 15 3686400 800
79386915 bijoy111 A May 8, 2020, 2:27 p.m. OK GNU C++17 TESTS 7 15 3686400 800
79377821 meghojp A May 8, 2020, 12:33 p.m. OK GNU C++17 TESTS 7 15 3686400 800
79349047 Aspirine_R A May 8, 2020, 6:11 a.m. OK GNU C++17 TESTS 7 15 3686400 800
79343489 ANZ1217 A May 8, 2020, 4:40 a.m. OK GNU C++17 TESTS 7 15 3686400 800
79338254 tuxtux1 A May 8, 2020, 2:36 a.m. OK GNU C++17 TESTS 7 15 3686400 800
79335042 abhiram2600 akshayrajp bodduluscorp A May 8, 2020, 12:50 a.m. OK GNU C++17 TESTS 7 15 3686400 800
79215708 ffao A May 6, 2020, 11:54 p.m. OK GNU C++17 (64) TESTS 7 15 4198400 800
79229017 PinkRabbit A May 7, 2020, 4:32 a.m. OK GNU C++17 (64) TESTS 7 15 4198400 800
79324336 mdazmat9 A May 7, 2020, 8:10 p.m. OK GNU C++17 (64) TESTS 7 15 4300800 800
79341443 Hashdefineabc A May 8, 2020, 3:50 a.m. OK GNU C++17 (64) TESTS 7 15 4300800 800
79359705 achvanov A May 8, 2020, 8:39 a.m. OK GNU C++17 (64) TESTS 7 15 4300800 800
79404827 ASS_ASS_IN A May 8, 2020, 6:08 p.m. OK GNU C++17 (64) TESTS 7 15 4300800 800
79445172 hetgiolambai A May 9, 2020, 8:37 a.m. OK GNU C++17 (64) TESTS 7 15 4300800 800
79463116 Phortox A May 9, 2020, 12:28 p.m. OK GNU C++17 (64) TESTS 7 15 4300800 800
79298105 suri_kumkaran A May 7, 2020, 2:53 p.m. OK GNU C++17 (64) TESTS 7 15 4300800 800
79305858 __sleepyHeaD A May 7, 2020, 4:04 p.m. OK GNU C++17 (64) TESTS 7 15 4300800 800
79216902 atilol A May 7, 2020, 12:28 a.m. OK Go TESTS 7 31 10649600 800
79183711 Jughead A May 6, 2020, 3:32 p.m. OK Go TESTS 7 31 10649600 800
79179624 amarjeetanand A May 6, 2020, 3:24 p.m. OK Go TESTS 7 31 10649600 800
79269474 dblokhin A May 7, 2020, 12:37 p.m. OK Go TESTS 7 46 10649600 800
79191982 glebsamsonov A May 6, 2020, 3:53 p.m. OK Go TESTS 7 46 10649600 800
79260599 rajaravan420ashu A May 7, 2020, 10:55 a.m. OK Go TESTS 7 61 10649600 800
79260172 rajaravan420ashu A May 7, 2020, 10:50 a.m. OK Go TESTS 7 62 10649600 800
79220684 yikuaiyu A May 7, 2020, 2:03 a.m. OK Go TESTS 7 62 10649600 800
79233948 Raj9400 A May 7, 2020, 5:43 a.m. OK Java 11 TESTS 7 171 23859200 800
79214821 tganonymous A May 6, 2020, 11:29 p.m. OK Java 11 TESTS 7 171 23859200 800
79199027 alecs6k A May 6, 2020, 4:25 p.m. OK Java 11 TESTS 7 171 23859200 800
79188536 irredeemablyalone A May 6, 2020, 3:45 p.m. OK Java 11 TESTS 7 171 23859200 800
79240972 harm007 A May 7, 2020, 7 a.m. OK Java 11 TESTS 7 171 23961600 800
79207387 Mann_27__ A May 6, 2020, 8:42 p.m. OK Java 11 TESTS 7 171 23961600 800
79181280 ClaudeHunt A May 6, 2020, 3:27 p.m. OK Java 11 TESTS 7 171 24064000 800
79405145 OBrutus A May 8, 2020, 6:12 p.m. OK Java 11 TESTS 7 186 23859200 800
79239050 an1rudh A May 7, 2020, 6:40 a.m. OK Java 11 TESTS 7 186 23859200 800
79215371 sajith A May 6, 2020, 11:44 p.m. OK Java 11 TESTS 7 186 23859200 800
79196021 Sadakant A May 6, 2020, 4:09 p.m. OK Java 8 TESTS 7 108 20377600 800
79256029 Ahmed.Hany2727 A May 7, 2020, 9:57 a.m. OK Java 8 TESTS 7 108 20480000 800
79179887 _EmbEr A May 6, 2020, 3:24 p.m. OK Java 8 TESTS 7 108 20480000 800
79252081 sergioRG A May 7, 2020, 9:08 a.m. OK Java 8 TESTS 7 108 20582400 800
79196202 tahasin A May 6, 2020, 4:10 p.m. OK Java 8 TESTS 7 108 20582400 800
79182642 aranjuda A May 6, 2020, 3:30 p.m. OK Java 8 TESTS 7 108 20582400 800
79356747 bluesky111 A May 8, 2020, 7:59 a.m. OK Java 8 TESTS 7 109 20377600 800
79179465 dimitrov_jhunjhun A May 6, 2020, 3:24 p.m. OK Java 8 TESTS 7 109 20377600 800
79296249 nandit A May 7, 2020, 2:46 p.m. OK Java 8 TESTS 7 109 20480000 800
79336604 bsiklosi A May 8, 2020, 1:42 a.m. OK Java 8 TESTS 7 109 20480000 800
79228277 NguyenHungCuong A May 7, 2020, 4:20 a.m. OK JavaScript TESTS 7 30 6041600 800
79255349 Luay A May 7, 2020, 9:48 a.m. OK JavaScript TESTS 7 31 6041600 800
79341540 nerro93 A May 8, 2020, 3:52 a.m. OK JavaScript TESTS 7 46 5939200 800
79340874 nerro93 A May 8, 2020, 3:36 a.m. OK JavaScript TESTS 7 46 5939200 800
79327187 DeadInsideOnTest993 A May 7, 2020, 9:01 p.m. OK Kotlin TESTS 7 124 20582400 800
79266239 iShivansh A May 7, 2020, noon OK Kotlin TESTS 7 139 21094400 800
79222303 Spheniscine A May 7, 2020, 2:41 a.m. OK Kotlin TESTS 7 140 21401600 800
79174014 skabhishekgz6 A May 6, 2020, 3:13 p.m. OK Kotlin TESTS 7 186 21299200 800
79178785 dkozak94 A May 6, 2020, 3:22 p.m. OK Kotlin TESTS 7 186 21811200 800
79175696 TrickyCat A May 6, 2020, 3:16 p.m. OK Mono C# TESTS 7 46 8396800 800
79347159 fr0st A May 8, 2020, 5:44 a.m. OK Mono C# TESTS 7 46 8499200 800
79233817 TRR A May 7, 2020, 5:41 a.m. OK Mono C# TESTS 7 46 8499200 800
79358664 peterc A May 8, 2020, 8:25 a.m. OK Mono C# TESTS 7 46 8499200 800
79234207 nghiapd A May 7, 2020, 5:46 a.m. OK Mono C# TESTS 7 61 8499200 800
79450496 enosha_slexsy A May 9, 2020, 9:49 a.m. OK Mono C# TESTS 7 61 12185600 800
79179510 uske1 A May 6, 2020, 3:24 p.m. OK Mono C# TESTS 7 61 12185600 800
79186014 thetansquared A May 6, 2020, 3:38 p.m. OK Mono C# TESTS 7 62 8499200 800
79201492 MoneySwap A May 6, 2020, 4:44 p.m. OK Mono C# TESTS 7 62 8499200 800
79422673 Mohamed_ELhabbab A May 9, 2020, 12:31 a.m. OK Mono C# TESTS 7 62 8704000 800
79265961 vjudge5 A May 7, 2020, 11:57 a.m. OK MS C++ TESTS 7 30 3891200 800
79337059 Autumns A May 8, 2020, 1:57 a.m. OK MS C++ TESTS 7 30 3891200 800
79208736 YTICpoch A May 6, 2020, 9:15 p.m. OK MS C++ TESTS 7 31 3891200 800
79184400 Egoryu A May 6, 2020, 3:34 p.m. OK MS C++ TESTS 7 31 3891200 800
79181198 laboba A May 6, 2020, 3:27 p.m. OK MS C++ TESTS 7 31 3891200 800
79262983 vjudge1 A May 7, 2020, 11:24 a.m. OK MS C++ TESTS 7 31 3891200 800
79195050 bqns0125 A May 6, 2020, 4:05 p.m. OK MS C++ TESTS 7 31 3891200 800
79267966 vjudge1 A May 7, 2020, 12:20 p.m. OK MS C++ TESTS 7 46 3891200 800
79269074 vjudge2 A May 7, 2020, 12:32 p.m. OK MS C++ TESTS 7 46 3891200 800
79306379 Imlevi A May 7, 2020, 4:09 p.m. OK MS C++ 2017 TESTS 7 15 3686400 800
79192707 womri1998 A May 6, 2020, 3:56 p.m. OK MS C++ 2017 TESTS 7 15 3686400 800
79428658 hwangganzi A May 9, 2020, 3:52 a.m. OK MS C++ 2017 TESTS 7 30 3686400 800
79397860 dariasaligina A May 8, 2020, 4:32 p.m. OK MS C++ 2017 TESTS 7 30 3686400 800
79194531 sskhynix A May 6, 2020, 4:03 p.m. OK MS C++ 2017 TESTS 7 30 3686400 800
79192403 To_Easy A May 6, 2020, 3:55 p.m. OK MS C++ 2017 TESTS 7 30 3686400 800
79191593 metal4people A May 6, 2020, 3:52 p.m. OK MS C++ 2017 TESTS 7 30 3686400 800
79185692 valyanarezka A May 6, 2020, 3:37 p.m. OK MS C++ 2017 TESTS 7 30 3686400 800
79180189 gslnkvntn A May 6, 2020, 3:25 p.m. OK MS C++ 2017 TESTS 7 30 3686400 800
79176075 richy6 A May 6, 2020, 3:16 p.m. OK MS C++ 2017 TESTS 7 30 3686400 800
79311676 andech A May 7, 2020, 5:11 p.m. OK Node.js TESTS 7 155 12185600 800
79196099 denisshytskiy A May 6, 2020, 4:09 p.m. OK Node.js TESTS 7 155 12492800 800
79245145 Utopsia A May 7, 2020, 7:46 a.m. OK Node.js TESTS 7 156 12390400 800
79255339 arpit2438735 A May 7, 2020, 9:48 a.m. OK Node.js TESTS 7 171 12595200 800
79308178 klond90 A May 7, 2020, 4:29 p.m. OK Node.js TESTS 7 187 14848000 800
79395433 vermayamini13 A May 8, 2020, 4:03 p.m. OK Node.js TESTS 7 202 14745600 800
79179101 rsFalse A May 6, 2020, 3:23 p.m. OK Perl TESTS 7 46 2355200 800
79215219 beethoven97 A May 6, 2020, 11:40 p.m. OK PyPy 2 TESTS 7 109 23347200 800
79209944 kit.shiron A May 6, 2020, 9:41 p.m. OK PyPy 2 TESTS 7 124 23552000 800
79365023 yumtam A May 8, 2020, 9:50 a.m. OK PyPy 2 TESTS 7 140 23552000 800
79234606 dunjen_master A May 7, 2020, 5:51 a.m. OK PyPy 2 TESTS 7 155 23654400 800
79186750 Devraj10 A May 6, 2020, 3:40 p.m. OK PyPy 2 TESTS 7 155 25190400 800
79197110 rkstalker A May 6, 2020, 4:14 p.m. OK PyPy 2 TESTS 7 171 23552000 800
79201579 _Alchemist A May 6, 2020, 4:44 p.m. OK PyPy 3 TESTS 7 139 22220800 800
79177961 suchet0825 A May 6, 2020, 3:20 p.m. OK PyPy 3 TESTS 7 140 22118400 800
79244264 TimurABS A May 7, 2020, 7:36 a.m. OK PyPy 3 TESTS 7 155 21606400 800
79194991 hav0k A May 6, 2020, 4:05 p.m. OK PyPy 3 TESTS 7 155 21708800 800
79225972 pedastrian57 A May 7, 2020, 3:43 a.m. OK PyPy 3 TESTS 7 155 21913600 800
79200903 aanya31 A May 6, 2020, 4:38 p.m. OK PyPy 3 TESTS 7 155 22220800 800
79418789 Chirrut_Imwe A May 8, 2020, 10:12 p.m. OK PyPy 3 TESTS 7 156 20172800 800
79193436 apoorvwatsky A May 6, 2020, 3:58 p.m. OK PyPy 3 TESTS 7 171 21401600 800
79266293 jaeworld A May 7, 2020, 12:01 p.m. OK PyPy 3 TESTS 7 171 21708800 800
79186653 kekcuk A May 6, 2020, 3:39 p.m. OK PyPy 3 TESTS 7 171 22425600 800
79176417 jooj A May 6, 2020, 3:17 p.m. OK Python 2 TESTS 7 171 6451200 800
79183582 _akshit_ A May 6, 2020, 3:32 p.m. OK Python 2 TESTS 7 186 6451200 800
79233783 SoSooding A May 7, 2020, 5:41 a.m. OK Python 2 TESTS 7 187 6451200 800
79173632 Niccolo19 A May 6, 2020, 3:12 p.m. OK Python 2 TESTS 7 233 6451200 800
79331991 YogeshT A May 7, 2020, 11:06 p.m. OK Python 3 TESTS 7 93 6656000 800
79260961 mrfoxygmfr A May 7, 2020, 11 a.m. OK Python 3 TESTS 7 93 6656000 800
79249051 amitbhosale1234567890 A May 7, 2020, 8:33 a.m. OK Python 3 TESTS 7 93 6656000 800
79242559 Sanchit1483 A May 7, 2020, 7:17 a.m. OK Python 3 TESTS 7 93 6656000 800
79241376 subhajitdas A May 7, 2020, 7:04 a.m. OK Python 3 TESTS 7 93 6656000 800
79188601 _kush_7 A May 6, 2020, 3:45 p.m. OK Python 3 TESTS 7 93 6656000 800
79187168 hyrohyro A May 6, 2020, 3:41 p.m. OK Python 3 TESTS 7 93 6656000 800
79181763 arnaldovitor A May 6, 2020, 3:28 p.m. OK Python 3 TESTS 7 93 6656000 800
79180756 tirtho2107 A May 6, 2020, 3:26 p.m. OK Python 3 TESTS 7 93 6656000 800
79180059 ankurcharan A May 6, 2020, 3:25 p.m. OK Python 3 TESTS 7 93 6656000 800
79315668 Besh A May 7, 2020, 6:05 p.m. OK Ruby TESTS 7 46 6451200 800
79271658 manta1130 A May 7, 2020, 1:04 p.m. OK Rust TESTS 7 30 3788800 800
79251312 thomaub A May 7, 2020, 8:59 a.m. OK Rust TESTS 7 31 3788800 800
79221819 Kaa A May 7, 2020, 2:30 a.m. OK Rust TESTS 7 46 3788800 800
79175650 Tix A May 6, 2020, 3:16 p.m. OK Scala TESTS 7 514 39219200 800

remove filters

Back to search problems