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 |
---|---|---|---|---|---|---|
1748 | Codeforces Round 833 (Div. 2) | FINISHED | False | 7200 | 69002663 | Nov. 12, 2022, 2:35 p.m. |
Solved$ |
Index |
Name |
Type |
Tags |
Community Tag |
Rating |
---|---|---|---|---|---|---|
( 24305 ) | A | The Ultimate Square | PROGRAMMING | math | 800 |
B"You have n rectangular wooden blocks, which are numbered from 1 to n . The i -th block is 1 unit high and lceil frac{i}{2} rceil units long. Here, lceil frac{x}{2} rceil denotes the result of division of x by 2 , rounded up. For example, lceil frac{4}{2} rceil = 2 and lceil frac{5}{2} rceil = lceil 2.5 rceil = 3 . For example, if n=5 , then the blocks have the following sizes: 1 x 1 , 1 x 1 , 1 x 2 , 1 x 2 , 1 x 3 . Find the maximum possible side length of a square you can create using these blocks, without rotating any of them. Note that you don't have to use all of the blocks. Each test contains multiple test cases. The first line contains a single integer t ( 1 <= t <= 10^4 ) -- the number of test cases. The first line of each test case contains a single integer n ( 1 <= n <= 10^9 ) -- the number of blocks. For each test case, print one integer -- the maximum possible side length of a square you can create. In the first test case, you can create a 1 x 1 square using only one of the blocks. In the second test case, one of the possible ways to create a 3 x 3 square is shown in the statement. It is impossible to create a 4 x 4 or larger square, so the answer is 3 . "... |
Codeforces Round #833 (Div. 2) Editorial |
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
---|---|---|---|---|---|---|---|---|---|---|---|
180677133 | Mujahid_IO_Tahmid | A | Nov. 12, 2022, 7:01 p.m. | OK | C# 10 | TESTS | 2 | 46 | 512000 | 800 | |
180681304 | GO_MO | A | Nov. 12, 2022, 7:55 p.m. | OK | C# 10 | TESTS | 2 | 77 | 512000 | 800 | |
180666578 | shreyas151204 | A | Nov. 12, 2022, 6:03 p.m. | OK | Clang++17 Diagnostics | TESTS | 2 | 93 | 0 | 800 | |
180660638 | ghpsaditya123 | A | Nov. 12, 2022, 5:08 p.m. | OK | Clang++17 Diagnostics | TESTS | 2 | 139 | 0 | 800 | |
180701581 | eswar263 | A | Nov. 13, 2022, 3:06 a.m. | OK | Clang++17 Diagnostics | TESTS | 2 | 139 | 0 | 800 | |
180680361 | basedsaksham | A | Nov. 12, 2022, 7:42 p.m. | OK | Clang++17 Diagnostics | TESTS | 2 | 139 | 80384000 | 800 | |
180691710 | Isko1 | A | Nov. 12, 2022, 10:06 p.m. | OK | Clang++17 Diagnostics | TESTS | 2 | 140 | 0 | 800 | |
180657978 | FlyingFeather | A | Nov. 12, 2022, 4:50 p.m. | OK | Clang++20 Diagnostics | TESTS | 2 | 124 | 0 | 800 | |
180644901 | Utpal_mohanta024 | A | Nov. 12, 2022, 3:54 p.m. | OK | GNU C11 | TESTS | 2 | 15 | 0 | 800 | |
180645738 | lkw559_ | A | Nov. 12, 2022, 3:57 p.m. | OK | GNU C11 | TESTS | 2 | 31 | 0 | 800 | |
180680300 | upama_09 | A | Nov. 12, 2022, 7:41 p.m. | OK | GNU C11 | TESTS | 2 | 31 | 0 | 800 | |
180666217 | plove1691 | A | Nov. 12, 2022, 6 p.m. | OK | GNU C11 | TESTS | 2 | 31 | 0 | 800 | |
180654697 | Rocky_hfut | A | Nov. 12, 2022, 4:29 p.m. | OK | GNU C11 | TESTS | 2 | 31 | 0 | 800 | |
180652961 | 2000030570 | A | Nov. 12, 2022, 4:23 p.m. | OK | GNU C11 | TESTS | 2 | 31 | 0 | 800 | |
180649727 | Sakif_shahrear | A | Nov. 12, 2022, 4:11 p.m. | OK | GNU C11 | TESTS | 2 | 31 | 0 | 800 | |
180647683 | jiushixianyu | A | Nov. 12, 2022, 4:03 p.m. | OK | GNU C11 | TESTS | 2 | 31 | 0 | 800 | |
180703710 | Mejbah458 | A | Nov. 13, 2022, 4 a.m. | OK | GNU C11 | TESTS | 2 | 46 | 0 | 800 | |
180705064 | 1294101739 | A | Nov. 13, 2022, 4:32 a.m. | OK | GNU C11 | TESTS | 2 | 46 | 0 | 800 | |
180702120 | aditpatel | A | Nov. 13, 2022, 3:20 a.m. | OK | GNU C++14 | TESTS | 2 | 0 | 0 | 800 | |
180702636 | sahibsingh139 | A | Nov. 13, 2022, 3:33 a.m. | OK | GNU C++14 | TESTS | 2 | 0 | 0 | 800 | |
180703515 | jiangzimi2008 | A | Nov. 13, 2022, 3:55 a.m. | OK | GNU C++14 | TESTS | 2 | 0 | 0 | 800 | |
180708939 | kausar_ahamed | A | Nov. 13, 2022, 5:34 a.m. | OK | GNU C++14 | TESTS | 2 | 0 | 0 | 800 | |
180709611 | wangyo | A | Nov. 13, 2022, 5:43 a.m. | OK | GNU C++14 | TESTS | 2 | 0 | 0 | 800 | |
180709582 | C1942huangjiaxu | A | Nov. 13, 2022, 5:43 a.m. | OK | GNU C++14 | TESTS | 2 | 0 | 0 | 800 | |
180698836 | ruonianzexi | A | Nov. 13, 2022, 1:59 a.m. | OK | GNU C++14 | TESTS | 2 | 0 | 0 | 800 | |
180698986 | Luban | A | Nov. 13, 2022, 2:02 a.m. | OK | GNU C++14 | TESTS | 2 | 0 | 0 | 800 | |
180697808 | LYT0122 | A | Nov. 13, 2022, 1:30 a.m. | OK | GNU C++14 | TESTS | 2 | 0 | 0 | 800 | |
180701631 | sherry_.. | A | Nov. 13, 2022, 3:07 a.m. | OK | GNU C++14 | TESTS | 2 | 0 | 0 | 800 | |
180702375 | josanneo22 | A | Nov. 13, 2022, 3:27 a.m. | OK | GNU C++17 | TESTS | 2 | 0 | 0 | 800 | |
180708809 | nooo___b | A | Nov. 13, 2022, 5:32 a.m. | OK | GNU C++17 | TESTS | 2 | 0 | 0 | 800 | |
180706713 | pradhumnsharma2002 | A | Nov. 13, 2022, 5:01 a.m. | OK | GNU C++17 | TESTS | 2 | 0 | 0 | 800 | |
180706481 | np2907 | A | Nov. 13, 2022, 4:57 a.m. | OK | GNU C++17 | TESTS | 2 | 0 | 0 | 800 | |
180706188 | deephudka005 | A | Nov. 13, 2022, 4:52 a.m. | OK | GNU C++17 | TESTS | 2 | 0 | 0 | 800 | |
180705935 | blasterking | A | Nov. 13, 2022, 4:47 a.m. | OK | GNU C++17 | TESTS | 2 | 0 | 0 | 800 | |
180705786 | tang- | A | Nov. 13, 2022, 4:45 a.m. | OK | GNU C++17 | TESTS | 2 | 0 | 0 | 800 | |
180704870 | Niket_Bahety | A | Nov. 13, 2022, 4:29 a.m. | OK | GNU C++17 | TESTS | 2 | 0 | 0 | 800 | |
180704026 | ceo_of_india | A | Nov. 13, 2022, 4:09 a.m. | OK | GNU C++17 | TESTS | 2 | 0 | 0 | 800 | |
180702047 | mnecoea | A | Nov. 13, 2022, 3:18 a.m. | OK | GNU C++17 | TESTS | 2 | 0 | 0 | 800 | |
180686760 | raunakb0308 | A | Nov. 12, 2022, 8:29 p.m. | OK | GNU C++17 (64) | TESTS | 2 | 0 | 0 | 800 | |
180688323 | Amanmaurya_2012 | A | Nov. 12, 2022, 8:54 p.m. | OK | GNU C++17 (64) | TESTS | 2 | 0 | 0 | 800 | |
180708113 | mattagar6 | A | Nov. 13, 2022, 5:22 a.m. | OK | GNU C++17 (64) | TESTS | 2 | 0 | 0 | 800 | |
180705564 | aviral10 | A | Nov. 13, 2022, 4:42 a.m. | OK | GNU C++17 (64) | TESTS | 2 | 0 | 0 | 800 | |
180704857 | Rick_GT | A | Nov. 13, 2022, 4:28 a.m. | OK | GNU C++17 (64) | TESTS | 2 | 0 | 0 | 800 | |
180702872 | fake_name | A | Nov. 13, 2022, 3:39 a.m. | OK | GNU C++17 (64) | TESTS | 2 | 0 | 0 | 800 | |
180697900 | Eter.nal | A | Nov. 13, 2022, 1:32 a.m. | OK | GNU C++17 (64) | TESTS | 2 | 0 | 0 | 800 | |
180691626 | ArwaAdel174 | A | Nov. 12, 2022, 10:04 p.m. | OK | GNU C++17 (64) | TESTS | 2 | 0 | 0 | 800 | |
180696178 | Huntik_03 | A | Nov. 13, 2022, 12:39 a.m. | OK | GNU C++17 (64) | TESTS | 2 | 0 | 0 | 800 | |
180697483 | shuoxuanli | A | Nov. 13, 2022, 1:21 a.m. | OK | GNU C++17 (64) | TESTS | 2 | 0 | 0 | 800 | |
180710731 | devendr2609 | A | Nov. 13, 2022, 5:59 a.m. | OK | GNU C++20 (64) | TESTS | 2 | 0 | 0 | 800 | |
180710265 | shubh.rastogi8449686293 | A | Nov. 13, 2022, 5:53 a.m. | OK | GNU C++20 (64) | TESTS | 2 | 0 | 0 | 800 | |
180709220 | arpandesai0 | A | Nov. 13, 2022, 5:38 a.m. | OK | GNU C++20 (64) | TESTS | 2 | 0 | 0 | 800 | |
180709146 | Pulkit291002 | A | Nov. 13, 2022, 5:36 a.m. | OK | GNU C++20 (64) | TESTS | 2 | 0 | 0 | 800 | |
180709076 | jprakhar | A | Nov. 13, 2022, 5:36 a.m. | OK | GNU C++20 (64) | TESTS | 2 | 0 | 0 | 800 | |
180708760 | munhwas1140 | A | Nov. 13, 2022, 5:31 a.m. | OK | GNU C++20 (64) | TESTS | 2 | 0 | 0 | 800 | |
180708586 | stellarhuman09 | A | Nov. 13, 2022, 5:29 a.m. | OK | GNU C++20 (64) | TESTS | 2 | 0 | 0 | 800 | |
180708224 | 1_234 | A | Nov. 13, 2022, 5:23 a.m. | OK | GNU C++20 (64) | TESTS | 2 | 0 | 0 | 800 | |
180707529 | czBene | A | Nov. 13, 2022, 5:13 a.m. | OK | GNU C++20 (64) | TESTS | 2 | 0 | 0 | 800 | |
180707279 | bhavyrajdev0 | A | Nov. 13, 2022, 5:10 a.m. | OK | GNU C++20 (64) | TESTS | 2 | 0 | 0 | 800 | |
180691347 | muhammadali | A | Nov. 12, 2022, 9:58 p.m. | OK | Go | TESTS | 2 | 15 | 307200 | 800 | |
180691381 | muhammadali | A | Nov. 12, 2022, 9:59 p.m. | OK | Go | TESTS | 2 | 280 | 716800 | 800 | |
180697498 | davxoc | A | Nov. 13, 2022, 1:21 a.m. | OK | Haskell | TESTS | 2 | 46 | 0 | 800 | |
180658713 | Spidey2182 | A | Nov. 12, 2022, 4:55 p.m. | OK | Java 11 | TESTS | 2 | 140 | 0 | 800 | |
180691583 | princeayush04 | A | Nov. 12, 2022, 10:03 p.m. | OK | Java 11 | TESTS | 2 | 140 | 0 | 800 | |
180702179 | NithinBharathi | A | Nov. 13, 2022, 3:22 a.m. | OK | Java 11 | TESTS | 2 | 155 | 0 | 800 | |
180708439 | sf14t | A | Nov. 13, 2022, 5:27 a.m. | OK | Java 11 | TESTS | 2 | 171 | 0 | 800 | |
180704162 | aditya2024 | A | Nov. 13, 2022, 4:12 a.m. | OK | Java 11 | TESTS | 2 | 202 | 0 | 800 | |
180669595 | shubham202012 | A | Nov. 12, 2022, 6:37 p.m. | OK | Java 11 | TESTS | 2 | 217 | 0 | 800 | |
180663913 | AyushS_cg170 | A | Nov. 12, 2022, 5:36 p.m. | OK | Java 11 | TESTS | 2 | 217 | 0 | 800 | |
180705103 | unknown_world | A | Nov. 13, 2022, 4:33 a.m. | OK | Java 11 | TESTS | 2 | 218 | 0 | 800 | |
180709348 | ImNoobxD | A | Nov. 13, 2022, 5:40 a.m. | OK | Java 11 | TESTS | 2 | 264 | 0 | 800 | |
180648982 | parthsishodia_001 | A | Nov. 12, 2022, 4:08 p.m. | OK | Java 11 | TESTS | 2 | 264 | 0 | 800 | |
180703396 | ketangupta12 | A | Nov. 13, 2022, 3:52 a.m. | OK | Java 17 | TESTS | 2 | 139 | 0 | 800 | |
180695651 | jameszhangrg | A | Nov. 13, 2022, 12:20 a.m. | OK | Java 17 | TESTS | 2 | 170 | 204800 | 800 | |
180698165 | ck_02 | A | Nov. 13, 2022, 1:41 a.m. | OK | Java 17 | TESTS | 2 | 171 | 204800 | 800 | |
180662975 | gigaby8 | A | Nov. 12, 2022, 5:28 p.m. | OK | Java 17 | TESTS | 2 | 171 | 204800 | 800 | |
180699818 | ayushmandal0122 | A | Nov. 13, 2022, 2:23 a.m. | OK | Java 17 | TESTS | 2 | 202 | 0 | 800 | |
180664243 | casenova01 | A | Nov. 12, 2022, 5:40 p.m. | OK | Java 17 | TESTS | 2 | 233 | 0 | 800 | |
180652946 | ashvtosh_1 | A | Nov. 12, 2022, 4:23 p.m. | OK | Java 17 | TESTS | 2 | 248 | 204800 | 800 | |
180647351 | Muskan30 | A | Nov. 12, 2022, 4:02 p.m. | OK | Java 17 | TESTS | 2 | 248 | 512000 | 800 | |
180649101 | Chirag_agrawal | A | Nov. 12, 2022, 4:08 p.m. | OK | Java 17 | TESTS | 2 | 248 | 921600 | 800 | |
180645226 | ayushmanglik2003 | A | Nov. 12, 2022, 3:55 p.m. | OK | Java 17 | TESTS | 2 | 248 | 921600 | 800 | |
180679682 | Mohamed_A7med | A | Nov. 12, 2022, 7:33 p.m. | OK | Java 8 | TESTS | 2 | 77 | 0 | 800 | |
180657768 | swarup_312 | A | Nov. 12, 2022, 4:49 p.m. | OK | Java 8 | TESTS | 2 | 77 | 0 | 800 | |
180694634 | qlf9 | A | Nov. 12, 2022, 11:38 p.m. | OK | Java 8 | TESTS | 2 | 78 | 0 | 800 | |
180690441 | mohamedhassan_c | A | Nov. 12, 2022, 9:37 p.m. | OK | Java 8 | TESTS | 2 | 93 | 0 | 800 | |
180670422 | Koka | A | Nov. 12, 2022, 6:48 p.m. | OK | Java 8 | TESTS | 2 | 93 | 0 | 800 | |
180667387 | FierteDeCeylan | A | Nov. 12, 2022, 6:12 p.m. | OK | Java 8 | TESTS | 2 | 93 | 0 | 800 | |
180661850 | rish1896 | A | Nov. 12, 2022, 5:18 p.m. | OK | Java 8 | TESTS | 2 | 93 | 0 | 800 | |
180652433 | Diaa12360 | A | Nov. 12, 2022, 4:21 p.m. | OK | Java 8 | TESTS | 2 | 93 | 0 | 800 | |
180659751 | youtsuha | A | Nov. 12, 2022, 5:01 p.m. | OK | Java 8 | TESTS | 2 | 108 | 0 | 800 | |
180646792 | ck360 | A | Nov. 12, 2022, 4 p.m. | OK | Java 8 | TESTS | 2 | 139 | 0 | 800 | |
180695306 | Ethan104 | A | Nov. 13, 2022, 12:06 a.m. | OK | MS C++ 2017 | TESTS | 2 | 30 | 0 | 800 | |
180659415 | Sushi0077 | A | Nov. 12, 2022, 4:59 p.m. | OK | MS C++ 2017 | TESTS | 2 | 46 | 0 | 800 | |
180652900 | Gautam_2710 | A | Nov. 12, 2022, 4:23 p.m. | OK | MS C++ 2017 | TESTS | 2 | 46 | 0 | 800 | |
180648463 | OtttType2 | A | Nov. 12, 2022, 4:06 p.m. | OK | MS C++ 2017 | TESTS | 2 | 46 | 0 | 800 | |
180646923 | Shraddha_16 | A | Nov. 12, 2022, 4:01 p.m. | OK | MS C++ 2017 | TESTS | 2 | 46 | 0 | 800 | |
180654226 | srijan786 | A | Nov. 12, 2022, 4:28 p.m. | OK | MS C++ 2017 | TESTS | 2 | 62 | 0 | 800 | |
180645202 | rolyPolyVole | A | Nov. 12, 2022, 3:55 p.m. | OK | Node.js | TESTS | 2 | 140 | 5222400 | 800 | |
180691552 | amrondonp | A | Nov. 12, 2022, 10:02 p.m. | OK | Node.js | TESTS | 2 | 187 | 5222400 | 800 | |
180691483 | amrondonp | A | Nov. 12, 2022, 10:01 p.m. | OK | Node.js | TESTS | 2 | 202 | 5222400 | 800 | |
180700532 | jordancurve | A | Nov. 13, 2022, 2:42 a.m. | OK | Perl | TESTS | 2 | 30 | 1126400 | 800 | |
180661695 | WalrusRamen21 | A | Nov. 12, 2022, 5:17 p.m. | OK | PyPy 3 | TESTS | 2 | 233 | 4300800 | 800 | |
180703615 | zenith_007 | A | Nov. 13, 2022, 3:58 a.m. | OK | PyPy 3 | TESTS | 2 | 233 | 5324800 | 800 | |
180662586 | BoogySalute | A | Nov. 12, 2022, 5:25 p.m. | OK | PyPy 3 | TESTS | 2 | 249 | 5324800 | 800 | |
180659317 | Girniiiii | A | Nov. 12, 2022, 4:59 p.m. | OK | PyPy 3-64 | TESTS | 2 | 46 | 5222400 | 800 | |
180662819 | nealzane | A | Nov. 12, 2022, 5:27 p.m. | OK | PyPy 3-64 | TESTS | 2 | 61 | 5632000 | 800 | |
180687413 | hkwu6013 | A | Nov. 12, 2022, 8:39 p.m. | OK | PyPy 3-64 | TESTS | 2 | 77 | 3788800 | 800 | |
180681607 | Anti-Neutrino | A | Nov. 12, 2022, 8 p.m. | OK | PyPy 3-64 | TESTS | 2 | 77 | 5324800 | 800 | |
180658444 | sangram03 | A | Nov. 12, 2022, 4:53 p.m. | OK | PyPy 3-64 | TESTS | 2 | 77 | 5836800 | 800 | |
180689132 | math_for_life | A | Nov. 12, 2022, 9:08 p.m. | OK | PyPy 3-64 | TESTS | 2 | 77 | 6348800 | 800 | |
180661935 | ebesso | A | Nov. 12, 2022, 5:19 p.m. | OK | PyPy 3-64 | TESTS | 2 | 77 | 135270400 | 800 | |
180660801 | 1_2_3_4_5_9 | A | Nov. 12, 2022, 5:10 p.m. | OK | PyPy 3-64 | TESTS | 2 | 93 | 14540800 | 800 | |
180656138 | oneku | A | Nov. 12, 2022, 4:34 p.m. | OK | PyPy 3-64 | TESTS | 2 | 124 | 10240000 | 800 | |
180669426 | missemor | A | Nov. 12, 2022, 6:35 p.m. | OK | PyPy 3-64 | TESTS | 2 | 171 | 6656000 | 800 | |
180644731 | Rohit1009 | A | Nov. 12, 2022, 3:53 p.m. | OK | Python 3 | TESTS | 2 | 46 | 0 | 800 | |
180661350 | 2momo2 | A | Nov. 12, 2022, 5:14 p.m. | OK | Python 3 | TESTS | 2 | 46 | 307200 | 800 | |
180656312 | Osamaaaayman | A | Nov. 12, 2022, 4:34 p.m. | OK | Python 3 | TESTS | 2 | 77 | 0 | 800 | |
180657778 | NS3081992 | A | Nov. 12, 2022, 4:50 p.m. | OK | Python 3 | TESTS | 2 | 92 | 102400 | 800 | |
180663348 | shane17 | A | Nov. 12, 2022, 5:32 p.m. | OK | Python 3 | TESTS | 2 | 93 | 0 | 800 | |
180660036 | kir_at_07 | A | Nov. 12, 2022, 5:04 p.m. | OK | Python 3 | TESTS | 2 | 93 | 0 | 800 | |
180651586 | OrekiW | A | Nov. 12, 2022, 4:18 p.m. | OK | Python 3 | TESTS | 2 | 93 | 0 | 800 | |
180701110 | Nev8r | A | Nov. 13, 2022, 2:56 a.m. | OK | Python 3 | TESTS | 2 | 108 | 0 | 800 | |
180700905 | Asmat.S_SundarSTEM | A | Nov. 13, 2022, 2:52 a.m. | OK | Python 3 | TESTS | 2 | 108 | 0 | 800 | |
180689520 | Peniel | A | Nov. 12, 2022, 9:16 p.m. | OK | Python 3 | TESTS | 2 | 108 | 0 | 800 | |
180658777 | p-a-t | A | Nov. 12, 2022, 4:55 p.m. | OK | Rust 2021 | TESTS | 2 | 0 | 0 | 800 | |
180651912 | controllerOfWorlds | A | Nov. 12, 2022, 4:19 p.m. | OK | Rust 2021 | TESTS | 2 | 93 | 0 | 800 |
Back to search problems