Educational Codeforces Round 50 (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
1036 Educational Codeforces Round 50 (Rated for Div. 2) FINISHED False 7200 201194724 Sept. 7, 2018, 2:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 1634 ) F Relatively Prime Powers PROGRAMMING combinatorics math number theory 2400

B"Consider some positive integer x . Its prime factorization will be of form x = 2^{k_1} cdot 3^{k_2} cdot 5^{k_3} cdot ... Let's call x elegant if the greatest common divisor of the sequence k_1, k_2, ... is equal to 1 . For example, numbers 5 = 5^1 , 12 = 2^2 cdot 3 , 72 = 2^3 cdot 3^2 are elegant and numbers 8 = 2^3 ( GCD = 3 ), 2500 = 2^2 cdot 5^4 ( GCD = 2 ) are not. Count the number of elegant integers from 2 to n . Each testcase contains several values of n , for each of them you are required to solve the problem separately. The first line contains a single integer T ( 1 <= T <= 10^5 ) -- the number of values of n in the testcase. Each of the next T lines contains a single integer n_i ( 2 <= n_i <= 10^{18} ). Print T lines -- the i -th line should contain the number of elegant numbers from 2 to n_i . Here is the list of non-elegant numbers up to 10 : The rest have GCD = 1 . "...

Tutorials

