Codeforces Round 652 (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
1369 Codeforces Round 652 (Div. 2) FINISHED False 7200 144431711 June 23, 2020, 2:05 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 37041 ) A FashionabLee PROGRAMMING geometry math 800

B"Lee is going to fashionably decorate his house for a party, using some regular convex polygons... Lee thinks a regular n -sided (convex) polygon is beautiful if and only if he can rotate it in such a way that at least one of its edges is parallel to the OX -axis and at least one of its edges is parallel to the OY -axis at the same time. Recall that a regular n -sided polygon is a convex polygon with n vertices such that all the edges and angles are equal. Now he is shopping: the market has t regular polygons. For each of them print YES if it is beautiful and NO otherwise. The first line contains a single integer t ( 1 <= t <= 10^4 ) -- the number of polygons in the market. Each of the next t lines contains a single integer n_i ( 3 <= n_i <= 10^9 ): it means that the i -th polygon is a regular n_i -sided polygon. For each polygon, print YES if it's beautiful or NO otherwise (case insensitive). In the example, there are 4 polygons in the market. It's easy to see that an equilateral triangle (a regular 3 -sided polygon) is not beautiful, a square (a regular 4 -sided polygon) is beautiful and a regular 12 -sided polygon (is shown below) is beautiful as well. "...

Tutorials

