Codeforces Round 604 (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
1264 Codeforces Round 604 (Div. 1) FINISHED False 7200 156266699 Dec. 5, 2019, 2:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 948 ) F Beautiful Fibonacci Problem PROGRAMMING constructive algorithms number theory 3600

B'The well-known Fibonacci sequence F_0, F_1, F_2, ldots is defined as follows: Given an increasing arithmetic sequence of positive integers with n elements: (a, a + d, a + 2 cdot d, ldots, a + (n - 1) cdot d) . You need to find another increasing arithmetic sequence of positive integers with n elements (b, b + e, b + 2 cdot e, ldots, b + (n - 1) cdot e) such that: The first line contains three positive integers n , a , d ( 1 <= q n, a, d, a + (n - 1) cdot d < 10^6 ). If no such arithmetic sequence exists, print -1 . Otherwise, print two integers b and e , separated by space in a single line ( 0 < b, e < 2^{64} ). If there are many answers, you can output any of them. In the first test case, we can choose (b, e) = (2, 1) , because F_2 = 1, F_3 = 2, F_4 = 3 . In the second test case, we can choose (b, e) = (19, 5) because: '...

Tutorials

71995

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
66498558 jiangly F Dec. 8, 2019, 11:34 a.m. OK GNU C++11 TESTS 104 31 0 3600
66473963 birka0 F Dec. 7, 2019, 7:41 p.m. OK GNU C++11 TESTS 104 31 0 3600
66427828 birka0 F Dec. 6, 2019, 11:23 p.m. OK GNU C++11 TESTS 104 31 0 3600
69840959 cuizhuyefei F Jan. 30, 2020, 1:08 p.m. OK GNU C++11 TESTS 104 31 5324800 3600
69823069 __Archer F Jan. 30, 2020, 8:27 a.m. OK GNU C++11 TESTS 104 46 0 3600
66427651 birka0 F Dec. 6, 2019, 11:11 p.m. OK GNU C++11 TESTS 104 46 0 3600
66450796 Racer5x F Dec. 7, 2019, 11:24 a.m. OK GNU C++14 TESTS 104 31 0 3600
66431582 I_love_you_my_girl F Dec. 7, 2019, 3:20 a.m. OK GNU C++14 TESTS 104 31 0 3600
66396638 down_down_bear F Dec. 6, 2019, 11:02 a.m. OK GNU C++14 TESTS 104 46 0 3600
66395788 KoroVishu F Dec. 6, 2019, 10:44 a.m. OK GNU C++14 TESTS 104 46 0 3600
67061921 __ACoder F Dec. 17, 2019, 9:28 a.m. OK GNU C++14 TESTS 104 62 80179200 3600
66824928 aid F Dec. 14, 2019, 8:37 a.m. OK GNU C++17 TESTS 104 31 0 3600
66669445 Sprdalo F Dec. 12, 2019, 8:38 a.m. OK GNU C++17 TESTS 104 31 0 3600
66527801 asan_nasa F Dec. 9, 2019, 6:04 a.m. OK GNU C++17 TESTS 104 31 0 3600
66505370 David_Draiman F Dec. 8, 2019, 2:10 p.m. OK GNU C++17 TESTS 104 31 0 3600
66474457 ivan100sic F Dec. 7, 2019, 7:56 p.m. OK GNU C++17 TESTS 104 31 0 3600
66424584 Utsav_goyal F Dec. 6, 2019, 8:39 p.m. OK GNU C++17 TESTS 104 31 0 3600
66380158 hsj666 F Dec. 6, 2019, 5:13 a.m. OK GNU C++17 TESTS 104 31 0 3600
67846716 Shahriar_88 F Dec. 28, 2019, 10:07 p.m. OK GNU C++17 TESTS 104 31 2457600 3600
68569727 Hikori F Jan. 11, 2020, 1:12 a.m. OK GNU C++17 TESTS 104 46 0 3600
66502455 Xellos F Dec. 8, 2019, 1:05 p.m. OK GNU C++17 TESTS 104 46 0 3600
66362186 nikolapesic2802 F Dec. 5, 2019, 6:17 p.m. OK PyPy 2 TESTS 104 124 0 3600
66375010 gongsuidashen F Dec. 6, 2019, 2:07 a.m. OK PyPy 2 TESTS 104 139 0 3600
66362106 MiFaFaOvO F Dec. 5, 2019, 6:16 p.m. OK PyPy 2 TESTS 104 139 0 3600
66349863 MiFaFaOvO F Dec. 5, 2019, 4:04 p.m. OK PyPy 2 TESTS 104 280 8089600 3600
69545008 EFDD F Jan. 26, 2020, 1:35 a.m. OK PyPy 3 TESTS 104 140 0 3600
67573325 Benq F Dec. 24, 2019, 10:47 p.m. OK PyPy 3 TESTS 104 140 0 3600
66671281 sruthi_1729 F Dec. 12, 2019, 9:25 a.m. OK PyPy 3 TESTS 104 140 0 3600
66527850 serega.ktl F Dec. 9, 2019, 6:05 a.m. OK PyPy 3 TESTS 104 140 0 3600
66497104 masteranimax F Dec. 8, 2019, 11 a.m. OK PyPy 3 TESTS 104 140 0 3600
66469499 Tverrrr F Dec. 7, 2019, 5:48 p.m. OK PyPy 3 TESTS 104 140 0 3600
66370848 ecnerwala F Dec. 5, 2019, 10:01 p.m. OK PyPy 3 TESTS 104 140 0 3600
66366858 ecnerwala F Dec. 5, 2019, 7:47 p.m. OK PyPy 3 TESTS 104 140 0 3600
69554737 Shiina_Mashiro19 F Jan. 26, 2020, 8:17 a.m. OK PyPy 3 TESTS 104 155 0 3600
69545519 Shiina_Mashiro19 F Jan. 26, 2020, 2:12 a.m. OK PyPy 3 TESTS 104 155 0 3600
66433389 HIT_Zero F Dec. 7, 2019, 4:47 a.m. OK Python 2 TESTS 104 264 5324800 3600
67023662 ayoub_mazrou F Dec. 16, 2019, 1:43 p.m. OK Python 3 TESTS 104 109 0 3600
66873681 MangyVagrant F Dec. 14, 2019, 2:19 p.m. OK Python 3 TESTS 104 109 0 3600
66793486 Kot-Skazochnik F Dec. 13, 2019, 4:08 p.m. OK Python 3 TESTS 104 109 0 3600
66579243 daniilzimin4 F Dec. 10, 2019, 8:37 a.m. OK Python 3 TESTS 104 109 0 3600
66553634 y_men9_dva_po_fizike F Dec. 9, 2019, 3:52 p.m. OK Python 3 TESTS 104 109 0 3600
67096046 JHSN F Dec. 17, 2019, 3:48 p.m. OK Python 3 TESTS 104 124 0 3600
66497015 masteranimax F Dec. 8, 2019, 10:58 a.m. OK Python 3 TESTS 104 124 0 3600
66482623 BetterThanNobita F Dec. 8, 2019, 3:56 a.m. OK Python 3 TESTS 104 124 0 3600
66378771 UpriserX F Dec. 6, 2019, 4:33 a.m. OK Python 3 TESTS 104 124 0 3600
66371658 ks3rr F Dec. 5, 2019, 10:43 p.m. OK Python 3 TESTS 104 124 0 3600

remove filters

Back to search problems