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 |
---|---|---|---|---|---|---|
1622 | Educational Codeforces Round 120 (Rated for Div. 2) | FINISHED | False | 7200 | 96650663 | Dec. 27, 2021, 2:35 p.m. |
Solved$ |
Index |
Name |
Type |
Tags |
Community Tag |
Rating |
---|---|---|---|---|---|---|
( 30554 ) | A | Construct a Rectangle | PROGRAMMING | math |
B'There are three sticks with integer lengths l_1, l_2 and l_3 . You are asked to break exactly one of them into two pieces in such a way that: A square is also considered a rectangle. Determine if it 's possible to do that. The first line contains a single integer t ( 1 <= t <= 10^4 ) -- the number of testcases. The only line of each testcase contains three integers l_1, l_2, l_3 ( 1 <= l_i <= 10^8 ) -- the lengths of the sticks. For each testcase, print "YES" if it 's possible to break one of the sticks into two pieces with positive integer length in such a way that it 's possible to construct a rectangle from the resulting four sticks. Otherwise, print "NO". You may print every letter in any case you want (so, for example, the strings yEs, yes, Yes and YES are all recognized as a positive answer). In the first testcase, the first stick can be broken into parts of length 1 and 5 . We can construct a rectangle with opposite sides of length 1 and 5 . In the second testcase, breaking the stick of length 2 can only result in sticks of lengths 1, 1, 2, 5 , which can 't be made into a rectangle. Breaking the stick of length 5 can produce results 2, 3 or 1, 4 but neither of them can 't be put into a rectangle. In the third testcase, the second stick can be broken into parts of length 2 and 2 . The resulting rectangle has opposite sides 2 and 2 (which is a square). In the fourth testcase, the third stick can be broken into parts of length 2 and 2 . The resulting rectangle has opposite sides 2 and 5 . '... |
Educational Codeforces Round 120 Editorial |
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
---|---|---|---|---|---|---|---|---|---|---|---|
140856854 | Asliddin | A | Dec. 28, 2021, 4:53 a.m. | OK | Clang++17 Diagnostics | TESTS | 2 | 155 | 0 | ||
140828723 | bkifhr7 | A | Dec. 27, 2021, 5:31 p.m. | OK | Clang++17 Diagnostics | TESTS | 2 | 171 | 0 | ||
140827731 | Renukaradhya | A | Dec. 27, 2021, 5:21 p.m. | OK | GNU C11 | TESTS | 2 | 15 | 0 | ||
140855476 | felix71 | A | Dec. 28, 2021, 4:27 a.m. | OK | GNU C11 | TESTS | 2 | 31 | 0 | ||
140832019 | parthu | A | Dec. 27, 2021, 6:09 p.m. | OK | GNU C11 | TESTS | 2 | 31 | 0 | ||
140815662 | supanta.baban.das.1997 | A | Dec. 27, 2021, 4:25 p.m. | OK | GNU C11 | TESTS | 2 | 31 | 0 | ||
140828569 | MUMINUR_RASHID | A | Dec. 27, 2021, 5:29 p.m. | OK | GNU C11 | TESTS | 2 | 31 | 0 | ||
140822643 | rainboy | A | Dec. 27, 2021, 4:43 p.m. | OK | GNU C11 | TESTS | 2 | 46 | 0 | ||
140819560 | srijankarak_123 | A | Dec. 27, 2021, 4:33 p.m. | OK | GNU C11 | TESTS | 2 | 46 | 0 | ||
140851788 | SP2003 | A | Dec. 28, 2021, 3:03 a.m. | OK | GNU C11 | TESTS | 2 | 46 | 0 | ||
140820137 | Shojib_01 | A | Dec. 27, 2021, 4:33 p.m. | OK | GNU C11 | TESTS | 2 | 46 | 0 | ||
140847100 | Sarna_Das | A | Dec. 28, 2021, 12:08 a.m. | OK | GNU C11 | TESTS | 2 | 46 | 0 | ||
140841287 | niteshkumart.cs19 | A | Dec. 27, 2021, 8:36 p.m. | OK | GNU C++14 | TESTS | 2 | 0 | 0 | ||
140837190 | abhishekdhar | A | Dec. 27, 2021, 7:19 p.m. | OK | GNU C++14 | TESTS | 2 | 0 | 0 | ||
140834129 | LuchXDD | A | Dec. 27, 2021, 6:35 p.m. | OK | GNU C++14 | TESTS | 2 | 0 | 0 | ||
140834002 | ilya.kligunov | A | Dec. 27, 2021, 6:34 p.m. | OK | GNU C++14 | TESTS | 2 | 0 | 0 | ||
140861588 | lyzqs | A | Dec. 28, 2021, 6:02 a.m. | OK | GNU C++14 | TESTS | 2 | 0 | 0 | ||
140857462 | abhishekasc3 | A | Dec. 28, 2021, 5:03 a.m. | OK | GNU C++14 | TESTS | 2 | 0 | 0 | ||
140853725 | TieuKK | A | Dec. 28, 2021, 3:49 a.m. | OK | GNU C++14 | TESTS | 2 | 0 | 0 | ||
140849963 | hieu_2004 | A | Dec. 28, 2021, 2:11 a.m. | OK | GNU C++14 | TESTS | 2 | 0 | 0 | ||
140849954 | Bender2 | A | Dec. 28, 2021, 2:11 a.m. | OK | GNU C++14 | TESTS | 2 | 0 | 0 | ||
140848387 | theksg | A | Dec. 28, 2021, 1:11 a.m. | OK | GNU C++14 | TESTS | 2 | 0 | 0 | ||
140852273 | __riya_sharma__ | A | Dec. 28, 2021, 3:15 a.m. | OK | GNU C++17 | TESTS | 2 | 0 | 0 | ||
140859752 | BlackBook9406 | A | Dec. 28, 2021, 5:38 a.m. | OK | GNU C++17 | TESTS | 2 | 0 | 0 | ||
140860593 | DaLeR_21 | A | Dec. 28, 2021, 5:49 a.m. | OK | GNU C++17 | TESTS | 2 | 0 | 0 | ||
140860827 | srijan01 | A | Dec. 28, 2021, 5:52 a.m. | OK | GNU C++17 | TESTS | 2 | 0 | 0 | ||
140859360 | irfan_ | A | Dec. 28, 2021, 5:32 a.m. | OK | GNU C++17 | TESTS | 2 | 0 | 0 | ||
140857137 | mubin_akib | A | Dec. 28, 2021, 4:58 a.m. | OK | GNU C++17 | TESTS | 2 | 0 | 0 | ||
140856777 | Arpitkr | A | Dec. 28, 2021, 4:51 a.m. | OK | GNU C++17 | TESTS | 2 | 0 | 0 | ||
140856520 | come_at_me | A | Dec. 28, 2021, 4:46 a.m. | OK | GNU C++17 | TESTS | 2 | 0 | 0 | ||
140855756 | hrushi6161 | A | Dec. 28, 2021, 4:33 a.m. | OK | GNU C++17 | TESTS | 2 | 0 | 0 | ||
140853692 | thejalex1 | A | Dec. 28, 2021, 3:48 a.m. | OK | GNU C++17 | TESTS | 2 | 0 | 0 | ||
140857131 | moursalinme | A | Dec. 28, 2021, 4:58 a.m. | OK | GNU C++17 (64) | TESTS | 2 | 0 | 0 | ||
140859983 | ashu414 | A | Dec. 28, 2021, 5:41 a.m. | OK | GNU C++17 (64) | TESTS | 2 | 0 | 0 | ||
140853774 | Kaichengxdd | A | Dec. 28, 2021, 3:50 a.m. | OK | GNU C++17 (64) | TESTS | 2 | 0 | 0 | ||
140852553 | p4lacios | A | Dec. 28, 2021, 3:22 a.m. | OK | GNU C++17 (64) | TESTS | 2 | 0 | 0 | ||
140850229 | bayashi_cl | A | Dec. 28, 2021, 2:20 a.m. | OK | GNU C++17 (64) | TESTS | 2 | 0 | 0 | ||
140849980 | ashwAni234 | A | Dec. 28, 2021, 2:12 a.m. | OK | GNU C++17 (64) | TESTS | 2 | 0 | 0 | ||
140849158 | tsukiko_tsutsukakushi | A | Dec. 28, 2021, 1:44 a.m. | OK | GNU C++17 (64) | TESTS | 2 | 0 | 0 | ||
140847572 | Siesta. | A | Dec. 28, 2021, 12:35 a.m. | OK | GNU C++17 (64) | TESTS | 2 | 0 | 0 | ||
140844271 | xanaxrehabclub | A | Dec. 27, 2021, 9:58 p.m. | OK | GNU C++17 (64) | TESTS | 2 | 0 | 0 | ||
140840344 | Mohammad_Ayman | A | Dec. 27, 2021, 8:15 p.m. | OK | GNU C++17 (64) | TESTS | 2 | 0 | 0 | ||
140851476 | moday_morning | A | Dec. 28, 2021, 2:54 a.m. | OK | GNU C++20 (64) | TESTS | 2 | 0 | 0 | ||
140851851 | wumbus | A | Dec. 28, 2021, 3:04 a.m. | OK | GNU C++20 (64) | TESTS | 2 | 0 | 0 | ||
140852257 | Nero | A | Dec. 28, 2021, 3:14 a.m. | OK | GNU C++20 (64) | TESTS | 2 | 0 | 0 | ||
140852705 | 20abzal07 | A | Dec. 28, 2021, 3:25 a.m. | OK | GNU C++20 (64) | TESTS | 2 | 0 | 0 | ||
140853623 | rdevbanshi35 | A | Dec. 28, 2021, 3:47 a.m. | OK | GNU C++20 (64) | TESTS | 2 | 0 | 0 | ||
140856201 | cloudycopter | A | Dec. 28, 2021, 4:40 a.m. | OK | GNU C++20 (64) | TESTS | 2 | 0 | 0 | ||
140857827 | 1.6180 | A | Dec. 28, 2021, 5:10 a.m. | OK | GNU C++20 (64) | TESTS | 2 | 0 | 0 | ||
140857908 | Menos | A | Dec. 28, 2021, 5:11 a.m. | OK | GNU C++20 (64) | TESTS | 2 | 0 | 0 | ||
140859174 | aminulislamrony | A | Dec. 28, 2021, 5:30 a.m. | OK | GNU C++20 (64) | TESTS | 2 | 0 | 0 | ||
140859793 | marcus_marble | A | Dec. 28, 2021, 5:38 a.m. | OK | GNU C++20 (64) | TESTS | 2 | 0 | 0 | ||
140852841 | pqhuy98 | A | Dec. 28, 2021, 3:29 a.m. | OK | Go | TESTS | 2 | 46 | 307200 | ||
140850955 | SadFriedRice | A | Dec. 28, 2021, 2:41 a.m. | OK | Go | TESTS | 2 | 61 | 409600 | ||
140842081 | ca1r0n | A | Dec. 27, 2021, 8:55 p.m. | OK | Go | TESTS | 2 | 514 | 1126400 | ||
140832358 | empr | A | Dec. 27, 2021, 6:13 p.m. | OK | Haskell | TESTS | 2 | 15 | 0 | ||
140831965 | empr | A | Dec. 27, 2021, 6:08 p.m. | OK | Haskell | TESTS | 2 | 30 | 0 | ||
140821821 | WalrusRamen21 | A | Dec. 27, 2021, 4:38 p.m. | OK | Java 11 | TESTS | 2 | 155 | 0 | ||
140823577 | _abstract_ | A | Dec. 27, 2021, 4:49 p.m. | OK | Java 11 | TESTS | 2 | 171 | 0 | ||
140850601 | __Serendipity | A | Dec. 28, 2021, 2:31 a.m. | OK | Java 11 | TESTS | 2 | 171 | 0 | ||
140842989 | mphillotry | A | Dec. 27, 2021, 9:20 p.m. | OK | Java 11 | TESTS | 2 | 171 | 0 | ||
140855662 | kingku_sahu | A | Dec. 28, 2021, 4:31 a.m. | OK | Java 11 | TESTS | 2 | 187 | 0 | ||
140830153 | davgogol | A | Dec. 27, 2021, 5:46 p.m. | OK | Java 11 | TESTS | 2 | 217 | 0 | ||
140818584 | Dukkha | A | Dec. 27, 2021, 4:31 p.m. | OK | Java 11 | TESTS | 2 | 218 | 0 | ||
140857276 | dhruvil_01 | A | Dec. 28, 2021, 5 a.m. | OK | Java 11 | TESTS | 2 | 233 | 0 | ||
140826371 | AbdallahaAttili | A | Dec. 27, 2021, 5:09 p.m. | OK | Java 11 | TESTS | 2 | 233 | 0 | ||
140847383 | gurkaran_s | A | Dec. 28, 2021, 12:25 a.m. | OK | Java 11 | TESTS | 2 | 248 | 0 | ||
140839539 | potatocoder-_- | A | Dec. 27, 2021, 7:59 p.m. | OK | Java 8 | TESTS | 2 | 93 | 0 | ||
140840319 | AbdelrahmanFathy | A | Dec. 27, 2021, 8:15 p.m. | OK | Java 8 | TESTS | 2 | 93 | 0 | ||
140857492 | Harshit_Sachdeva06 | A | Dec. 28, 2021, 5:04 a.m. | OK | Java 8 | TESTS | 2 | 108 | 0 | ||
140839537 | ss1237 | A | Dec. 27, 2021, 7:59 p.m. | OK | Java 8 | TESTS | 2 | 108 | 0 | ||
140825903 | LITT_UP | A | Dec. 27, 2021, 5:05 p.m. | OK | Java 8 | TESTS | 2 | 109 | 0 | ||
140831569 | Dhruv_Gheewala | A | Dec. 27, 2021, 6:03 p.m. | OK | Java 8 | TESTS | 2 | 109 | 0 | ||
140839658 | andar_se_toot_chuka_hu | A | Dec. 27, 2021, 8:01 p.m. | OK | Java 8 | TESTS | 2 | 139 | 0 | ||
140831773 | Sussykin | A | Dec. 27, 2021, 6:05 p.m. | OK | Java 8 | TESTS | 2 | 140 | 0 | ||
140823001 | narayan.xrd | A | Dec. 27, 2021, 4:45 p.m. | OK | Java 8 | TESTS | 2 | 140 | 0 | ||
140836023 | trufolo | A | Dec. 27, 2021, 7:02 p.m. | OK | Java 8 | TESTS | 2 | 170 | 0 | ||
140847503 | youdong.lee | A | Dec. 28, 2021, 12:32 a.m. | OK | JavaScript | TESTS | 2 | 61 | 1126400 | ||
140828777 | NetZee | A | Dec. 27, 2021, 5:31 p.m. | OK | Mono C# | TESTS | 2 | 61 | 6758400 | ||
140832476 | TRR | A | Dec. 27, 2021, 6:14 p.m. | OK | Mono C# | TESTS | 2 | 77 | 2867200 | ||
140852781 | icarus77 | A | Dec. 28, 2021, 3:27 a.m. | OK | MS C++ 2017 | TESTS | 2 | 15 | 0 | ||
140853195 | icarus77 | A | Dec. 28, 2021, 3:37 a.m. | OK | MS C++ 2017 | TESTS | 2 | 15 | 0 | ||
140850234 | lilicaiji | A | Dec. 28, 2021, 2:20 a.m. | OK | MS C++ 2017 | TESTS | 2 | 46 | 0 | ||
140848515 | _Rimjhim_36 | A | Dec. 28, 2021, 1:16 a.m. | OK | MS C++ 2017 | TESTS | 2 | 46 | 0 | ||
140843689 | Ivanyshka123 | A | Dec. 27, 2021, 9:41 p.m. | OK | MS C++ 2017 | TESTS | 2 | 46 | 0 | ||
140851276 | jainutkarsh_sv26 | A | Dec. 28, 2021, 2:49 a.m. | OK | MS C++ 2017 | TESTS | 2 | 46 | 0 | ||
140860603 | slonik1111 | A | Dec. 28, 2021, 5:49 a.m. | OK | MS C++ 2017 | TESTS | 2 | 62 | 0 | ||
140836391 | Uditpatel78 | A | Dec. 27, 2021, 7:07 p.m. | OK | MS C++ 2017 | TESTS | 2 | 62 | 0 | ||
140838823 | AndrewPav | A | Dec. 27, 2021, 7:46 p.m. | OK | .NET Core C# | TESTS | 2 | 108 | 2355200 | ||
140830190 | turch | A | Dec. 27, 2021, 5:46 p.m. | OK | Node.js | TESTS | 2 | 77 | 4915200 | ||
140822867 | 1_2_3_4_5_9 | A | Dec. 27, 2021, 4:44 p.m. | OK | PyPy 2 | TESTS | 2 | 108 | 3379200 | ||
140853881 | epoweripi | A | Dec. 28, 2021, 3:53 a.m. | OK | PyPy 2 | TESTS | 2 | 295 | 4198400 | ||
140835184 | whatshisbucket | A | Dec. 27, 2021, 6:50 p.m. | OK | PyPy 3 | TESTS | 2 | 140 | 7475200 | ||
140832182 | thhsu | A | Dec. 27, 2021, 6:11 p.m. | OK | PyPy 3 | TESTS | 2 | 155 | 7680000 | ||
140855711 | rahin1301 | A | Dec. 28, 2021, 4:32 a.m. | OK | PyPy 3 | TESTS | 2 | 170 | 9830400 | ||
140838684 | sw_enthusiast | A | Dec. 27, 2021, 7:43 p.m. | OK | PyPy 3 | TESTS | 2 | 170 | 72396800 | ||
140821720 | justinz2018 | A | Dec. 27, 2021, 4:38 p.m. | OK | PyPy 3 | TESTS | 2 | 187 | 9420800 | ||
140848771 | mg142857 | A | Dec. 28, 2021, 1:26 a.m. | OK | PyPy 3 | TESTS | 2 | 218 | 6348800 | ||
140857269 | phantasmpika | A | Dec. 28, 2021, 5 a.m. | OK | PyPy 3 | TESTS | 2 | 233 | 6144000 | ||
140830516 | ANASTECH | A | Dec. 27, 2021, 5:50 p.m. | OK | PyPy 3 | TESTS | 2 | 249 | 9830400 | ||
140851066 | Youarenotgood | A | Dec. 28, 2021, 2:44 a.m. | OK | PyPy 3 | TESTS | 2 | 264 | 6758400 | ||
140854962 | newinthecode | A | Dec. 28, 2021, 4:16 a.m. | OK | PyPy 3 | TESTS | 2 | 265 | 6348800 | ||
140823086 | nitish420 | A | Dec. 27, 2021, 4:45 p.m. | OK | PyPy 3-64 | TESTS | 2 | 124 | 8396800 | ||
140859070 | IkshitG | A | Dec. 28, 2021, 5:28 a.m. | OK | PyPy 3-64 | TESTS | 2 | 140 | 3891200 | ||
140847437 | coolstreaming | A | Dec. 28, 2021, 12:28 a.m. | OK | PyPy 3-64 | TESTS | 2 | 155 | 9216000 | ||
140859613 | p_r_a_n_a_v | A | Dec. 28, 2021, 5:36 a.m. | OK | PyPy 3-64 | TESTS | 2 | 155 | 11776000 | ||
140834253 | berekuk | A | Dec. 27, 2021, 6:37 p.m. | OK | PyPy 3-64 | TESTS | 2 | 171 | 9625600 | ||
140822084 | FishInTheHook | A | Dec. 27, 2021, 4:39 p.m. | OK | PyPy 3-64 | TESTS | 2 | 186 | 5632000 | ||
140859663 | lucifer1004 | A | Dec. 28, 2021, 5:37 a.m. | OK | PyPy 3-64 | TESTS | 2 | 202 | 6041600 | ||
140849880 | xiesunsun | A | Dec. 28, 2021, 2:09 a.m. | OK | PyPy 3-64 | TESTS | 2 | 202 | 8806400 | ||
140821761 | lemiao12 | A | Dec. 27, 2021, 4:38 p.m. | OK | PyPy 3-64 | TESTS | 2 | 202 | 9728000 | ||
140824027 | Het_Fadia | A | Dec. 27, 2021, 4:52 p.m. | OK | PyPy 3-64 | TESTS | 2 | 218 | 5324800 | ||
140836776 | Phanmahs91 | A | Dec. 27, 2021, 7:12 p.m. | OK | Python 3 | TESTS | 2 | 62 | 0 | ||
140853944 | eugalt | A | Dec. 28, 2021, 3:54 a.m. | OK | Python 3 | TESTS | 2 | 62 | 512000 | ||
140816750 | 20r21a05j0 | A | Dec. 27, 2021, 4:28 p.m. | OK | Python 3 | TESTS | 2 | 93 | 0 | ||
140842448 | Nour_Souki | A | Dec. 27, 2021, 9:05 p.m. | OK | Python 3 | TESTS | 2 | 93 | 716800 | ||
140821521 | manojsagar066 | A | Dec. 27, 2021, 4:37 p.m. | OK | Python 3 | TESTS | 2 | 93 | 819200 | ||
140847339 | riosshin24 | A | Dec. 28, 2021, 12:23 a.m. | OK | Python 3 | TESTS | 2 | 108 | 0 | ||
140844744 | Ahmed_Nser_El_Din | A | Dec. 27, 2021, 10:16 p.m. | OK | Python 3 | TESTS | 2 | 108 | 0 | ||
140843692 | lukaszek2302 | A | Dec. 27, 2021, 9:41 p.m. | OK | Python 3 | TESTS | 2 | 108 | 0 | ||
140842839 | holyCc | A | Dec. 27, 2021, 9:16 p.m. | OK | Python 3 | TESTS | 2 | 108 | 0 | ||
140838915 | Dey11 | A | Dec. 27, 2021, 7:47 p.m. | OK | Python 3 | TESTS | 2 | 108 | 0 | ||
140826059 | apilat | A | Dec. 27, 2021, 5:06 p.m. | OK | Rust 2021 | TESTS | 2 | 0 | 0 | ||
140848556 | Spheniscine | A | Dec. 28, 2021, 1:18 a.m. | OK | Rust 2021 | TESTS | 2 | 15 | 102400 | ||
140850391 | satylogin | A | Dec. 28, 2021, 2:25 a.m. | OK | Rust 2021 | TESTS | 2 | 31 | 0 | ||
140856326 | pili | A | Dec. 28, 2021, 4:43 a.m. | OK | Rust 2021 | TESTS | 2 | 61 | 0 |
Back to search problems