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 |
---|---|---|---|---|---|---|
1881 | Codeforces Round 903 (Div. 3) | FINISHED | False | 8100 | 40058663 | Oct. 12, 2023, 2:35 p.m. |
Solved$ |
Index |
Name |
Type |
Tags |
Community Tag |
Rating |
---|---|---|---|---|---|---|
( 26089 ) | B | Three Threadlets | PROGRAMMING | math |
B'Once upon a time, bartender Decim found three threadlets and a pair of scissors. In one operation, Decim chooses any threadlet and cuts it into two threadlets, whose lengths are positive integers and their sum is equal to the length of the threadlet being cut. For example, he can cut a threadlet of length 5 into threadlets of lengths 2 and 3 , but he cannot cut it into threadlets of lengths 2.5 and 2.5 , or lengths 0 and 5 , or lengths 3 and 4 . Decim can perform at most three operations. He is allowed to cut the threadlets obtained from previous cuts. Will he be able to make all the threadlets of equal length? The first line contains an integer t ( 1 <= t <= 10^4 ) -- the number of test cases. Then follows the description of each test case. In a single line of each test case, there are three integers a , b , c ( 1 <= a, b, c <= 10^9 ) -- the lengths of the threadlets. For each test case, output "YES" if it is possible to make all the threadlets of equal length by performing at most three operations, otherwise output "NO". You can output "YES" and "NO" in any case (for example, the strings "yEs", "yes", "Yes", and "YES" will be recognized as a positive answer). Let 's consider some testcases of the first test. In the first testcase, you can apply following operations: 1, 3, 2 to 1, 2, 1, 2 to 1, 1, 1, 1, 2 to 1, 1, 1, 1, 1, 1 . In the second testcase, you can do nothing, the threadlets are already of equal length. In the third testcase, it isn 't possible to make threadlets of equal length. '... |
121327 |
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
---|---|---|---|---|---|---|---|---|---|---|---|
227947750 | Derato | B | Oct. 12, 2023, 7:49 p.m. | OK | C# 10 | TESTS | 3 | 62 | 1536000 | ||
227961939 | bluemegane | B | Oct. 13, 2023, 12:38 a.m. | OK | C# 8 | TESTS | 3 | 109 | 2867200 | ||
227934066 | sajibahmed12032022 | B | Oct. 12, 2023, 5:39 p.m. | OK | Clang++17 Diagnostics | TESTS | 3 | 202 | 0 | ||
227974516 | m_math | B | Oct. 13, 2023, 4:20 a.m. | OK | Clang++17 Diagnostics | TESTS | 3 | 218 | 0 | ||
227954139 | andrey.starodubtsev | B | Oct. 12, 2023, 9:21 p.m. | OK | Clang++17 Diagnostics | TESTS | 3 | 389 | 2150400 | ||
227969064 | yui-v- | B | Oct. 13, 2023, 2:57 a.m. | OK | Clang++20 Diagnostics | TESTS | 3 | 31 | 0 | ||
227932688 | OUyio | B | Oct. 12, 2023, 5:29 p.m. | OK | Clang++20 Diagnostics | TESTS | 3 | 139 | 0 | ||
227978273 | yuzhouyz | B | Oct. 13, 2023, 5:12 a.m. | OK | GNU C11 | TESTS | 3 | 46 | 0 | ||
227926415 | pornthip.fon | B | Oct. 12, 2023, 4:57 p.m. | OK | GNU C11 | TESTS | 3 | 46 | 0 | ||
227929671 | yuzhouyz | B | Oct. 12, 2023, 5:11 p.m. | OK | GNU C11 | TESTS | 3 | 46 | 0 | ||
227931952 | fugah271202 | B | Oct. 12, 2023, 5:25 p.m. | OK | GNU C11 | TESTS | 3 | 46 | 0 | ||
227942359 | vslokesh | B | Oct. 12, 2023, 6:50 p.m. | OK | GNU C11 | TESTS | 3 | 46 | 0 | ||
227964682 | Balloon. | B | Oct. 13, 2023, 1:38 a.m. | OK | GNU C11 | TESTS | 3 | 46 | 0 | ||
227970460 | reinvigorated_life | B | Oct. 13, 2023, 3:20 a.m. | OK | GNU C11 | TESTS | 3 | 46 | 0 | ||
227974508 | akurai | B | Oct. 13, 2023, 4:20 a.m. | OK | GNU C11 | TESTS | 3 | 46 | 0 | ||
227925435 | Anasmalik8287 | B | Oct. 12, 2023, 4:53 p.m. | OK | GNU C11 | TESTS | 3 | 46 | 0 | ||
227976383 | SANS_Surya | B | Oct. 13, 2023, 4:47 a.m. | OK | GNU C11 | TESTS | 3 | 93 | 0 | ||
227933859 | dici_sugi | B | Oct. 12, 2023, 5:38 p.m. | OK | GNU C++14 | TESTS | 3 | 0 | 0 | ||
227967772 | vjudge3 | B | Oct. 13, 2023, 2:36 a.m. | OK | GNU C++14 | TESTS | 3 | 0 | 0 | ||
227938353 | lordtag | B | Oct. 12, 2023, 6:15 p.m. | OK | GNU C++14 | TESTS | 3 | 0 | 0 | ||
227974556 | Duy_e | B | Oct. 13, 2023, 4:21 a.m. | OK | GNU C++14 | TESTS | 3 | 15 | 0 | ||
227978044 | sujan_roy24 | B | Oct. 13, 2023, 5:09 a.m. | OK | GNU C++14 | TESTS | 3 | 15 | 0 | ||
227978067 | srinu99 | B | Oct. 13, 2023, 5:09 a.m. | OK | GNU C++14 | TESTS | 3 | 15 | 0 | ||
227978419 | hack41 | B | Oct. 13, 2023, 5:14 a.m. | OK | GNU C++14 | TESTS | 3 | 15 | 0 | ||
227979118 | OMG_78 | B | Oct. 13, 2023, 5:23 a.m. | OK | GNU C++14 | TESTS | 3 | 15 | 0 | ||
227980555 | ashutosh2218 | B | Oct. 13, 2023, 5:39 a.m. | OK | GNU C++14 | TESTS | 3 | 15 | 0 | ||
227977619 | Kaunteya | B | Oct. 13, 2023, 5:04 a.m. | OK | GNU C++14 | TESTS | 3 | 15 | 0 | ||
227932899 | y_14 | B | Oct. 12, 2023, 5:31 p.m. | OK | GNU C++17 | TESTS | 3 | 0 | 0 | ||
227927308 | PTGP_Atlas | B | Oct. 12, 2023, 5 p.m. | OK | GNU C++17 | TESTS | 3 | 0 | 0 | ||
227966395 | TuanNghia | B | Oct. 13, 2023, 2:12 a.m. | OK | GNU C++17 | TESTS | 3 | 0 | 0 | ||
227959983 | EzuRohit | B | Oct. 12, 2023, 11:45 p.m. | OK | GNU C++17 | TESTS | 3 | 0 | 0 | ||
227964671 | bekend04 | B | Oct. 13, 2023, 1:38 a.m. | OK | GNU C++17 | TESTS | 3 | 0 | 0 | ||
227965881 | Dopamine_01 | B | Oct. 13, 2023, 2:02 a.m. | OK | GNU C++17 | TESTS | 3 | 0 | 0 | ||
227957211 | sebastianbranzapata | B | Oct. 12, 2023, 10:29 p.m. | OK | GNU C++17 | TESTS | 3 | 0 | 0 | ||
227952278 | Two_Pointer_it | B | Oct. 12, 2023, 8:49 p.m. | OK | GNU C++17 | TESTS | 3 | 0 | 0 | ||
227934731 | bdhanush | B | Oct. 12, 2023, 5:45 p.m. | OK | GNU C++17 | TESTS | 3 | 0 | 0 | ||
227981997 | komite | B | Oct. 13, 2023, 5:54 a.m. | OK | GNU C++17 | TESTS | 3 | 15 | 0 | ||
227941102 | XpectoPatronum | B | Oct. 12, 2023, 6:39 p.m. | OK | GNU C++17 (64) | TESTS | 3 | 0 | 0 | ||
227943302 | A.Hazem_2003 | B | Oct. 12, 2023, 7 p.m. | OK | GNU C++17 (64) | TESTS | 3 | 0 | 0 | ||
227973197 | hungthpthoahieu2 | B | Oct. 13, 2023, 4 a.m. | OK | GNU C++17 (64) | TESTS | 3 | 15 | 0 | ||
227982566 | susuovo | B | Oct. 13, 2023, 6:01 a.m. | OK | GNU C++17 (64) | TESTS | 3 | 15 | 0 | ||
227977164 | 4Ace | B | Oct. 13, 2023, 4:57 a.m. | OK | GNU C++17 (64) | TESTS | 3 | 15 | 0 | ||
227976043 | mirror01 | B | Oct. 13, 2023, 4:42 a.m. | OK | GNU C++17 (64) | TESTS | 3 | 15 | 0 | ||
227974015 | DirtyMayonnaise | B | Oct. 13, 2023, 4:12 a.m. | OK | GNU C++17 (64) | TESTS | 3 | 15 | 0 | ||
227972882 | fs20091003 | B | Oct. 13, 2023, 3:56 a.m. | OK | GNU C++17 (64) | TESTS | 3 | 15 | 0 | ||
227970946 | fs20091003 | B | Oct. 13, 2023, 3:27 a.m. | OK | GNU C++17 (64) | TESTS | 3 | 15 | 0 | ||
227970814 | mouhua | B | Oct. 13, 2023, 3:25 a.m. | OK | GNU C++17 (64) | TESTS | 3 | 15 | 0 | ||
227968331 | GGodSSpeed | B | Oct. 13, 2023, 2:44 a.m. | OK | GNU C++20 (64) | TESTS | 3 | 0 | 0 | ||
227968630 | yeVegetable | B | Oct. 13, 2023, 2:49 a.m. | OK | GNU C++20 (64) | TESTS | 3 | 0 | 0 | ||
227969430 | JasonBrody0302 | B | Oct. 13, 2023, 3:03 a.m. | OK | GNU C++20 (64) | TESTS | 3 | 0 | 0 | ||
227970784 | _wjy | B | Oct. 13, 2023, 3:24 a.m. | OK | GNU C++20 (64) | TESTS | 3 | 0 | 0 | ||
227973626 | Jeese | B | Oct. 13, 2023, 4:06 a.m. | OK | GNU C++20 (64) | TESTS | 3 | 0 | 0 | ||
227975049 | The__Curse | B | Oct. 13, 2023, 4:28 a.m. | OK | GNU C++20 (64) | TESTS | 3 | 0 | 0 | ||
227975662 | PHANTOM_23 | B | Oct. 13, 2023, 4:37 a.m. | OK | GNU C++20 (64) | TESTS | 3 | 0 | 0 | ||
227976971 | maple | B | Oct. 13, 2023, 4:55 a.m. | OK | GNU C++20 (64) | TESTS | 3 | 0 | 0 | ||
227980057 | Sai-17 | B | Oct. 13, 2023, 5:34 a.m. | OK | GNU C++20 (64) | TESTS | 3 | 0 | 0 | ||
227980521 | pauljunak | B | Oct. 13, 2023, 5:39 a.m. | OK | GNU C++20 (64) | TESTS | 3 | 0 | 0 | ||
227930674 | nikpopo68 | B | Oct. 12, 2023, 5:17 p.m. | OK | Go | TESTS | 3 | 31 | 716800 | ||
227925090 | regotiss | B | Oct. 12, 2023, 4:52 p.m. | OK | Go | TESTS | 3 | 842 | 1331200 | ||
227954744 | jnunez | B | Oct. 12, 2023, 9:33 p.m. | OK | Go | TESTS | 3 | 842 | 1433600 | ||
227968067 | Panther369 | B | Oct. 13, 2023, 2:40 a.m. | OK | Java 11 | TESTS | 3 | 171 | 0 | ||
227951824 | themadknight45 | B | Oct. 12, 2023, 8:42 p.m. | OK | Java 11 | TESTS | 3 | 171 | 0 | ||
227953735 | DOOMJUICE | B | Oct. 12, 2023, 9:13 p.m. | OK | Java 11 | TESTS | 3 | 187 | 0 | ||
227979596 | hitesh21392 | B | Oct. 13, 2023, 5:28 a.m. | OK | Java 11 | TESTS | 3 | 295 | 0 | ||
227943226 | vishesh9096 | B | Oct. 12, 2023, 6:59 p.m. | OK | Java 11 | TESTS | 3 | 296 | 0 | ||
227933477 | Uncle_Eddie | B | Oct. 12, 2023, 5:35 p.m. | OK | Java 11 | TESTS | 3 | 296 | 0 | ||
227964704 | ankitaniket | B | Oct. 13, 2023, 1:38 a.m. | OK | Java 11 | TESTS | 3 | 311 | 0 | ||
227927011 | achal5623 | B | Oct. 12, 2023, 4:59 p.m. | OK | Java 11 | TESTS | 3 | 311 | 0 | ||
227963238 | arjun1612 | B | Oct. 13, 2023, 1:09 a.m. | OK | Java 11 | TESTS | 3 | 312 | 0 | ||
227953475 | imnew0307 | B | Oct. 12, 2023, 9:09 p.m. | OK | Java 11 | TESTS | 3 | 326 | 0 | ||
227939487 | vaibhav_1710 | B | Oct. 12, 2023, 6:24 p.m. | OK | Java 17 | TESTS | 3 | 124 | 716800 | ||
227926037 | maurya.rahul682 | B | Oct. 12, 2023, 4:55 p.m. | OK | Java 17 | TESTS | 3 | 155 | 102400 | ||
227930820 | Nagendravarma | B | Oct. 12, 2023, 5:18 p.m. | OK | Java 17 | TESTS | 3 | 155 | 204800 | ||
227969210 | Prime369 | B | Oct. 13, 2023, 3 a.m. | OK | Java 17 | TESTS | 3 | 171 | 0 | ||
227930661 | ankitsinghhada1111 | B | Oct. 12, 2023, 5:17 p.m. | OK | Java 17 | TESTS | 3 | 171 | 102400 | ||
227944776 | swatishivam23 | B | Oct. 12, 2023, 7:15 p.m. | OK | Java 17 | TESTS | 3 | 186 | 102400 | ||
227932429 | aishwarykesarwani | B | Oct. 12, 2023, 5:28 p.m. | OK | Java 17 | TESTS | 3 | 186 | 512000 | ||
227948345 | vikash_45 | B | Oct. 12, 2023, 7:56 p.m. | OK | Java 17 | TESTS | 3 | 202 | 716800 | ||
227974808 | Jaidhunibavsi | B | Oct. 13, 2023, 4:24 a.m. | OK | Java 17 | TESTS | 3 | 233 | 716800 | ||
227981476 | Harshit_Raj_14 | B | Oct. 13, 2023, 5:49 a.m. | OK | Java 17 | TESTS | 3 | 233 | 1228800 | ||
227954203 | rpdhakar2003 | B | Oct. 12, 2023, 9:22 p.m. | OK | Java 21 | TESTS | 3 | 186 | 0 | ||
227931014 | Harsh_Agrawal_12 | B | Oct. 12, 2023, 5:19 p.m. | OK | Java 21 | TESTS | 3 | 311 | 0 | ||
227974565 | Menos | B | Oct. 13, 2023, 4:21 a.m. | OK | Java 21 | TESTS | 3 | 342 | 0 | ||
227925235 | shoaib75 | B | Oct. 12, 2023, 4:53 p.m. | OK | Java 21 | TESTS | 3 | 342 | 0 | ||
227949121 | avighnakc | B | Oct. 12, 2023, 8:06 p.m. | OK | Java 21 | TESTS | 3 | 343 | 0 | ||
227965076 | goalboy | B | Oct. 13, 2023, 1:46 a.m. | OK | Java 21 | TESTS | 3 | 358 | 0 | ||
227969041 | Udayf | B | Oct. 13, 2023, 2:56 a.m. | OK | Java 8 | TESTS | 3 | 77 | 0 | ||
227982460 | Danger_Don | B | Oct. 13, 2023, 6 a.m. | OK | Java 8 | TESTS | 3 | 93 | 0 | ||
227961964 | IOFYA | B | Oct. 13, 2023, 12:39 a.m. | OK | Java 8 | TESTS | 3 | 93 | 0 | ||
227941720 | lulanovvvl | B | Oct. 12, 2023, 6:45 p.m. | OK | Java 8 | TESTS | 3 | 93 | 38195200 | ||
227945732 | sumitlaura101 | B | Oct. 12, 2023, 7:25 p.m. | OK | Java 8 | TESTS | 3 | 171 | 6144000 | ||
227940291 | Sumitsingh7 | B | Oct. 12, 2023, 6:31 p.m. | OK | Java 8 | TESTS | 3 | 171 | 6144000 | ||
227964400 | b1t_exe | B | Oct. 13, 2023, 1:33 a.m. | OK | Java 8 | TESTS | 3 | 218 | 0 | ||
227940776 | Dewansh_yadav | B | Oct. 12, 2023, 6:36 p.m. | OK | Java 8 | TESTS | 3 | 218 | 0 | ||
227923787 | chharshch123 | B | Oct. 12, 2023, 4:49 p.m. | OK | Java 8 | TESTS | 3 | 265 | 0 | ||
227924808 | ArchAng3L | B | Oct. 12, 2023, 4:51 p.m. | OK | MS C++ 2017 | TESTS | 3 | 31 | 0 | ||
227966198 | geekcreation | B | Oct. 13, 2023, 2:08 a.m. | OK | MS C++ 2017 | TESTS | 3 | 62 | 0 | ||
227949985 | Olzlzlz | B | Oct. 12, 2023, 8:17 p.m. | OK | MS C++ 2017 | TESTS | 3 | 62 | 0 | ||
227923612 | eQuillibrium | B | Oct. 12, 2023, 4:49 p.m. | OK | MS C++ 2017 | TESTS | 3 | 62 | 0 | ||
227953716 | amit_shinde | B | Oct. 12, 2023, 9:13 p.m. | OK | MS C++ 2017 | TESTS | 3 | 77 | 0 | ||
227950174 | Akhil_09 | B | Oct. 12, 2023, 8:20 p.m. | OK | MS C++ 2017 | TESTS | 3 | 78 | 0 | ||
227957295 | AvanSingh | B | Oct. 12, 2023, 10:30 p.m. | OK | MS C++ 2017 | TESTS | 3 | 93 | 0 | ||
227943863 | Joshc | B | Oct. 12, 2023, 7:06 p.m. | OK | PyPy 3 | TESTS | 3 | 170 | 6963200 | ||
227952925 | ebesso | B | Oct. 12, 2023, 8:59 p.m. | OK | PyPy 3 | TESTS | 3 | 171 | 73420800 | ||
227969235 | YMSeah | B | Oct. 13, 2023, 3 a.m. | OK | PyPy 3 | TESTS | 3 | 202 | 5324800 | ||
227929425 | Cuber2113 | B | Oct. 12, 2023, 5:10 p.m. | OK | PyPy 3 | TESTS | 3 | 327 | 9420800 | ||
227958496 | apoxy | B | Oct. 12, 2023, 11:02 p.m. | OK | PyPy 3 | TESTS | 3 | 358 | 9523200 | ||
227967227 | refff | B | Oct. 13, 2023, 2:27 a.m. | OK | PyPy 3 | TESTS | 3 | 373 | 10137600 | ||
227968981 | whoami096 | B | Oct. 13, 2023, 2:55 a.m. | OK | PyPy 3 | TESTS | 3 | 420 | 9830400 | ||
227977498 | hato_ | B | Oct. 13, 2023, 5:02 a.m. | OK | PyPy 3 | TESTS | 3 | 545 | 11264000 | ||
227931832 | TheAbbie | B | Oct. 12, 2023, 5:24 p.m. | OK | PyPy 3-64 | TESTS | 3 | 77 | 3584000 | ||
227979538 | drgrd | B | Oct. 13, 2023, 5:27 a.m. | OK | PyPy 3-64 | TESTS | 3 | 93 | 6144000 | ||
227958789 | riroan | B | Oct. 12, 2023, 11:11 p.m. | OK | PyPy 3-64 | TESTS | 3 | 108 | 8601600 | ||
227928195 | khalit7 | B | Oct. 12, 2023, 5:04 p.m. | OK | PyPy 3-64 | TESTS | 3 | 124 | 8908800 | ||
227926185 | radoan.sharkar.richi | B | Oct. 12, 2023, 4:56 p.m. | OK | PyPy 3-64 | TESTS | 3 | 124 | 9625600 | ||
227932063 | Azamatsh | B | Oct. 12, 2023, 5:26 p.m. | OK | PyPy 3-64 | TESTS | 3 | 139 | 9420800 | ||
227948628 | pcm_op | B | Oct. 12, 2023, 7:59 p.m. | OK | PyPy 3-64 | TESTS | 3 | 139 | 9932800 | ||
227966747 | noahy | B | Oct. 13, 2023, 2:19 a.m. | OK | PyPy 3-64 | TESTS | 3 | 140 | 8704000 | ||
227945276 | cybsbbb | B | Oct. 12, 2023, 7:20 p.m. | OK | PyPy 3-64 | TESTS | 3 | 140 | 9728000 | ||
227976852 | terrablader11 | B | Oct. 13, 2023, 4:53 a.m. | OK | PyPy 3-64 | TESTS | 3 | 155 | 9011200 | ||
227952133 | eugalt | B | Oct. 12, 2023, 8:47 p.m. | OK | Python 3 | TESTS | 3 | 46 | 1024000 | ||
227959399 | Deecey01 | B | Oct. 12, 2023, 11:29 p.m. | OK | Python 3 | TESTS | 3 | 62 | 204800 | ||
227931104 | MdNazmulHossain | B | Oct. 12, 2023, 5:19 p.m. | OK | Python 3 | TESTS | 3 | 92 | 0 | ||
227978289 | biswasbikram | B | Oct. 13, 2023, 5:12 a.m. | OK | Python 3 | TESTS | 3 | 93 | 0 | ||
227976242 | anwarjazeel | B | Oct. 13, 2023, 4:45 a.m. | OK | Python 3 | TESTS | 3 | 93 | 0 | ||
227929314 | Riyajulhasan | B | Oct. 12, 2023, 5:09 p.m. | OK | Python 3 | TESTS | 3 | 93 | 0 | ||
227928637 | shanttanuoberoi | B | Oct. 12, 2023, 5:06 p.m. | OK | Python 3 | TESTS | 3 | 93 | 0 | ||
227976975 | humblebose | B | Oct. 13, 2023, 4:55 a.m. | OK | Python 3 | TESTS | 3 | 108 | 0 | ||
227969543 | m.zafar.a1987 | B | Oct. 13, 2023, 3:05 a.m. | OK | Python 3 | TESTS | 3 | 108 | 0 | ||
227952511 | GeshaIliiasova | B | Oct. 12, 2023, 8:53 p.m. | OK | Python 3 | TESTS | 3 | 108 | 0 | ||
227943369 | _a253 | B | Oct. 12, 2023, 7:01 p.m. | OK | Rust 2021 | TESTS | 3 | 62 | 0 | ||
227945526 | 275503 | B | Oct. 12, 2023, 7:23 p.m. | OK | Scala | TESTS | 3 | 576 | 0 |
Back to search problems