Codeforces Round 633 (Div. 1)

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
1338 Codeforces Round 633 (Div. 1) FINISHED False 7200 145122899 April 12, 2020, 2:05 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 3232 ) C Perfect Triples PROGRAMMING bitmasks brute force constructive algorithms divide and conquer greedy implementation math #633A

B'Consider the infinite sequence s of positive integers, created by repeating the following steps: You have integer n . Find the n -th element of s . You have to answer t independent test cases. A sequence a is lexicographically smaller than a sequence b if in the first position where a and b differ, the sequence a has a smaller element than the corresponding element in b . The first line contains a single integer t ( 1 <= t <= 10^5 ) -- the number of test cases. Each of the next t lines contains a single integer n ( 1 <= n <= 10^{16} ) -- the position of the element you want to know. In each of the t lines, output the answer to the corresponding test case. The first elements of s are 1, 2, 3, 4, 8, 12, 5, 10, 15, ... '...

Tutorials

Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
76430836 alka.saigak C April 12, 2020, 9:15 p.m. OK Clang++17 Diagnostics TESTS 64 1996 6348800
76364275 hos.lyric C April 12, 2020, 2:45 p.m. OK D TESTS 64 327 1945600
76375759 Gassa C April 12, 2020, 3:04 p.m. OK D TESTS 64 624 1945600
76439447 dysyn1314 C April 13, 2020, 1:08 a.m. OK GNU C++11 TESTS 64 62 2150400
76437739 xh092113 C April 13, 2020, 12:17 a.m. OK GNU C++11 TESTS 64 78 0
76386726 xgcxgc C April 12, 2020, 3:27 p.m. OK GNU C++11 TESTS 64 78 0
76442020 luogu_bot3 C April 13, 2020, 2:18 a.m. OK GNU C++11 TESTS 64 93 0
76438547 froggyzhang C April 13, 2020, 12:40 a.m. OK GNU C++11 TESTS 64 93 0
76408084 QieziMin C April 12, 2020, 5:02 p.m. OK GNU C++11 TESTS 64 93 0
76387909 froggyzhang C April 12, 2020, 3:29 p.m. OK GNU C++11 TESTS 64 93 0
76380454 Kongweijia C April 12, 2020, 3:13 p.m. OK GNU C++11 TESTS 64 93 0
76374105 A.K.E.E. C April 12, 2020, 3:01 p.m. OK GNU C++11 TESTS 64 93 0
76369830 msuwakow C April 12, 2020, 2:54 p.m. OK GNU C++11 TESTS 64 93 204800
76415074 dlalswp25 C April 12, 2020, 5:56 p.m. OK GNU C++14 TESTS 64 109 0
76397604 KbMu C April 12, 2020, 3:51 p.m. OK GNU C++14 TESTS 64 109 32256000
76447931 Alfalfa_w C April 13, 2020, 4:24 a.m. OK GNU C++14 TESTS 64 124 0
76447788 firiexp C April 13, 2020, 4:21 a.m. OK GNU C++14 TESTS 64 124 0
76412786 ahoraSoyPeor C April 12, 2020, 5:37 p.m. OK GNU C++14 TESTS 64 124 0
76407658 VLamarca C April 12, 2020, 5 p.m. OK GNU C++14 TESTS 64 124 0
76395993 Heart_Blue C April 12, 2020, 3:48 p.m. OK GNU C++14 TESTS 64 124 0
76394686 schtomi97 C April 12, 2020, 3:45 p.m. OK GNU C++14 TESTS 64 124 0
76392819 yan-zp C April 12, 2020, 3:40 p.m. OK GNU C++14 TESTS 64 124 0
76389932 aaaaajack C April 12, 2020, 3:34 p.m. OK GNU C++14 TESTS 64 124 0
76426352 okwedook C April 12, 2020, 8:01 p.m. OK GNU C++17 TESTS 64 77 0
76426250 okwedook C April 12, 2020, 8 p.m. OK GNU C++17 TESTS 64 77 0
76424290 okwedook C April 12, 2020, 7:34 p.m. OK GNU C++17 TESTS 64 77 0
76424232 okwedook C April 12, 2020, 7:33 p.m. OK GNU C++17 TESTS 64 77 0
76425004 okwedook C April 12, 2020, 7:43 p.m. OK GNU C++17 TESTS 64 78 0
76424530 okwedook C April 12, 2020, 7:37 p.m. OK GNU C++17 TESTS 64 78 0
76424166 okwedook C April 12, 2020, 7:32 p.m. OK GNU C++17 TESTS 64 93 0
76426422 okwedook C April 12, 2020, 8:02 p.m. OK GNU C++17 TESTS 64 108 0
76406866 gs17005 C April 12, 2020, 4:56 p.m. OK GNU C++17 TESTS 64 109 0
76444108 jhdonghj112 C April 13, 2020, 3:07 a.m. OK GNU C++17 TESTS 64 124 0
76426861 okwedook C April 12, 2020, 8:09 p.m. OK GNU C++17 (64) TESTS 64 46 0
76426825 okwedook C April 12, 2020, 8:08 p.m. OK GNU C++17 (64) TESTS 64 46 0
76426768 okwedook C April 12, 2020, 8:08 p.m. OK GNU C++17 (64) TESTS 64 46 0
76426728 okwedook C April 12, 2020, 8:07 p.m. OK GNU C++17 (64) TESTS 64 46 0
76426557 okwedook C April 12, 2020, 8:05 p.m. OK GNU C++17 (64) TESTS 64 46 0
76427216 Akulyat C April 12, 2020, 8:14 p.m. OK GNU C++17 (64) TESTS 64 77 0
76426622 neal C April 12, 2020, 8:05 p.m. OK GNU C++17 (64) TESTS 64 77 0
76423814 Akulyat C April 12, 2020, 7:28 p.m. OK GNU C++17 (64) TESTS 64 77 0
76422905 Akulyat C April 12, 2020, 7:17 p.m. OK GNU C++17 (64) TESTS 64 77 0
76408966 Rahul C April 12, 2020, 5:08 p.m. OK GNU C++17 (64) TESTS 64 77 0
76432647 Lewin C April 12, 2020, 9:53 p.m. OK Java 11 TESTS 64 249 0
76402754 adamjamil C April 12, 2020, 4:02 p.m. OK Java 11 TESTS 64 327 0
76393302 Musin C April 12, 2020, 3:41 p.m. OK Java 11 TESTS 64 342 0
76390519 mikit C April 12, 2020, 3:35 p.m. OK Java 11 TESTS 64 342 0
76430501 aznswimmerboi C April 12, 2020, 9:09 p.m. OK Java 11 TESTS 64 1216 0
76443372 AdhmMohamed C April 13, 2020, 2:50 a.m. OK Java 8 TESTS 64 186 0
76394855 cwise C April 12, 2020, 3:45 p.m. OK Java 8 TESTS 64 202 42188800
76391480 StayAwayFromBitches C April 12, 2020, 3:37 p.m. OK Java 8 TESTS 64 233 0
76419524 spar5h C April 12, 2020, 6:39 p.m. OK Java 8 TESTS 64 249 0
76408869 qlf9 C April 12, 2020, 5:08 p.m. OK Java 8 TESTS 64 264 0
76382860 SecondThread C April 12, 2020, 3:18 p.m. OK Java 8 TESTS 64 265 0
76417774 Yugioh C April 12, 2020, 6:22 p.m. OK Java 8 TESTS 64 280 0
76391205 Taran_1407 C April 12, 2020, 3:36 p.m. OK Java 8 TESTS 64 296 0
76406513 YahiaSherif C April 12, 2020, 4:54 p.m. OK Java 8 TESTS 64 327 0
76429883 Hemose C April 12, 2020, 8:57 p.m. OK Java 8 TESTS 64 343 0
76375833 Tlatoani C April 12, 2020, 3:04 p.m. OK Kotlin TESTS 64 234 4915200
76389670 knightL C April 12, 2020, 3:33 p.m. OK Kotlin TESTS 64 389 6553600
76370877 darnley C April 12, 2020, 2:55 p.m. OK Kotlin TESTS 64 1029 1024000
76407866 alexey.enkov C April 12, 2020, 5:01 p.m. OK Kotlin TESTS 64 1310 204800
76375837 keymoon C April 12, 2020, 3:04 p.m. OK Mono C# TESTS 64 187 3072000
76397364 NotEvenWrong C April 12, 2020, 3:51 p.m. OK MS C++ TESTS 64 140 0
76377749 lxhgww C April 12, 2020, 3:08 p.m. OK MS C++ TESTS 64 186 0
76389841 poopi C April 12, 2020, 3:33 p.m. OK MS C++ TESTS 64 638 0
76366130 pichulia C April 12, 2020, 2:47 p.m. OK MS C++ 2017 TESTS 64 140 5632000
76400126 P___ C April 12, 2020, 3:57 p.m. OK MS C++ 2017 TESTS 64 171 0
76421106 CrashMaster C April 12, 2020, 6:57 p.m. OK MS C++ 2017 TESTS 64 249 0
76352467 Petr C April 12, 2020, 2:28 p.m. OK MS C++ 2017 TESTS 64 311 0
76408164 danilgrig C April 12, 2020, 5:03 p.m. OK MS C++ 2017 TESTS 64 327 0
76419778 sas C April 12, 2020, 6:42 p.m. OK MS C++ 2017 TESTS 64 576 0
76443825 lonely_moon C April 13, 2020, 3:01 a.m. OK MS C++ 2017 TESTS 64 732 0
76398976 bcollet C April 12, 2020, 3:55 p.m. OK PyPy 2 TESTS 64 655 28262400
76391316 kabeer27 C April 12, 2020, 3:37 p.m. OK PyPy 2 TESTS 64 842 8192000
76396378 IndianSnakeCharmer C April 12, 2020, 3:49 p.m. OK PyPy 2 TESTS 64 935 7680000
76364675 alexwice C April 12, 2020, 2:45 p.m. OK PyPy 2 TESTS 64 951 14643200
76406443 YESMAths C April 12, 2020, 4:53 p.m. OK PyPy 2 TESTS 64 1201 18534400
76389129 nagiss C April 12, 2020, 3:32 p.m. OK PyPy 3 TESTS 64 842 9113600
76367708 conqueror_of_tourist C April 12, 2020, 2:50 p.m. OK PyPy 3 TESTS 64 936 27340800
76386993 titia C April 12, 2020, 3:27 p.m. OK PyPy 3 TESTS 64 951 11571200
76386876 neterukun C April 12, 2020, 3:27 p.m. OK PyPy 3 TESTS 64 1309 14950400
76398382 nagitaosu C April 12, 2020, 3:53 p.m. OK PyPy 3 TESTS 64 1902 10854400
76401462 malylesio C April 12, 2020, 4 p.m. OK PyPy 3 TESTS 64 1918 10854400
76442187 RaDaDiYaMoHiT C April 13, 2020, 2:22 a.m. OK Python 3 TESTS 64 1357 409600
76389943 EbTech C April 12, 2020, 3:34 p.m. OK Rust TESTS 64 93 0
76383333 sansen C April 12, 2020, 3:19 p.m. OK Rust TESTS 64 93 3174400

remove filters

Back to search problems