Educational Codeforces Round 70 (Rated for Div. 2)

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
1202 Educational Codeforces Round 70 (Rated for Div. 2) FINISHED False 7200 166634699 Aug. 7, 2019, 2:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 5126 ) D Print a 1337-string... PROGRAMMING combinatorics constructive algorithms math strings 1900

B'The subsequence is a sequence that can be derived from another sequence by deleting some elements without changing the order of the remaining elements. You are given an integer n . You have to find a sequence s consisting of digits {1, 3, 7 } such that it has exactly n subsequences equal to 1337 . For example, sequence 337133377 has 6 subsequences equal to 1337 : Note that the length of the sequence s must not exceed 10^5 . You have to answer t independent queries. The first line contains one integer t ( 1 <= t <= 10 ) -- the number of queries. Next t lines contains a description of queries: the i -th line contains one integer n_i ( 1 <= n_i <= 10^9 ). For the i -th query print one string s_i ( 1 <= |s_i| <= 10^5 ) consisting of digits {1, 3, 7 } . String s_i must have exactly n_i subsequences 1337 . If there are multiple such strings, print any of them. '...

Tutorials

68972

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
58445580 coderbd D Aug. 7, 2019, 3:31 p.m. OK GNU C11 TESTS 43 31 102400 1900
58450351 uniqriv D Aug. 7, 2019, 3:59 p.m. OK GNU C++11 TESTS 43 30 819200 1900
58453249 boluotou D Aug. 7, 2019, 4:15 p.m. OK GNU C++11 TESTS 43 31 0 1900
58453172 wdk1745 D Aug. 7, 2019, 4:14 p.m. OK GNU C++11 TESTS 43 31 0 1900
58452921 RevolutionXIII D Aug. 7, 2019, 4:13 p.m. OK GNU C++11 TESTS 43 31 0 1900
58452651 LinZhengYu D Aug. 7, 2019, 4:12 p.m. OK GNU C++11 TESTS 43 31 0 1900
58451831 LeiQ D Aug. 7, 2019, 4:07 p.m. OK GNU C++11 TESTS 43 31 0 1900
58456913 13022001 D Aug. 7, 2019, 4:33 p.m. OK GNU C++11 TESTS 43 31 0 1900
58451326 AThousandMoon D Aug. 7, 2019, 4:04 p.m. OK GNU C++11 TESTS 43 31 0 1900
58451556 hmf123 D Aug. 7, 2019, 4:05 p.m. OK GNU C++11 TESTS 43 31 0 1900
58453470 xinzai D Aug. 7, 2019, 4:16 p.m. OK GNU C++11 TESTS 43 31 0 1900
58451606 DeinFreund D Aug. 7, 2019, 4:06 p.m. OK GNU C++14 TESTS 43 30 0 1900
58450958 CPX99 D Aug. 7, 2019, 4:02 p.m. OK GNU C++14 TESTS 43 30 102400 1900
58448158 Sholja7 D Aug. 7, 2019, 3:46 p.m. OK GNU C++14 TESTS 43 30 102400 1900
58445067 AlexReformed D Aug. 7, 2019, 3:28 p.m. OK GNU C++14 TESTS 43 30 102400 1900
58445056 Unsainted D Aug. 7, 2019, 3:28 p.m. OK GNU C++14 TESTS 43 30 102400 1900
58446019 risujiroh D Aug. 7, 2019, 3:34 p.m. OK GNU C++14 TESTS 43 30 204800 1900
58450917 Amaryllis D Aug. 7, 2019, 4:02 p.m. OK GNU C++14 TESTS 43 30 307200 1900
58447663 Khazhak D Aug. 7, 2019, 3:43 p.m. OK GNU C++14 TESTS 43 30 307200 1900
58444778 QwertyPi D Aug. 7, 2019, 3:26 p.m. OK GNU C++14 TESTS 43 30 1126400 1900
58445495 wiwitrifai D Aug. 7, 2019, 3:31 p.m. OK GNU C++14 TESTS 43 30 1228800 1900
58442771 hitman623 D Aug. 7, 2019, 3:14 p.m. OK GNU C++17 TESTS 43 30 204800 1900
58453141 HarshKumar D Aug. 7, 2019, 4:14 p.m. OK GNU C++17 TESTS 43 30 307200 1900
58456211 GoldenLord D Aug. 7, 2019, 4:30 p.m. OK GNU C++17 TESTS 43 30 307200 1900
58447532 Anonymous_001 D Aug. 7, 2019, 3:43 p.m. OK GNU C++17 TESTS 43 30 307200 1900
58446629 qqq17770027225 D Aug. 7, 2019, 3:37 p.m. OK GNU C++17 TESTS 43 30 512000 1900
58447660 yyyyang D Aug. 7, 2019, 3:43 p.m. OK GNU C++17 TESTS 43 30 1024000 1900
58455649 k24 D Aug. 7, 2019, 4:27 p.m. OK GNU C++17 TESTS 43 31 0 1900
58454703 Pi_Yuan_Yuan D Aug. 7, 2019, 4:23 p.m. OK GNU C++17 TESTS 43 31 0 1900
58454602 EvgeniyZh D Aug. 7, 2019, 4:22 p.m. OK GNU C++17 TESTS 43 31 0 1900
58455831 sdssudhu D Aug. 7, 2019, 4:28 p.m. OK GNU C++17 TESTS 43 31 0 1900
58448264 caidodo0_0 D Aug. 7, 2019, 3:47 p.m. OK Go TESTS 43 46 0 1900
58447888 karamkontar D Aug. 7, 2019, 3:45 p.m. OK Java 8 TESTS 43 109 0 1900
58451907 Musin D Aug. 7, 2019, 4:08 p.m. OK Java 8 TESTS 43 124 0 1900
58449447 Klnsyf_Ego D Aug. 7, 2019, 3:54 p.m. OK Java 8 TESTS 43 124 0 1900
58445625 StayAwayFromBitches D Aug. 7, 2019, 3:31 p.m. OK Java 8 TESTS 43 124 0 1900
58452247 procrastinate7 D Aug. 7, 2019, 4:10 p.m. OK Java 8 TESTS 43 139 0 1900
58442620 AkshajK D Aug. 7, 2019, 3:13 p.m. OK Java 8 TESTS 43 139 0 1900
58454084 brainfxxk D Aug. 7, 2019, 4:20 p.m. OK Java 8 TESTS 43 140 0 1900
58449579 O_E D Aug. 7, 2019, 3:54 p.m. OK Java 8 TESTS 43 140 0 1900
58447217 dalt D Aug. 7, 2019, 3:41 p.m. OK Java 8 TESTS 43 140 0 1900
58453771 Intrincantation D Aug. 7, 2019, 4:18 p.m. OK Java 8 TESTS 43 155 0 1900
58451528 omikad D Aug. 7, 2019, 4:05 p.m. OK Mono C# TESTS 43 61 6553600 1900
58446315 keymoon D Aug. 7, 2019, 3:36 p.m. OK Mono C# TESTS 43 108 11161600 1900
58452096 wawahaha D Aug. 7, 2019, 4:09 p.m. OK MS C++ TESTS 43 46 0 1900
58451270 math957963 D Aug. 7, 2019, 4:04 p.m. OK MS C++ TESTS 43 62 0 1900
58449245 pseuda D Aug. 7, 2019, 3:52 p.m. OK MS C++ 2017 TESTS 43 31 0 1900
58450387 Timonnable D Aug. 7, 2019, 3:59 p.m. OK MS C++ 2017 TESTS 43 31 307200 1900
58453819 siwei D Aug. 7, 2019, 4:18 p.m. OK MS C++ 2017 TESTS 43 46 0 1900
58454433 kongll D Aug. 7, 2019, 4:22 p.m. OK MS C++ 2017 TESTS 43 61 16486400 1900
58451389 Ivan11 D Aug. 7, 2019, 4:05 p.m. OK MS C++ 2017 TESTS 43 93 0 1900
58448899 BestMeN D Aug. 7, 2019, 3:50 p.m. OK MS C++ 2017 TESTS 43 358 0 1900
58442881 marpetr D Aug. 7, 2019, 3:15 p.m. OK PyPy 2 TESTS 43 139 102400 1900
58452995 CHelle D Aug. 7, 2019, 4:13 p.m. OK PyPy 3 TESTS 43 155 1638400 1900
58451107 rikein12 D Aug. 7, 2019, 4:03 p.m. OK PyPy 3 TESTS 43 156 4505600 1900
58450998 anagohirame D Aug. 7, 2019, 4:02 p.m. OK PyPy 3 TESTS 43 187 3788800 1900
58446098 PhilTheFish D Aug. 7, 2019, 3:34 p.m. OK PyPy 3 TESTS 43 202 4403200 1900
58452456 keroru D Aug. 7, 2019, 4:11 p.m. OK PyPy 3 TESTS 43 217 3276800 1900
58449659 titia D Aug. 7, 2019, 3:55 p.m. OK PyPy 3 TESTS 43 218 9728000 1900
58442886 coano2000 D Aug. 7, 2019, 3:15 p.m. OK PyPy 3 TESTS 43 218 9728000 1900
58451484 Gaurav1 D Aug. 7, 2019, 4:05 p.m. OK Python 3 TESTS 43 124 102400 1900
58455875 takakin D Aug. 7, 2019, 4:28 p.m. OK Python 3 TESTS 43 124 204800 1900
58450286 Sevlll D Aug. 7, 2019, 3:58 p.m. OK Python 3 TESTS 43 124 204800 1900
58450845 yakamoto D Aug. 7, 2019, 4:01 p.m. OK Scala TESTS 43 358 0 1900

remove filters

Back to search problems