Codeforces Round 674 (Div. 3)

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
1426 Codeforces Round 674 (Div. 3) FINISHED False 7200 135899663 Sept. 28, 2020, 8:05 a.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 19613 ) C Increase and Copy PROGRAMMING binary search constructive algorithms math 1100

B'Initially, you have the array a consisting of one element 1 ( a = [1] ). In one move, you can do one of the following things: For example, consider the sequence of five moves: Your task is to find the minimum number of moves required to obtain the array with the sum at least n . You have to answer t independent test cases. The first line of the input contains one integer t ( 1 <= t <= 1000 ) -- the number of test cases. Then t test cases follow. The only line of the test case contains one integer n ( 1 <= n <= 10^9 ) -- the lower bound on the sum of the array. For each test case, print the answer: the minimum number of moves required to obtain the array with the sum at least n . '...

Tutorials

83120

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
94131963 princemahesh741686 C Sept. 28, 2020, 1:35 p.m. OK GNU C11 TESTS 4 15 0 1100
94175581 BugLeave C Sept. 29, 2020, 4:06 a.m. OK GNU C11 TESTS 4 15 0 1100
94115878 joonyeong C Sept. 28, 2020, 10:43 a.m. OK GNU C11 TESTS 4 30 0 1100
94120358 link_pot C Sept. 28, 2020, 11:32 a.m. OK GNU C11 TESTS 4 30 0 1100
94120612 fahimalhasan2019 C Sept. 28, 2020, 11:35 a.m. OK GNU C11 TESTS 4 30 0 1100
94117479 pranavkumar1423 C Sept. 28, 2020, 11:01 a.m. OK GNU C11 TESTS 4 31 0 1100
94115360 3434194763HieuPT C Sept. 28, 2020, 10:37 a.m. OK GNU C11 TESTS 4 31 0 1100
94119439 joonyeong C Sept. 28, 2020, 11:22 a.m. OK GNU C11 TESTS 4 31 0 1100
94155623 rexim C Sept. 28, 2020, 6:13 p.m. OK GNU C11 TESTS 4 31 0 1100
94125905 L_for_lol C Sept. 28, 2020, 12:32 p.m. OK GNU C11 TESTS 4 62 0 1100
94180273 vishydeepi C Sept. 29, 2020, 5:44 a.m. OK GNU C++11 TESTS 4 15 0 1100
94180599 hyy-hhh-hyy C Sept. 29, 2020, 5:50 a.m. OK GNU C++11 TESTS 4 15 0 1100
94178408 ljfty C Sept. 29, 2020, 5:08 a.m. OK GNU C++11 TESTS 4 15 0 1100
94177893 golder_ C Sept. 29, 2020, 4:58 a.m. OK GNU C++11 TESTS 4 15 0 1100
94176133 STDquantum C Sept. 29, 2020, 4:20 a.m. OK GNU C++11 TESTS 4 15 0 1100
94175946 STDquantum C Sept. 29, 2020, 4:16 a.m. OK GNU C++11 TESTS 4 15 0 1100
94175880 STDquantum C Sept. 29, 2020, 4:14 a.m. OK GNU C++11 TESTS 4 15 0 1100
94174773 _ShadowSong C Sept. 29, 2020, 3:46 a.m. OK GNU C++11 TESTS 4 15 0 1100
94172529 _Fizzz_ C Sept. 29, 2020, 2:49 a.m. OK GNU C++11 TESTS 4 15 0 1100
94169665 CrMo C Sept. 29, 2020, 1:08 a.m. OK GNU C++11 TESTS 4 15 0 1100
94160697 Hitlerr C Sept. 28, 2020, 7:45 p.m. OK GNU C++14 TESTS 4 15 0 1100
94161233 ritulaggarwal C Sept. 28, 2020, 7:57 p.m. OK GNU C++14 TESTS 4 15 0 1100
94161365 ARMi C Sept. 28, 2020, 8 p.m. OK GNU C++14 TESTS 4 15 0 1100
94163533 dakshgarg C Sept. 28, 2020, 8:52 p.m. OK GNU C++14 TESTS 4 15 0 1100
94165463 Riad.IIT7 C Sept. 28, 2020, 9:49 p.m. OK GNU C++14 TESTS 4 15 0 1100
94170186 Bekh C Sept. 29, 2020, 1:29 a.m. OK GNU C++14 TESTS 4 15 0 1100
94171123 Passersby C Sept. 29, 2020, 2:02 a.m. OK GNU C++14 TESTS 4 15 0 1100
94173204 tzar C Sept. 29, 2020, 3:07 a.m. OK GNU C++14 TESTS 4 15 0 1100
94177322 AdityaSonani472 C Sept. 29, 2020, 4:45 a.m. OK GNU C++14 TESTS 4 15 0 1100
94160137 amrmohamed09 C Sept. 28, 2020, 7:34 p.m. OK GNU C++14 TESTS 4 15 0 1100
94115474 robosapien C Sept. 28, 2020, 10:38 a.m. OK GNU C++17 TESTS 4 0 0 1100
94180672 neemoo C Sept. 29, 2020, 5:51 a.m. OK GNU C++17 TESTS 4 15 0 1100
94179996 Avi25 C Sept. 29, 2020, 5:38 a.m. OK GNU C++17 TESTS 4 15 0 1100
94179578 VivekUchiha C Sept. 29, 2020, 5:30 a.m. OK GNU C++17 TESTS 4 15 0 1100
94176434 apoorva98 C Sept. 29, 2020, 4:27 a.m. OK GNU C++17 TESTS 4 15 0 1100
94175119 Hakaishin C Sept. 29, 2020, 3:54 a.m. OK GNU C++17 TESTS 4 15 0 1100
94173991 Last_whisper C Sept. 29, 2020, 3:27 a.m. OK GNU C++17 TESTS 4 15 0 1100
94173306 Shad0w101 C Sept. 29, 2020, 3:09 a.m. OK GNU C++17 TESTS 4 15 0 1100
94173281 deepakdpk77 C Sept. 29, 2020, 3:09 a.m. OK GNU C++17 TESTS 4 15 0 1100
94173202 coderpibi C Sept. 29, 2020, 3:07 a.m. OK GNU C++17 TESTS 4 15 0 1100
94154767 galen_colin C Sept. 28, 2020, 5:57 p.m. OK GNU C++17 (64) TESTS 4 0 20070400 1100
94159191 Xyzil C Sept. 28, 2020, 7:15 p.m. OK GNU C++17 (64) TESTS 4 15 0 1100
94179433 ayush_nishad C Sept. 29, 2020, 5:28 a.m. OK GNU C++17 (64) TESTS 4 15 0 1100
94176805 shashwat2000 C Sept. 29, 2020, 4:35 a.m. OK GNU C++17 (64) TESTS 4 15 0 1100
94171830 Luu_Nhi_Skyer C Sept. 29, 2020, 2:27 a.m. OK GNU C++17 (64) TESTS 4 15 0 1100
94170800 DanielMontes C Sept. 29, 2020, 1:52 a.m. OK GNU C++17 (64) TESTS 4 15 0 1100
94161259 Oxygen. C Sept. 28, 2020, 7:58 p.m. OK GNU C++17 (64) TESTS 4 15 0 1100
94160682 kyo1 C Sept. 28, 2020, 7:44 p.m. OK GNU C++17 (64) TESTS 4 15 0 1100
94151399 31naretidem C Sept. 28, 2020, 5:09 p.m. OK GNU C++17 (64) TESTS 4 15 0 1100
94149116 zxcv_1 C Sept. 28, 2020, 4:40 p.m. OK GNU C++17 (64) TESTS 4 15 0 1100
94171490 synapse C Sept. 29, 2020, 2:15 a.m. OK Go TESTS 4 31 0 1100
94113976 saeed_odak C Sept. 28, 2020, 10:24 a.m. OK Go TESTS 4 233 0 1100
94139558 codelegend C Sept. 28, 2020, 2:53 p.m. OK Haskell TESTS 4 30 0 1100
94124853 jakoma02 C Sept. 28, 2020, 12:20 p.m. OK Haskell TESTS 4 30 0 1100
94160661 RuthlessAggression C Sept. 28, 2020, 7:44 p.m. OK Java 11 TESTS 4 171 0 1100
94174915 Durgeshmaurya07 C Sept. 29, 2020, 3:50 a.m. OK Java 11 TESTS 4 171 0 1100
94156286 Agnimandur C Sept. 28, 2020, 6:25 p.m. OK Java 11 TESTS 4 171 0 1100
94114815 jaynils C Sept. 28, 2020, 10:31 a.m. OK Java 11 TESTS 4 187 0 1100
94175030 Durgeshmaurya07 C Sept. 29, 2020, 3:52 a.m. OK Java 11 TESTS 4 187 0 1100
94127846 nirvana_rsc C Sept. 28, 2020, 12:52 p.m. OK Java 11 TESTS 4 187 0 1100
94119558 nalin_1000101 C Sept. 28, 2020, 11:24 a.m. OK Java 11 TESTS 4 187 3072000 1100
94176088 maihitohu C Sept. 29, 2020, 4:19 a.m. OK Java 11 TESTS 4 202 0 1100
94174859 Willem C Sept. 29, 2020, 3:48 a.m. OK Java 11 TESTS 4 202 0 1100
94181009 starkspi C Sept. 29, 2020, 5:58 a.m. OK Java 11 TESTS 4 202 0 1100
94139543 ritesharma C Sept. 28, 2020, 2:53 p.m. OK Java 8 TESTS 4 93 0 1100
94112057 nandit C Sept. 28, 2020, 10:10 a.m. OK Java 8 TESTS 3 108 0 1100
94174044 mananparmar7042 C Sept. 29, 2020, 3:28 a.m. OK Java 8 TESTS 4 108 0 1100
94154849 Debojit219 C Sept. 28, 2020, 5:58 p.m. OK Java 8 TESTS 4 109 0 1100
94130183 O-infinity C Sept. 28, 2020, 1:17 p.m. OK Java 8 TESTS 4 109 0 1100
94114404 gagan_6730 C Sept. 28, 2020, 10:28 a.m. OK Java 8 TESTS 4 109 0 1100
94138476 AFouad204 C Sept. 28, 2020, 2:42 p.m. OK Java 8 TESTS 4 109 0 1100
94178046 jagrit_07 C Sept. 29, 2020, 5:01 a.m. OK Java 8 TESTS 4 109 0 1100
94166300 icpc_loser C Sept. 28, 2020, 10:22 p.m. OK Java 8 TESTS 4 109 0 1100
94127061 abhideepd C Sept. 28, 2020, 12:43 p.m. OK Java 8 TESTS 4 139 0 1100
94163017 zazak C Sept. 28, 2020, 8:38 p.m. OK Mono C# TESTS 4 62 0 1100
94161377 tawfekhesham C Sept. 28, 2020, 8 p.m. OK MS C++ 2017 TESTS 4 15 0 1100
94135722 vladnoov C Sept. 28, 2020, 2:14 p.m. OK MS C++ 2017 TESTS 4 30 0 1100
94121718 gaserashraf C Sept. 28, 2020, 11:47 a.m. OK MS C++ 2017 TESTS 4 31 0 1100
94152939 ledza228 C Sept. 28, 2020, 5:30 p.m. OK MS C++ 2017 TESTS 4 31 0 1100
94152478 Sangwans C Sept. 28, 2020, 5:24 p.m. OK MS C++ 2017 TESTS 4 31 0 1100
94115137 VladislavArt C Sept. 28, 2020, 10:35 a.m. OK MS C++ 2017 TESTS 4 31 0 1100
94113657 Arn_Step_1 C Sept. 28, 2020, 10:21 a.m. OK MS C++ 2017 TESTS 4 31 0 1100
94142582 DiSTRuCtO C Sept. 28, 2020, 3:24 p.m. OK MS C++ 2017 TESTS 4 46 0 1100
94161114 tawfekhesham C Sept. 28, 2020, 7:54 p.m. OK MS C++ 2017 TESTS 4 62 0 1100
94162240 poulaatef C Sept. 28, 2020, 8:20 p.m. OK MS C++ 2017 TESTS 4 62 0 1100
94147323 explorer_sifat C Sept. 28, 2020, 4:18 p.m. OK Node.js TESTS 4 93 1331200 1100
94147649 explorer_sifat C Sept. 28, 2020, 4:22 p.m. OK Node.js TESTS 4 186 1740800 1100
94151248 ____ankit_sm____ C Sept. 28, 2020, 5:07 p.m. OK PyPy 2 TESTS 4 436 819200 1100
94165912 asdsasd C Sept. 28, 2020, 10:06 p.m. OK PyPy 3 TESTS 4 139 1843200 1100
94119380 HUMAN_ C Sept. 28, 2020, 11:22 a.m. OK PyPy 3 TESTS 4 140 1740800 1100
94166705 caow C Sept. 28, 2020, 10:41 p.m. OK PyPy 3 TESTS 4 155 1536000 1100
94118156 not_a_spy C Sept. 28, 2020, 11:09 a.m. OK PyPy 3 TESTS 4 155 1843200 1100
94118540 Nifer C Sept. 28, 2020, 11:12 a.m. OK PyPy 3 TESTS 4 170 2764800 1100
94132045 Shankhadeep C Sept. 28, 2020, 1:36 p.m. OK PyPy 3 TESTS 4 171 512000 1100
94150250 e.m.blagov C Sept. 28, 2020, 4:54 p.m. OK PyPy 3 TESTS 4 171 1843200 1100
94127119 Rudresh C Sept. 28, 2020, 12:44 p.m. OK PyPy 3 TESTS 4 171 2764800 1100
94163935 Gregoryels C Sept. 28, 2020, 9:03 p.m. OK PyPy 3 TESTS 4 171 2764800 1100
94116434 Arsenyrud C Sept. 28, 2020, 10:49 a.m. OK PyPy 3 TESTS 4 171 2764800 1100
94164783 Loza321 C Sept. 28, 2020, 9:26 p.m. OK Python 3 TESTS 4 93 0 1100
94157901 abkc1221 C Sept. 28, 2020, 6:53 p.m. OK Python 3 TESTS 4 93 0 1100
94154234 deepchauhan18 C Sept. 28, 2020, 5:48 p.m. OK Python 3 TESTS 4 93 0 1100
94148085 tamahom C Sept. 28, 2020, 4:28 p.m. OK Python 3 TESTS 4 93 0 1100
94141167 swagsy2000 C Sept. 28, 2020, 3:10 p.m. OK Python 3 TESTS 4 93 0 1100
94136311 munna.mar11 C Sept. 28, 2020, 2:20 p.m. OK Python 3 TESTS 4 93 0 1100
94117221 amr_anwr C Sept. 28, 2020, 10:58 a.m. OK Python 3 TESTS 4 93 0 1100
94112133 Tony_Stark3000 C Sept. 28, 2020, 10:10 a.m. OK Python 3 TESTS 3 93 0 1100
94151978 Moondecoder C Sept. 28, 2020, 5:17 p.m. OK Python 3 TESTS 4 93 307200 1100
94151915 Moondecoder C Sept. 28, 2020, 5:16 p.m. OK Python 3 TESTS 4 93 307200 1100
94130155 tuna_salad C Sept. 28, 2020, 1:16 p.m. OK Rust TESTS 4 31 0 1100
94115838 manta1130 C Sept. 28, 2020, 10:42 a.m. OK Rust TESTS 4 108 0 1100
94123941 Paranid5 C Sept. 28, 2020, 12:10 p.m. OK Rust TESTS 4 140 0 1100

remove filters

Back to search problems