61727

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
50506991 rainboy F Feb. 25, 2019, 8:25 p.m. OK GNU C11 TESTS 18 733 8294400 2400
43175533 fwat F Sept. 21, 2018, 11:07 a.m. OK GNU C++11 TESTS 18 139 2560000 2400
44751685 ReaLNero1 F Oct. 23, 2018, 8:18 p.m. OK GNU C++11 TESTS 18 140 10240000 2400
42765624 251 F Sept. 11, 2018, 1:04 p.m. OK GNU C++11 TESTS 18 155 10240000 2400
42880094 zsyzsy F Sept. 15, 2018, 6:08 a.m. OK GNU C++11 TESTS 18 156 2252800 2400
43660662 leaomatheus F Oct. 1, 2018, 7:09 p.m. OK GNU C++11 TESTS 18 171 3993600 2400
53849241 ILoLy F May 7, 2019, 12:37 p.m. OK GNU C++11 TESTS 18 171 7884800 2400
47458348 Jonothor_Darry F Dec. 24, 2018, 1:45 p.m. OK GNU C++11 TESTS 18 171 56729600 2400
52644896 luogu_bot3 F April 12, 2019, 2:04 p.m. OK GNU C++11 TESTS 18 187 6246400 2400
53850030 ILoLy F May 7, 2019, 1 p.m. OK GNU C++11 TESTS 18 187 7884800 2400
45782748 markotee F Nov. 15, 2018, 9:04 p.m. OK GNU C++11 TESTS 18 202 2764800 2400
42657195 zhoutb2333 F Sept. 7, 2018, 11:55 p.m. OK GNU C++14 TESTS 18 202 12697600 2400
42696003 ReaLNero1 F Sept. 9, 2018, 7:12 a.m. OK GNU C++14 TESTS 18 202 13107200 2400
42649034 orz010orz F Sept. 7, 2018, 5:32 p.m. OK GNU C++14 TESTS 18 202 13107200 2400
44452021 LazyCharlie F Oct. 17, 2018, 4:19 p.m. OK GNU C++14 TESTS 18 202 13107200 2400
42655994 Joker_98 F Sept. 7, 2018, 10:16 p.m. OK GNU C++14 TESTS 18 202 13414400 2400
45979016 I_love_chickpea F Nov. 19, 2018, 8:52 p.m. OK GNU C++14 TESTS 18 202 21196800 2400
42643389 eidan F Sept. 7, 2018, 4:26 p.m. OK GNU C++14 TESTS 18 202 24064000 2400
42637151 mjhun F Sept. 7, 2018, 3:58 p.m. OK GNU C++14 TESTS 18 218 1126400 2400
42754476 hzk F Sept. 11, 2018, 5:36 a.m. OK GNU C++14 TESTS 18 233 12697600 2400
42884563 KwanghyunOn F Sept. 15, 2018, 9 a.m. OK GNU C++14 TESTS 18 233 12697600 2400
44435121 vjudge1 F Oct. 17, 2018, 9:35 a.m. OK GNU C++17 TESTS 18 202 13414400 2400
48033183 Overrated F Jan. 6, 2019, 1:45 p.m. OK GNU C++17 TESTS 18 202 15769600 2400
60920765 nishant403 F Sept. 20, 2019, 10:32 a.m. OK GNU C++17 TESTS 18 218 3174400 2400
44420424 Phortox F Oct. 16, 2018, 10:03 p.m. OK GNU C++17 TESTS 18 218 16281600 2400
42656111 mathusalen F Sept. 7, 2018, 10:24 p.m. OK GNU C++17 TESTS 18 233 13312000 2400
62861195 WstOne F Oct. 18, 2019, 10:52 a.m. OK GNU C++17 TESTS 18 233 16076800 2400
58322390 duzheting F Aug. 5, 2019, 6:24 a.m. OK GNU C++17 TESTS 18 234 16076800 2400
65735666 zzpcd F Nov. 26, 2019, 7:40 a.m. OK GNU C++17 TESTS 18 234 160358400 2400
42657899 mohamedeltair F Sept. 8, 2018, 12:56 a.m. OK GNU C++17 TESTS 18 249 13107200 2400
42893515 stanislav.bezkorovainyi F Sept. 15, 2018, 2:12 p.m. OK GNU C++17 TESTS 18 249 20684800 2400
42667252 uwi F Sept. 8, 2018, 8:44 a.m. OK Java 8 TESTS 18 296 41779200 2400
42660529 aman28rwt F Sept. 8, 2018, 3:47 a.m. OK Java 8 TESTS 18 389 22732800 2400
42818482 xodiac F Sept. 13, 2018, 4:04 a.m. OK Java 8 TESTS 18 421 16998400 2400
62889102 beginner1010 F Oct. 18, 2019, 7:37 p.m. OK Java 8 TESTS 18 421 36761600 2400
68131315 dalt F Jan. 3, 2020, 5:07 p.m. OK Java 8 TESTS 18 467 65638400 2400
42695692 wery0 F Sept. 9, 2018, 7 a.m. OK Java 8 TESTS 18 483 0 2400
42695591 wery0 F Sept. 9, 2018, 6:55 a.m. OK Java 8 TESTS 18 483 0 2400
42695647 wery0 F Sept. 9, 2018, 6:58 a.m. OK Java 8 TESTS 18 499 0 2400
45985598 hongquanntct F Nov. 20, 2018, 6:16 a.m. OK Java 8 TESTS 18 561 7065600 2400
69646554 BiIIy F Jan. 28, 2020, 1:47 a.m. OK Java 8 TESTS 18 592 0 2400
42714478 alexxx998 F Sept. 9, 2018, 6:13 p.m. OK MS C++ TESTS 18 405 22835200 2400
43022418 vjudge4 F Sept. 18, 2018, 6:17 a.m. OK MS C++ TESTS 18 623 80486400 2400
42678390 antony191 F Sept. 8, 2018, 2:56 p.m. OK MS C++ TESTS 18 654 614400 2400
42658113 lxn F Sept. 8, 2018, 1:13 a.m. OK MS C++ TESTS 18 1153 32153600 2400
42906996 vjudge2 F Sept. 16, 2018, 3:06 a.m. OK MS C++ TESTS 18 1201 0 2400
42657762 lxn F Sept. 8, 2018, 12:45 a.m. OK MS C++ TESTS 18 1824 32358400 2400
42657766 lxn F Sept. 8, 2018, 12:45 a.m. OK MS C++ TESTS 18 1840 32358400 2400
68954950 AleksanderBalobanov F Jan. 16, 2020, 7:39 p.m. OK MS C++ 2017 TESTS 18 280 35942400 2400
44537788 YESMAths F Oct. 19, 2018, 9:51 a.m. OK PyPy 2 TESTS 18 1278 131993600 2400
42687874 pavankatta F Sept. 8, 2018, 8:56 p.m. OK PyPy 2 TESTS 18 1996 144691200 2400
42706188 wadissimo F Sept. 9, 2018, 1:22 p.m. OK PyPy 3 TESTS 18 1325 9830400 2400
42743620 kobae964 F Sept. 10, 2018, 5:44 p.m. OK Rust TESTS 18 374 106086400 2400
67405458 sansen F Dec. 22, 2019, 6:11 a.m. OK Rust TESTS 18 670 8192000 2400
67404815 sansen F Dec. 22, 2019, 5:53 a.m. OK Rust TESTS 18 1950 6246400 2400

remove filters

Back to search problems