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 |
---|---|---|---|---|---|---|
1530 | Codeforces Round 733 (Div. 1 + Div. 2, based on VK Cup 2021 - Elimination (Engine)) | FINISHED | False | 10800 | 110647463 | July 17, 2021, 2:35 p.m. |
Solved$ |
Index |
Name |
Type |
Tags |
Community Tag |
Rating |
---|---|---|---|---|---|---|
( 21200 ) | A | Binary Decimal | PROGRAMMING | math |
B"Let's call a number a binary decimal if it's a positive integer and all digits in its decimal notation are either 0 or 1 . For example, 1 ,010 ,111 is a binary decimal, while 10 ,201 and 787 ,788 are not. Given a number n , you are asked to represent n as a sum of some (not necessarily distinct) binary decimals. Compute the smallest number of binary decimals required for that. The first line contains a single integer t ( 1 <= t <= 1000 ), denoting the number of test cases. The only line of each test case contains a single integer n ( 1 <= n <= 10^9 ), denoting the number to be represented. For each test case, output the smallest number of binary decimals required to represent n as a sum. In the first test case, 121 can be represented as 121 = 110 + 11 or 121 = 111 + 10 . In the second test case, 5 can be represented as 5 = 1 + 1 + 1 + 1 + 1 . In the third test case, 1 ,000 ,000 ,000 is a binary decimal itself, thus the answer is 1 . "... |
Codeforces Round #733 Editorial (all problems) |
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
---|---|---|---|---|---|---|---|---|---|---|---|
122879153 | tongtongac | A | July 18, 2021, 2:08 a.m. | OK | Clang++17 Diagnostics | TESTS | 11 | 62 | 280064000 | ||
122854047 | Universality_factor | A | July 17, 2021, 5:23 p.m. | OK | GNU C11 | TESTS | 11 | 15 | 3686400 | ||
122881134 | Zhang_kg | A | July 18, 2021, 2:51 a.m. | OK | GNU C11 | TESTS | 11 | 15 | 3686400 | ||
122888830 | Tandav | A | July 18, 2021, 5:02 a.m. | OK | GNU C11 | TESTS | 11 | 31 | 3686400 | ||
122873194 | tsukidesu | A | July 17, 2021, 10:48 p.m. | OK | GNU C11 | TESTS | 11 | 31 | 3686400 | ||
122868436 | KCMsaum | A | July 17, 2021, 8:25 p.m. | OK | GNU C11 | TESTS | 11 | 31 | 3686400 | ||
122858383 | vatsalgandhi83 | A | July 17, 2021, 5:34 p.m. | OK | GNU C11 | TESTS | 11 | 31 | 3686400 | ||
122882751 | 39318Tam | A | July 18, 2021, 3:22 a.m. | OK | GNU C11 | TESTS | 11 | 31 | 3686400 | ||
122892899 | Mercersfire | A | July 18, 2021, 6 a.m. | OK | GNU C11 | TESTS | 11 | 31 | 3686400 | ||
122892101 | Anindya0_0 | A | July 18, 2021, 5:49 a.m. | OK | GNU C11 | TESTS | 11 | 31 | 3686400 | ||
122851775 | dushyantist | A | July 17, 2021, 5:16 p.m. | OK | GNU C11 | TESTS | 11 | 31 | 3686400 | ||
122877604 | zwu2019014749 | A | July 18, 2021, 1:26 a.m. | OK | GNU C++11 | TESTS | 11 | 15 | 3686400 | ||
122876710 | qingchan | A | July 18, 2021, 1:01 a.m. | OK | GNU C++11 | TESTS | 11 | 15 | 3686400 | ||
122877617 | wkywky | A | July 18, 2021, 1:26 a.m. | OK | GNU C++11 | TESTS | 11 | 15 | 3891200 | ||
122877483 | Kenshin2438 | A | July 18, 2021, 1:23 a.m. | OK | GNU C++11 | TESTS | 11 | 15 | 3891200 | ||
122891531 | lalala69 | A | July 18, 2021, 5:41 a.m. | OK | GNU C++11 | TESTS | 11 | 15 | 3891200 | ||
122890892 | jdsb | A | July 18, 2021, 5:33 a.m. | OK | GNU C++11 | TESTS | 11 | 15 | 3891200 | ||
122886269 | coolball | A | July 18, 2021, 4:22 a.m. | OK | GNU C++11 | TESTS | 11 | 15 | 3891200 | ||
122884856 | Daniel_yuan | A | July 18, 2021, 3:58 a.m. | OK | GNU C++11 | TESTS | 11 | 15 | 3891200 | ||
122884682 | anshul_0074 | A | July 18, 2021, 3:56 a.m. | OK | GNU C++11 | TESTS | 11 | 15 | 3891200 | ||
122883105 | TheRedGoose | A | July 18, 2021, 3:28 a.m. | OK | GNU C++11 | TESTS | 11 | 15 | 3891200 | ||
122869707 | mostafa.ashraf2 | A | July 17, 2021, 8:52 p.m. | OK | GNU C++14 | TESTS | 11 | 15 | 3686400 | ||
122882812 | mibig | A | July 18, 2021, 3:23 a.m. | OK | GNU C++14 | TESTS | 11 | 15 | 3686400 | ||
122884296 | brianlee0415 | A | July 18, 2021, 3:48 a.m. | OK | GNU C++14 | TESTS | 11 | 15 | 3686400 | ||
122885663 | Sid_7899 | A | July 18, 2021, 4:11 a.m. | OK | GNU C++14 | TESTS | 11 | 15 | 3686400 | ||
122886260 | TheCypher | A | July 18, 2021, 4:21 a.m. | OK | GNU C++14 | TESTS | 11 | 15 | 3686400 | ||
122881265 | Hey1234_1234 | A | July 18, 2021, 2:54 a.m. | OK | GNU C++14 | TESTS | 11 | 15 | 3686400 | ||
122881172 | animesh01 | A | July 18, 2021, 2:52 a.m. | OK | GNU C++14 | TESTS | 11 | 15 | 3686400 | ||
122880827 | VTJ | A | July 18, 2021, 2:45 a.m. | OK | GNU C++14 | TESTS | 11 | 15 | 3686400 | ||
122875511 | amitray1608 | A | July 18, 2021, 12:20 a.m. | OK | GNU C++14 | TESTS | 11 | 15 | 3686400 | ||
122871500 | KNightMaReee | A | July 17, 2021, 9:44 p.m. | OK | GNU C++14 | TESTS | 11 | 15 | 3686400 | ||
122892811 | Shavya | A | July 18, 2021, 5:58 a.m. | OK | GNU C++17 | TESTS | 11 | 15 | 3686400 | ||
122889306 | Athem | A | July 18, 2021, 5:09 a.m. | OK | GNU C++17 | TESTS | 11 | 15 | 3686400 | ||
122883802 | Amanshah123 | A | July 18, 2021, 3:40 a.m. | OK | GNU C++17 | TESTS | 11 | 15 | 3686400 | ||
122880175 | anurag203 | A | July 18, 2021, 2:31 a.m. | OK | GNU C++17 | TESTS | 11 | 15 | 3686400 | ||
122875127 | SajibKC_19 | A | July 18, 2021, 12:05 a.m. | OK | GNU C++17 | TESTS | 11 | 15 | 3686400 | ||
122869946 | tanjil-ahmed | A | July 17, 2021, 8:58 p.m. | OK | GNU C++17 | TESTS | 11 | 15 | 3686400 | ||
122868330 | yashasvi_xvi | A | July 17, 2021, 8:23 p.m. | OK | GNU C++17 | TESTS | 11 | 15 | 3686400 | ||
122867850 | S_T_A_R_K | A | July 17, 2021, 8:14 p.m. | OK | GNU C++17 | TESTS | 11 | 15 | 3686400 | ||
122867137 | confuzedcoder | A | July 17, 2021, 8:01 p.m. | OK | GNU C++17 | TESTS | 11 | 15 | 3686400 | ||
122866724 | milind0110 | A | July 17, 2021, 7:55 p.m. | OK | GNU C++17 | TESTS | 11 | 15 | 3686400 | ||
122884217 | adityasonani | A | July 18, 2021, 3:47 a.m. | OK | GNU C++17 (64) | TESTS | 11 | 15 | 4300800 | ||
122888152 | sugam10 | A | July 18, 2021, 4:52 a.m. | OK | GNU C++17 (64) | TESTS | 11 | 15 | 4300800 | ||
122887298 | fr1234 | A | July 18, 2021, 4:39 a.m. | OK | GNU C++17 (64) | TESTS | 11 | 15 | 4300800 | ||
122887271 | yinzeimaiyin | A | July 18, 2021, 4:39 a.m. | OK | GNU C++17 (64) | TESTS | 11 | 15 | 4300800 | ||
122887070 | sahil_bajaj | A | July 18, 2021, 4:36 a.m. | OK | GNU C++17 (64) | TESTS | 11 | 15 | 4300800 | ||
122886851 | mavking_ | A | July 18, 2021, 4:31 a.m. | OK | GNU C++17 (64) | TESTS | 11 | 15 | 4300800 | ||
122886356 | TAoz1 | A | July 18, 2021, 4:23 a.m. | OK | GNU C++17 (64) | TESTS | 11 | 15 | 4300800 | ||
122885424 | AMO5 | A | July 18, 2021, 4:07 a.m. | OK | GNU C++17 (64) | TESTS | 11 | 15 | 4300800 | ||
122885055 | Sriram_2002 | A | July 18, 2021, 4:01 a.m. | OK | GNU C++17 (64) | TESTS | 11 | 15 | 4300800 | ||
122882018 | TheAnmolMalik | A | July 18, 2021, 3:08 a.m. | OK | GNU C++17 (64) | TESTS | 11 | 15 | 4300800 | ||
122864958 | Andwerp | A | July 17, 2021, 7:33 p.m. | OK | Java 11 | TESTS | 11 | 171 | 24268800 | ||
122851555 | nirmal_8 | A | July 17, 2021, 5:15 p.m. | OK | Java 11 | TESTS | 11 | 186 | 24371200 | ||
122876526 | YMSeah | A | July 18, 2021, 12:56 a.m. | OK | Java 11 | TESTS | 11 | 187 | 24268800 | ||
122875048 | mandalrahul | A | July 18, 2021, 12:02 a.m. | OK | Java 11 | TESTS | 11 | 187 | 24371200 | ||
122892777 | SaberXpro | A | July 18, 2021, 5:58 a.m. | OK | Java 11 | TESTS | 11 | 187 | 24371200 | ||
122872126 | yudi23 | A | July 17, 2021, 10:06 p.m. | OK | Java 11 | TESTS | 11 | 187 | 24371200 | ||
122850837 | quyenpham2000 | A | July 17, 2021, 5:13 p.m. | OK | Java 11 | TESTS | 11 | 187 | 57958400 | ||
122880633 | Tourist_ka_baap777 | A | July 18, 2021, 2:41 a.m. | OK | Java 11 | TESTS | 11 | 202 | 24371200 | ||
122874431 | AyushS_cg170 | A | July 17, 2021, 11:38 p.m. | OK | Java 11 | TESTS | 11 | 202 | 24371200 | ||
122880342 | khan_sb | A | July 18, 2021, 2:35 a.m. | OK | Java 11 | TESTS | 11 | 202 | 24371200 | ||
122870804 | pdk.abhishek | A | July 17, 2021, 9:22 p.m. | OK | Java 8 | TESTS | 11 | 108 | 20992000 | ||
122886651 | pikachu_pika_pika | A | July 18, 2021, 4:28 a.m. | OK | Java 8 | TESTS | 11 | 109 | 20992000 | ||
122887142 | MJ21 | A | July 18, 2021, 4:37 a.m. | OK | Java 8 | TESTS | 11 | 109 | 20992000 | ||
122886873 | ZeuS_4 | A | July 18, 2021, 4:32 a.m. | OK | Java 8 | TESTS | 11 | 109 | 20992000 | ||
122873174 | qlf9 | A | July 17, 2021, 10:47 p.m. | OK | Java 8 | TESTS | 11 | 109 | 20992000 | ||
122864538 | kzhang2012 | A | July 17, 2021, 7:29 p.m. | OK | Java 8 | TESTS | 11 | 109 | 20992000 | ||
122889939 | Pranay2516 | A | July 18, 2021, 5:18 a.m. | OK | Java 8 | TESTS | 11 | 124 | 20889600 | ||
122877596 | amit_roy | A | July 18, 2021, 1:26 a.m. | OK | Java 8 | TESTS | 11 | 124 | 20992000 | ||
122874041 | OBAD_HFS | A | July 17, 2021, 11:23 p.m. | OK | Java 8 | TESTS | 11 | 124 | 20992000 | ||
122873903 | coolManit | A | July 17, 2021, 11:17 p.m. | OK | Java 8 | TESTS | 11 | 124 | 20992000 | ||
122871107 | codersanjeev | A | July 17, 2021, 9:32 p.m. | OK | Kotlin | TESTS | 11 | 124 | 21094400 | ||
122865781 | koboshi | A | July 17, 2021, 7:43 p.m. | OK | Kotlin | TESTS | 11 | 140 | 23244800 | ||
122891660 | cobratamer | A | July 18, 2021, 5:42 a.m. | OK | Kotlin | TESTS | 11 | 155 | 22732800 | ||
122884623 | OIerwsq | A | July 18, 2021, 3:54 a.m. | OK | MS C++ | TESTS | 11 | 31 | 3891200 | ||
122884520 | chinaoierlby | A | July 18, 2021, 3:53 a.m. | OK | MS C++ | TESTS | 11 | 31 | 3891200 | ||
122865848 | Tangerine | A | July 17, 2021, 7:44 p.m. | OK | MS C++ 2017 | TESTS | 11 | 30 | 3788800 | ||
122879037 | utkarsh_2237 | A | July 18, 2021, 2:05 a.m. | OK | MS C++ 2017 | TESTS | 11 | 31 | 3788800 | ||
122875634 | wenmingjianpanxia | A | July 18, 2021, 12:25 a.m. | OK | MS C++ 2017 | TESTS | 11 | 31 | 3788800 | ||
122866249 | YoghurtPL | A | July 17, 2021, 7:49 p.m. | OK | MS C++ 2017 | TESTS | 11 | 31 | 3788800 | ||
122884570 | bkifhr6 | A | July 18, 2021, 3:53 a.m. | OK | MS C++ 2017 | TESTS | 11 | 31 | 3891200 | ||
122875787 | zhangpangpang | A | July 18, 2021, 12:31 a.m. | OK | MS C++ 2017 | TESTS | 11 | 93 | 59904000 | ||
122865714 | Code_100 | A | July 17, 2021, 7:42 p.m. | OK | PyPy 3 | TESTS | 11 | 108 | 22323200 | ||
122864992 | nitish420 | A | July 17, 2021, 7:33 p.m. | OK | PyPy 3 | TESTS | 11 | 109 | 22220800 | ||
122868735 | _aadiupadhyay_ | A | July 17, 2021, 8:30 p.m. | OK | PyPy 3 | TESTS | 11 | 109 | 22732800 | ||
122887476 | rivnam | A | July 18, 2021, 4:42 a.m. | OK | PyPy 3 | TESTS | 11 | 124 | 21504000 | ||
122892100 | skhan_org | A | July 18, 2021, 5:49 a.m. | OK | PyPy 3 | TESTS | 11 | 124 | 22528000 | ||
122864588 | Het_Fadia | A | July 17, 2021, 7:29 p.m. | OK | PyPy 3 | TESTS | 11 | 124 | 22528000 | ||
122878684 | papergundam | A | July 18, 2021, 1:55 a.m. | OK | PyPy 3 | TESTS | 11 | 140 | 22323200 | ||
122869527 | NightCrawler07 | A | July 17, 2021, 8:48 p.m. | OK | PyPy 3 | TESTS | 11 | 140 | 22732800 | ||
122869149 | suchadisappointmentiam | A | July 17, 2021, 8:39 p.m. | OK | PyPy 3 | TESTS | 11 | 140 | 23859200 | ||
122866813 | collegedays | A | July 17, 2021, 7:56 p.m. | OK | PyPy 3 | TESTS | 11 | 140 | 24064000 | ||
122888729 | biltharesatyendra | A | July 18, 2021, 5 a.m. | OK | Python 2 | TESTS | 11 | 77 | 6553600 | ||
122873093 | eugalt | A | July 17, 2021, 10:43 p.m. | OK | Python 3 | TESTS | 11 | 61 | 6963200 | ||
122892886 | the_emerging_coder | A | July 18, 2021, 5:59 a.m. | OK | Python 3 | TESTS | 11 | 62 | 6758400 | ||
122892815 | MohammadsadraSedighin | A | July 18, 2021, 5:58 a.m. | OK | Python 3 | TESTS | 11 | 62 | 6758400 | ||
122892716 | rakesh_123 | A | July 18, 2021, 5:57 a.m. | OK | Python 3 | TESTS | 11 | 62 | 6758400 | ||
122892369 | sammy5242 | A | July 18, 2021, 5:52 a.m. | OK | Python 3 | TESTS | 11 | 62 | 6758400 | ||
122879527 | bntt2007 | A | July 18, 2021, 2:17 a.m. | OK | Python 3 | TESTS | 11 | 62 | 6758400 | ||
122879262 | jkjk22 | A | July 18, 2021, 2:11 a.m. | OK | Python 3 | TESTS | 11 | 62 | 6758400 | ||
122868192 | SkyPC | A | July 17, 2021, 8:20 p.m. | OK | Python 3 | TESTS | 11 | 62 | 6758400 | ||
122867708 | VioletVal | A | July 17, 2021, 8:11 p.m. | OK | Python 3 | TESTS | 11 | 62 | 6758400 | ||
122867087 | kishank123 | A | July 17, 2021, 8 p.m. | OK | Python 3 | TESTS | 11 | 62 | 6758400 |
Back to search problems