Codeforces Round #652 (Div. 2) Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
84785266 madv809 A June 23, 2020, 2:49 p.m. OK FPC TESTS 4 62 3481600 800
84786038 maria.kotsur A June 23, 2020, 2:51 p.m. OK FPC TESTS 4 62 43724800 800
84786493 sumofwavenparticles A June 23, 2020, 2:51 p.m. OK GNU C11 TESTS 4 15 3686400 800
84795020 Joyita_ghosh A June 23, 2020, 3:08 p.m. OK GNU C11 TESTS 4 31 3686400 800
84856548 gs20036 A June 24, 2020, 5:46 a.m. OK GNU C11 TESTS 4 31 3686400 800
84850552 chowdhuryshashwoto A June 24, 2020, 3:56 a.m. OK GNU C11 TESTS 4 46 3686400 800
84849416 KCSB A June 24, 2020, 3:29 a.m. OK GNU C11 TESTS 4 46 3686400 800
84844469 luvcoding99 A June 24, 2020, 12:57 a.m. OK GNU C11 TESTS 4 46 3686400 800
84840072 michelmtk A June 23, 2020, 10 p.m. OK GNU C11 TESTS 4 46 3686400 800
84834109 Shadow1960 A June 23, 2020, 7:45 p.m. OK GNU C11 TESTS 4 46 3686400 800
84857082 Sanjida_99 A June 24, 2020, 5:55 a.m. OK GNU C11 TESTS 4 46 3686400 800
84851871 jahid_arif A June 24, 2020, 4:27 a.m. OK GNU C11 TESTS 4 46 3686400 800
84782848 wyzwyz A June 23, 2020, 2:45 p.m. OK GNU C++11 TESTS 4 15 3686400 800
84796900 seh631638554 A June 23, 2020, 3:12 p.m. OK GNU C++11 TESTS 4 15 3686400 800
84793279 rtjondrowiguno A June 23, 2020, 3:05 p.m. OK GNU C++11 TESTS 4 15 3686400 800
84840488 Basilhijaz A June 23, 2020, 10:13 p.m. OK GNU C++11 TESTS 4 15 3891200 800
84835421 RyanLi A June 23, 2020, 8:09 p.m. OK GNU C++11 TESTS 4 15 3891200 800
84855861 wingkwong A June 24, 2020, 5:36 a.m. OK GNU C++11 TESTS 4 15 3891200 800
84825928 pkc3766 A June 23, 2020, 5:48 p.m. OK GNU C++11 TESTS 4 15 3891200 800
84855708 Gariscat A June 24, 2020, 5:34 a.m. OK GNU C++11 TESTS 4 15 3891200 800
84848560 rahulkrt A June 24, 2020, 3:08 a.m. OK GNU C++11 TESTS 4 15 3891200 800
84824342 code_in_blood A June 23, 2020, 5:31 p.m. OK GNU C++11 TESTS 4 15 3891200 800
84837763 insayn A June 23, 2020, 8:57 p.m. OK GNU C++14 TESTS 4 15 3686400 800
84836526 kshitiz1 A June 23, 2020, 8:30 p.m. OK GNU C++14 TESTS 4 15 3686400 800
84832914 kal013 A June 23, 2020, 7:25 p.m. OK GNU C++14 TESTS 4 15 3686400 800
84829697 Kalptaru A June 23, 2020, 6:37 p.m. OK GNU C++14 TESTS 4 15 3686400 800
84828696 atulrathore A June 23, 2020, 6:23 p.m. OK GNU C++14 TESTS 4 15 3686400 800
84828259 rainamiddha451 A June 23, 2020, 6:18 p.m. OK GNU C++14 TESTS 4 15 3686400 800
84828150 AnkitCode99 A June 23, 2020, 6:16 p.m. OK GNU C++14 TESTS 4 15 3686400 800
84852565 himanshu7524 A June 24, 2020, 4:41 a.m. OK GNU C++14 TESTS 4 15 3686400 800
84852330 goyalpratik807 A June 24, 2020, 4:36 a.m. OK GNU C++14 TESTS 4 15 3686400 800
84848300 vEvergarden A June 24, 2020, 3:01 a.m. OK GNU C++14 TESTS 4 15 3686400 800
84855750 Lo_vinix A June 24, 2020, 5:35 a.m. OK GNU C++17 TESTS 4 15 3686400 800
84843338 dan__sml A June 24, 2020, 12:14 a.m. OK GNU C++17 TESTS 4 15 3686400 800
84845520 mystery__coder A June 24, 2020, 1:40 a.m. OK GNU C++17 TESTS 4 15 3686400 800
84847801 pavanbsp A June 24, 2020, 2:48 a.m. OK GNU C++17 TESTS 4 15 3686400 800
84850722 aniketruby A June 24, 2020, 4:01 a.m. OK GNU C++17 TESTS 4 15 3686400 800
84852615 sajibroy A June 24, 2020, 4:42 a.m. OK GNU C++17 TESTS 4 15 3686400 800
84854040 jacker0031 A June 24, 2020, 5:07 a.m. OK GNU C++17 TESTS 4 15 3686400 800
84843187 srh... A June 24, 2020, 12:10 a.m. OK GNU C++17 TESTS 4 15 3686400 800
84839073 abhijeet3099 A June 23, 2020, 9:30 p.m. OK GNU C++17 TESTS 4 15 3686400 800
84838233 iyas.a.s A June 23, 2020, 9:07 p.m. OK GNU C++17 TESTS 4 15 3686400 800
84852003 AMO5 A June 24, 2020, 4:29 a.m. OK GNU C++17 (64) TESTS 4 15 4300800 800
84851123 yamcha A June 24, 2020, 4:10 a.m. OK GNU C++17 (64) TESTS 4 15 4300800 800
84845855 zwliew A June 24, 2020, 1:53 a.m. OK GNU C++17 (64) TESTS 4 15 4300800 800
84820674 Sanchit1483 A June 23, 2020, 4:54 p.m. OK GNU C++17 (64) TESTS 4 15 4300800 800
84818071 kvutxdy A June 23, 2020, 4:38 p.m. OK GNU C++17 (64) TESTS 4 15 4300800 800
84787429 Radewoosh A June 23, 2020, 2:53 p.m. OK GNU C++17 (64) TESTS 4 15 4300800 800
84824247 Vuset_Orucov A June 23, 2020, 5:30 p.m. OK GNU C++17 (64) TESTS 4 15 4505600 800
84829773 BeAsTmAsTeR A June 23, 2020, 6:37 p.m. OK GNU C++17 (64) TESTS 4 15 4505600 800
84854886 jainbot27 A June 24, 2020, 5:21 a.m. OK GNU C++17 (64) TESTS 4 15 4505600 800
84855425 nicknamee12 A June 24, 2020, 5:30 a.m. OK GNU C++17 (64) TESTS 4 15 4505600 800
84829783 Howlla A June 23, 2020, 6:37 p.m. OK Go TESTS 4 31 12697600 800
84834255 Black_Fregat A June 23, 2020, 7:47 p.m. OK Haskell TESTS 4 31 11571200 800
84782086 Nihalamos A June 23, 2020, 2:43 p.m. OK Haskell TESTS 4 31 11571200 800
84856589 In_The_Name_Of_Love A June 24, 2020, 5:47 a.m. OK Java 11 TESTS 4 155 23756800 800
84835944 shaileshpatel5083 A June 23, 2020, 8:20 p.m. OK Java 11 TESTS 4 156 24166400 800
84833138 amit_chas A June 23, 2020, 7:29 p.m. OK Java 11 TESTS 4 170 23756800 800
84850975 nz_nAJn A June 24, 2020, 4:07 a.m. OK Java 11 TESTS 4 171 23756800 800
84836868 nick_301 A June 23, 2020, 8:37 p.m. OK Java 11 TESTS 4 171 23756800 800
84830489 pumpkin_dumplin A June 23, 2020, 6:48 p.m. OK Java 11 TESTS 4 171 23756800 800
84808636 gargvibhor2012 A June 23, 2020, 3:42 p.m. OK Java 11 TESTS 4 171 23756800 800
84787476 BNL A June 23, 2020, 2:53 p.m. OK Java 11 TESTS 4 171 23756800 800
84840469 jaynils A June 23, 2020, 10:13 p.m. OK Java 11 TESTS 4 171 23859200 800
84822642 codac21 A June 23, 2020, 5:12 p.m. OK Java 11 TESTS 4 171 23859200 800
84819487 mananparmar7042 A June 23, 2020, 4:45 p.m. OK Java 8 TESTS 4 78 20787200 800
84837915 shivamnarware A June 23, 2020, 9 p.m. OK Java 8 TESTS 4 92 20480000 800
84821013 Manan8686 A June 23, 2020, 4:56 p.m. OK Java 8 TESTS 4 93 20377600 800
84797080 sudhanshu_lucky A June 23, 2020, 3:13 p.m. OK Java 8 TESTS 4 93 20480000 800
84818371 kostasanemozalis A June 23, 2020, 4:39 p.m. OK Java 8 TESTS 4 93 20480000 800
84822215 AnandOza A June 23, 2020, 5:07 p.m. OK Java 8 TESTS 4 93 20480000 800
84831313 Naman_123 A June 23, 2020, 7 p.m. OK Java 8 TESTS 4 93 20787200 800
84778754 iceburst A June 23, 2020, 2:38 p.m. OK Java 8 TESTS 4 93 21094400 800
84826053 jay_vish A June 23, 2020, 5:50 p.m. OK Java 8 TESTS 4 108 20377600 800
84856811 himmi_221 A June 24, 2020, 5:51 a.m. OK Java 8 TESTS 4 108 20480000 800
84826455 Loremon A June 23, 2020, 5:55 p.m. OK JavaScript TESTS 4 46 6041600 800
84825414 notAProgrammer_NAP A June 23, 2020, 5:42 p.m. OK JavaScript TESTS 4 62 5939200 800
84853085 Spheniscine A June 24, 2020, 4:52 a.m. OK Kotlin TESTS 4 108 20582400 800
84852078 BugLeave A June 24, 2020, 4:31 a.m. OK Kotlin TESTS 4 124 21708800 800
84842666 a11eca A June 23, 2020, 11:50 p.m. OK Kotlin TESTS 4 140 21196800 800
84851559 BugLeave A June 24, 2020, 4:21 a.m. OK Kotlin TESTS 4 186 20684800 800
84796039 agent-10 A June 23, 2020, 3:11 p.m. OK Kotlin TESTS 4 202 20684800 800
84851762 Izeytee A June 24, 2020, 4:25 a.m. OK Kotlin TESTS 4 202 20684800 800
84796605 etctaro A June 23, 2020, 3:12 p.m. OK Kotlin TESTS 4 202 20684800 800
84810956 PussyKiller A June 23, 2020, 3:49 p.m. OK Kotlin TESTS 4 233 21299200 800
84791820 wbars A June 23, 2020, 3:02 p.m. OK Kotlin TESTS 4 234 21299200 800
84818934 avtoruxadze A June 23, 2020, 4:41 p.m. OK Mono C# TESTS 4 77 9113600 800
84786669 braher A June 23, 2020, 2:52 p.m. OK Mono C# TESTS 4 93 9113600 800
84797370 BolotovNGTU A June 23, 2020, 3:14 p.m. OK MS C++ TESTS 4 31 3891200 800
84780956 StepanClub A June 23, 2020, 2:42 p.m. OK MS C++ TESTS 4 46 3891200 800
84788385 sharma0007.2015 A June 23, 2020, 2:55 p.m. OK MS C++ TESTS 4 62 3891200 800
84785124 himanshu307 A June 23, 2020, 2:49 p.m. OK MS C++ TESTS 4 62 3891200 800
84785074 aminur_islam A June 23, 2020, 2:49 p.m. OK MS C++ 2017 TESTS 4 30 3993600 800
84841069 Nikita1606 A June 23, 2020, 10:35 p.m. OK MS C++ 2017 TESTS 4 31 3686400 800
84829090 sharif015 A June 23, 2020, 6:29 p.m. OK MS C++ 2017 TESTS 4 31 3686400 800
84790500 wodka A June 23, 2020, 2:59 p.m. OK MS C++ 2017 TESTS 4 31 3686400 800
84849041 michelle0 A June 24, 2020, 3:20 a.m. OK MS C++ 2017 TESTS 4 31 3686400 800
84850051 GeraldG A June 24, 2020, 3:45 a.m. OK MS C++ 2017 TESTS 4 31 3686400 800
84787460 otarra A June 23, 2020, 2:53 p.m. OK MS C++ 2017 TESTS 4 31 3686400 800
84820605 ishitav A June 23, 2020, 4:53 p.m. OK MS C++ 2017 TESTS 4 31 3788800 800
84850421 deuslovelt A June 24, 2020, 3:53 a.m. OK MS C++ 2017 TESTS 4 46 3686400 800
84848890 Thebestofthebest A June 24, 2020, 3:16 a.m. OK MS C++ 2017 TESTS 4 46 3686400 800
84784113 klond90 A June 23, 2020, 2:47 p.m. OK Node.js TESTS 4 218 19865600 800
84791702 arpitbhalla A June 23, 2020, 3:01 p.m. OK PHP TESTS 4 327 6041600 800
84781692 realnimish A June 23, 2020, 2:43 p.m. OK PyPy 2 TESTS 4 140 24780800 800
84800838 lebron87 A June 23, 2020, 3:22 p.m. OK PyPy 2 TESTS 4 295 24985600 800
84840471 jscn A June 23, 2020, 10:13 p.m. OK PyPy 3 TESTS 4 140 23142400 800
84836855 emma A June 23, 2020, 8:37 p.m. OK PyPy 3 TESTS 4 155 31948800 800
84777979 FeverDreme A June 23, 2020, 2:37 p.m. OK PyPy 3 TESTS 4 156 24780800 800
84819712 anilsaxena A June 23, 2020, 4:46 p.m. OK PyPy 3 TESTS 4 170 24473600 800
84823830 ng24_7 A June 23, 2020, 5:25 p.m. OK PyPy 3 TESTS 4 171 23961600 800
84786467 maheshraju2020 A June 23, 2020, 2:51 p.m. OK PyPy 3 TESTS 4 171 24268800 800
84854955 _tool_ A June 24, 2020, 5:22 a.m. OK PyPy 3 TESTS 4 171 24473600 800
84839323 dcordb A June 23, 2020, 9:37 p.m. OK PyPy 3 TESTS 4 171 24473600 800
84825937 Dewangee A June 23, 2020, 5:48 p.m. OK PyPy 3 TESTS 4 171 24473600 800
84798526 verngutz A June 23, 2020, 3:16 p.m. OK PyPy 3 TESTS 4 171 24473600 800
84820091 obluda A June 23, 2020, 4:49 p.m. OK Python 2 TESTS 4 171 6451200 800
84786487 ShadhinAshraf A June 23, 2020, 2:51 p.m. OK Python 2 TESTS 4 186 6553600 800
84844110 vjudge3 A June 24, 2020, 12:43 a.m. OK Python 2 TESTS 4 202 6860800 800
84842523 sirjan13 A June 23, 2020, 11:43 p.m. OK Python 2 TESTS 4 265 6860800 800
84790654 lMeta_Coderl A June 23, 2020, 2:59 p.m. OK Python 3 TESTS 4 108 6963200 800
84818276 Jonyi A June 23, 2020, 4:38 p.m. OK Python 3 TESTS 4 108 7065600 800
84843782 MM.Sakib A June 24, 2020, 12:30 a.m. OK Python 3 TESTS 4 109 6963200 800
84835451 avishekarora A June 23, 2020, 8:10 p.m. OK Python 3 TESTS 4 109 7065600 800
84788917 subhajitdas A June 23, 2020, 2:56 p.m. OK Python 3 TESTS 4 109 7270400 800
84800142 Essam_Khairy A June 23, 2020, 3:20 p.m. OK Python 3 TESTS 4 124 6963200 800
84799239 pro.essam A June 23, 2020, 3:18 p.m. OK Python 3 TESTS 4 124 6963200 800
84813742 ganta777 A June 23, 2020, 3:57 p.m. OK Python 3 TESTS 4 124 7065600 800
84808835 alex_step A June 23, 2020, 3:43 p.m. OK Python 3 TESTS 4 124 7065600 800
84787251 mastermind.hk16 A June 23, 2020, 2:53 p.m. OK Python 3 TESTS 4 124 7065600 800
84819086 masa0216masa0216masa0216 A June 23, 2020, 4:42 p.m. OK Ruby TESTS 4 93 6348800 800

remove filters

Back to search problems