Codeforces Global Round 14

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
1515 Codeforces Global Round 14 FINISHED False 10800 111857099 May 2, 2021, 2:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 25090 ) B Phoenix and Puzzle PROGRAMMING geometry math

B"Phoenix is playing with a new puzzle, which consists of n identical puzzle pieces. Each puzzle piece is a right isosceles triangle as shown below. The goal of the puzzle is to create a square using the n pieces. He is allowed to rotate and move the pieces around, but none of them can overlap and all n pieces must be used (of course, the square shouldn't contain any holes as well). Can he do it? The input consists of multiple test cases. The first line contains an integer t ( 1 <= t <= 10^4 ) -- the number of test cases. The first line of each test case contains an integer n ( 1 <= n <= 10^9 ) -- the number of puzzle pieces. For each test case, if Phoenix can create a square with the n puzzle pieces, print YES. Otherwise, print NO. For n=2 , Phoenix can create a square like this: For n=4 , Phoenix can create a square like this: For n=6 , it is impossible for Phoenix to create a square. "...

Tutorials

Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
114951327 anbinh B May 2, 2021, 5:08 p.m. OK FPC TESTS 18 62 0
114951843 arieswhite B May 2, 2021, 5:10 p.m. OK FPC TESTS 18 62 0
114985569 sujan_kumar B May 3, 2021, 3:55 a.m. OK GNU C11 TESTS 21 61 0
114994252 Ricky6200 B May 3, 2021, 5:39 a.m. OK GNU C11 TESTS 21 61 0
114987653 noobdecoder B May 3, 2021, 4:24 a.m. OK GNU C11 TESTS 21 62 0
114979469 mohan7575 B May 3, 2021, 2:01 a.m. OK GNU C11 TESTS 21 62 0
114980079 Myth_Legend B May 3, 2021, 2:15 a.m. OK GNU C++11 TESTS 21 15 0
114979062 rui_er B May 3, 2021, 1:52 a.m. OK GNU C++11 TESTS 21 15 0
114977887 czyer B May 3, 2021, 1:20 a.m. OK GNU C++11 TESTS 20 15 0
114977885 SrO B May 3, 2021, 1:20 a.m. OK GNU C++11 TESTS 20 15 0
114977131 pigstd B May 3, 2021, 12:58 a.m. OK GNU C++11 TESTS 20 15 0
114984306 quickers B May 3, 2021, 3:37 a.m. OK GNU C++11 TESTS 21 15 0
114983078 XueYJ B May 3, 2021, 3:17 a.m. OK GNU C++11 TESTS 21 15 0
114982378 HomuraCN B May 3, 2021, 3:04 a.m. OK GNU C++11 TESTS 21 15 0
114980533 zczc-Ethan B May 3, 2021, 2:25 a.m. OK GNU C++11 TESTS 21 15 0
114989067 xiaoziyao B May 3, 2021, 4:43 a.m. OK GNU C++11 TESTS 21 15 0
114978945 shubham_9586 B May 3, 2021, 1:49 a.m. OK GNU C++14 TESTS 21 15 0
114976586 AynVul B May 3, 2021, 12:40 a.m. OK GNU C++14 TESTS 20 15 0
114976534 x_walker_x B May 3, 2021, 12:38 a.m. OK GNU C++14 TESTS 20 15 0
114972475 12022001Arpit B May 2, 2021, 10:18 p.m. OK GNU C++14 TESTS 20 15 0
114970619 nishantk5 B May 2, 2021, 9:25 p.m. OK GNU C++14 TESTS 20 15 0
114965462 Ibrahim-Elsayed B May 2, 2021, 7:42 p.m. OK GNU C++14 TESTS 20 15 0
114965273 Hitman571 B May 2, 2021, 7:38 p.m. OK GNU C++14 TESTS 20 15 0
114978183 pushkar.vns16 B May 3, 2021, 1:29 a.m. OK GNU C++14 TESTS 20 15 0
114987886 SamSaver B May 3, 2021, 4:27 a.m. OK GNU C++14 TESTS 21 15 0
114984129 paradox01 B May 3, 2021, 3:34 a.m. OK GNU C++14 TESTS 21 15 33689600
114977288 Numen B May 3, 2021, 1:03 a.m. OK GNU C++17 TESTS 20 15 0
114992462 Tasfiq_Mahmud B May 3, 2021, 5:21 a.m. OK GNU C++17 TESTS 21 15 0
114989054 ArianKheirandish B May 3, 2021, 4:43 a.m. OK GNU C++17 TESTS 21 15 0
114987021 Deep_20 B May 3, 2021, 4:16 a.m. OK GNU C++17 TESTS 21 15 0
114986964 _.MANDLIK._ B May 3, 2021, 4:15 a.m. OK GNU C++17 TESTS 21 15 0
114985274 DespicableMonkey B May 3, 2021, 3:51 a.m. OK GNU C++17 TESTS 21 15 0
114979497 Belalmoawad B May 3, 2021, 2:02 a.m. OK GNU C++17 TESTS 21 15 0
114973769 mohammadomar B May 2, 2021, 10:56 p.m. OK GNU C++17 TESTS 20 15 0
114967681 PiyushHere B May 2, 2021, 8:21 p.m. OK GNU C++17 TESTS 20 15 0
114967603 Rudro25 B May 2, 2021, 8:19 p.m. OK GNU C++17 TESTS 20 15 0
114977404 Apelpul B May 3, 2021, 1:06 a.m. OK GNU C++17 (64) TESTS 20 15 0
114969138 markzhou B May 2, 2021, 8:48 p.m. OK GNU C++17 (64) TESTS 20 15 0
114965032 Mostafa_Moharram B May 2, 2021, 7:35 p.m. OK GNU C++17 (64) TESTS 20 15 0
114963557 JhabarBhati B May 2, 2021, 7:15 p.m. OK GNU C++17 (64) TESTS 20 15 0
114962772 BrownieTK B May 2, 2021, 7:06 p.m. OK GNU C++17 (64) TESTS 20 15 0
114962373 Ashiqi_Shafi B May 2, 2021, 7:02 p.m. OK GNU C++17 (64) TESTS 19 15 0
114960730 lucid_dreamer B May 2, 2021, 6:49 p.m. OK GNU C++17 (64) TESTS 18 15 0
114960325 notFastButFurious B May 2, 2021, 6:47 p.m. OK GNU C++17 (64) TESTS 18 15 0
114980878 Ayu0809 B May 3, 2021, 2:33 a.m. OK GNU C++17 (64) TESTS 21 15 0
114987007 Kuroru_Lucifuru B May 3, 2021, 4:16 a.m. OK GNU C++17 (64) TESTS 21 15 0
114979754 wooljs B May 3, 2021, 2:08 a.m. OK Go TESTS 21 31 102400
114960782 tihoson B May 2, 2021, 6:50 p.m. OK Haskell TESTS 18 62 102400
114980406 coder0687 B May 3, 2021, 2:22 a.m. OK Java 11 TESTS 21 171 0
114969028 Apfeloxid B May 2, 2021, 8:46 p.m. OK Java 11 TESTS 20 186 0
114990589 Sachin_2961 B May 3, 2021, 5:02 a.m. OK Java 11 TESTS 21 186 0
114974353 BogoSortIsBest B May 2, 2021, 11:17 p.m. OK Java 11 TESTS 20 186 0
114992452 Lelouch_1 B May 3, 2021, 5:21 a.m. OK Java 11 TESTS 21 187 0
114978126 sumitchavan B May 3, 2021, 1:27 a.m. OK Java 11 TESTS 20 187 0
114992984 reennn B May 3, 2021, 5:26 a.m. OK Java 11 TESTS 21 187 0
114977566 DavinderSinghKharoud B May 3, 2021, 1:11 a.m. OK Java 11 TESTS 20 187 0
114992268 Lelouch_1 B May 3, 2021, 5:19 a.m. OK Java 11 TESTS 21 187 0
114987598 tushar_patil B May 3, 2021, 4:24 a.m. OK Java 11 TESTS 21 187 0
114965357 RonWonWon B May 2, 2021, 7:40 p.m. OK Java 8 TESTS 20 109 0
114960663 VishuTomar B May 2, 2021, 6:49 p.m. OK Java 8 TESTS 18 124 0
114952292 goyalronak3 B May 2, 2021, 5:12 p.m. OK Java 8 TESTS 18 124 0
114996730 Aman_dixit B May 3, 2021, 6:02 a.m. OK Java 8 TESTS 21 124 0
114989861 aryan_rn B May 3, 2021, 4:53 a.m. OK Java 8 TESTS 21 124 0
114966349 mareshkau B May 2, 2021, 7:58 p.m. OK Java 8 TESTS 20 124 0
114966307 NerfThis B May 2, 2021, 7:57 p.m. OK Java 8 TESTS 20 124 0
114966254 deepaksach B May 2, 2021, 7:56 p.m. OK Java 8 TESTS 20 124 0
114960727 gssakash B May 2, 2021, 6:49 p.m. OK Java 8 TESTS 18 124 0
114966655 NerfThis B May 2, 2021, 8:03 p.m. OK Java 8 TESTS 20 139 0
114978034 Spheniscine B May 3, 2021, 1:24 a.m. OK Kotlin TESTS 20 124 0
114990878 TRR B May 3, 2021, 5:05 a.m. OK Mono C# TESTS 21 77 614400
114996985 Vapour_snekk B May 3, 2021, 6:05 a.m. OK MS C++ 2017 TESTS 21 30 307200
114950938 08Abhi16 B May 2, 2021, 5:06 p.m. OK MS C++ 2017 TESTS 18 46 307200
114979379 spadking B May 3, 2021, 1:59 a.m. OK MS C++ 2017 TESTS 21 46 307200
114978309 sunxuejiaodeduixiang B May 3, 2021, 1:33 a.m. OK MS C++ 2017 TESTS 21 46 307200
114965047 aleksikangas B May 2, 2021, 7:35 p.m. OK MS C++ 2017 TESTS 20 46 307200
114955014 zkxshg B May 2, 2021, 5:24 p.m. OK MS C++ 2017 TESTS 18 61 0
114966367 grey B May 2, 2021, 7:58 p.m. OK MS C++ 2017 TESTS 20 62 0
114951698 Mahi_139 B May 2, 2021, 5:09 p.m. OK MS C++ 2017 TESTS 18 62 0
114992501 Archie98 B May 3, 2021, 5:22 a.m. OK MS C++ 2017 TESTS 21 62 307200
114981411 Fy9091 B May 3, 2021, 2:45 a.m. OK MS C++ 2017 TESTS 21 62 307200
114953983 TheDesireToBelieve B May 2, 2021, 5:19 p.m. OK .NET Core C# TESTS 18 109 307200
114963595 Rafiqul_islam_robin B May 2, 2021, 7:15 p.m. OK .NET Core C# TESTS 20 109 307200
114966934 light_yagami52 B May 2, 2021, 8:08 p.m. OK PyPy 2 TESTS 20 218 1843200
114969560 _aadiupadhyay_ B May 2, 2021, 8:57 p.m. OK PyPy 3 TESTS 20 124 4096000
114972869 Leggasick B May 2, 2021, 10:30 p.m. OK PyPy 3 TESTS 20 124 5017600
114978736 lucifer1004 B May 3, 2021, 1:44 a.m. OK PyPy 3 TESTS 21 139 5120000
114970496 chandra17shreeji B May 2, 2021, 9:22 p.m. OK PyPy 3 TESTS 20 140 6144000
114954589 reddevil100 B May 2, 2021, 5:22 p.m. OK PyPy 3 TESTS 18 155 4300800
114966737 light_yagami52 B May 2, 2021, 8:04 p.m. OK PyPy 3 TESTS 20 155 4505600
114990276 Half_coder B May 3, 2021, 4:58 a.m. OK PyPy 3 TESTS 21 155 4915200
114979525 amrit231999 B May 3, 2021, 2:02 a.m. OK PyPy 3 TESTS 21 155 5222400
114960883 Munchy_1 B May 2, 2021, 6:51 p.m. OK PyPy 3 TESTS 18 155 5324800
114954409 Leggasick B May 2, 2021, 5:21 p.m. OK PyPy 3 TESTS 18 155 7270400
114966813 light_yagami52 B May 2, 2021, 8:06 p.m. OK Python 2 TESTS 20 93 204800
114968063 eugalt B May 2, 2021, 8:27 p.m. OK Python 3 TESTS 20 92 614400
114991375 Alirezanow B May 3, 2021, 5:10 a.m. OK Python 3 TESTS 21 93 307200
114986396 zephy B May 3, 2021, 4:07 a.m. OK Python 3 TESTS 21 93 307200
114980020 eugalt B May 3, 2021, 2:13 a.m. OK Python 3 TESTS 21 93 512000
114952369 AtharvanDogra B May 2, 2021, 5:12 p.m. OK Python 3 TESTS 18 108 102400
114968678 zapdospops B May 2, 2021, 8:38 p.m. OK Python 3 TESTS 20 108 307200
114966762 light_yagami52 B May 2, 2021, 8:05 p.m. OK Python 3 TESTS 20 109 204800
114969388 iska_terminator B May 2, 2021, 8:53 p.m. OK Python 3 TESTS 20 124 0
114987131 Ether_6 B May 3, 2021, 4:17 a.m. OK Python 3 TESTS 21 139 0
114986502 USharma B May 3, 2021, 4:09 a.m. OK Python 3 TESTS 21 139 0
114955768 cottoncotton B May 2, 2021, 5:26 p.m. OK Rust TESTS 18 46 3788800
114970489 Kaa B May 2, 2021, 9:21 p.m. OK Rust TESTS 20 93 0

remove filters

Back to search problems