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 |
---|---|---|---|---|---|---|
1039 | Codeforces Round 507 (Div. 1, based on Olympiad of Metropolises) | FINISHED | False | 7200 | 201360323 | Sept. 5, 2018, 4:35 p.m. |
Solved$ |
Index |
Name |
Type |
Tags |
Community Tag |
Rating |
---|---|---|---|---|---|---|
( 285 ) | E | Summer Oenothera Exhibition | PROGRAMMING | data structures | 3400 |
B'While some people enjoy spending their time solving programming contests, Dina prefers taking beautiful pictures. As soon as Byteland Botanical Garden announced Summer Oenothera Exhibition she decided to test her new camera there. The exhibition consists of l = 10^{100} Oenothera species arranged in a row and consecutively numbered with integers from 0 to l - 1 . Camera lens allows to take a photo of w species on it, i.e. Dina can take a photo containing flowers with indices from x to x + w - 1 for some integer x between 0 and l - w . We will denote such photo with [x, x + w - 1] . She has taken n photos, the i -th of which (in chronological order) is [x_i, x_i + w - 1] in our notation. She decided to build a time-lapse video from these photos once she discovered that Oenothera blossoms open in the evening. Dina takes each photo and truncates it, leaving its segment containing exactly k flowers, then she composes a video of these photos keeping their original order and voil xc3 xa0, a beautiful artwork has been created! A scene is a contiguous sequence of photos such that the set of flowers on them is the same. The change between two scenes is called a cut. For example, consider the first photo contains flowers [1, 5] , the second photo contains flowers [3, 7] and the third photo contains flowers [8, 12] . If k = 3 , then Dina can truncate the first and the second photo into [3, 5] , and the third photo into [9, 11] . First two photos form a scene, third photo also forms a scene and the transition between these two scenes which happens between the second and the third photos is a cut. If k = 4 , then each of the transitions between photos has to be a cut. Dina wants the number of cuts to be as small as possible. Please help her! Calculate the minimum possible number of cuts for different values of k . The first line contains three positive in'... |
61668 |
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
---|---|---|---|---|---|---|---|---|---|---|---|
56686991 | vjudge5 | E | July 8, 2019, midnight | OK | GNU C++11 | TESTS | 63 | 1513 | 67788800 | 3400 | |
43495252 | luogu_bot4 | E | Sept. 27, 2018, 2:23 p.m. | OK | GNU C++11 | TESTS | 63 | 1606 | 122982400 | 3400 | |
43400593 | yasugongshang | E | Sept. 25, 2018, 8:23 a.m. | OK | GNU C++11 | TESTS | 63 | 1777 | 112230400 | 3400 | |
43400839 | yasugongshang | E | Sept. 25, 2018, 8:34 a.m. | OK | GNU C++11 | TESTS | 63 | 1778 | 112537600 | 3400 | |
46956173 | ilnil | E | Dec. 13, 2018, 4:13 a.m. | OK | GNU C++11 | TESTS | 63 | 1825 | 82841600 | 3400 | |
47282983 | luogu_bot4 | E | Dec. 20, 2018, 3:28 a.m. | OK | GNU C++11 | TESTS | 63 | 1825 | 125132800 | 3400 | |
43400336 | yasugongshang | E | Sept. 25, 2018, 8:13 a.m. | OK | GNU C++11 | TESTS | 63 | 1840 | 112025600 | 3400 | |
43634443 | FizzyDavicl | E | Oct. 1, 2018, 7:43 a.m. | OK | GNU C++11 | TESTS | 63 | 1855 | 23654400 | 3400 | |
46961607 | ilnil | E | Dec. 13, 2018, 8:34 a.m. | OK | GNU C++11 | TESTS | 63 | 1855 | 82227200 | 3400 | |
43400508 | yasugongshang | E | Sept. 25, 2018, 8:20 a.m. | OK | GNU C++11 | TESTS | 63 | 1856 | 112332800 | 3400 | |
51679765 | gtrhetr | E | March 22, 2019, 12:09 p.m. | OK | GNU C++14 | TESTS | 63 | 1138 | 68915200 | 3400 | |
60148901 | Scut82 | E | Sept. 6, 2019, 2:35 a.m. | OK | GNU C++14 | TESTS | 63 | 1216 | 65433600 | 3400 | |
56686913 | no_one_qwq | E | July 7, 2019, 11:54 p.m. | OK | GNU C++14 | TESTS | 63 | 1294 | 62156800 | 3400 | |
51671973 | mayaohua2003 | E | March 22, 2019, 8:39 a.m. | OK | GNU C++14 | TESTS | 63 | 1310 | 62156800 | 3400 | |
53992996 | vjudge5 | E | May 11, 2019, 1:09 p.m. | OK | GNU C++14 | TESTS | 63 | 1325 | 62156800 | 3400 | |
56686985 | no_one_qwq | E | July 8, 2019, midnight | OK | GNU C++14 | TESTS | 63 | 1512 | 67788800 | 3400 | |
43400576 | yasugongshang | E | Sept. 25, 2018, 8:22 a.m. | OK | GNU C++14 | TESTS | 63 | 1575 | 112435200 | 3400 | |
43400852 | yasugongshang | E | Sept. 25, 2018, 8:34 a.m. | OK | GNU C++14 | TESTS | 63 | 1606 | 112128000 | 3400 | |
43695506 | optimum | E | Oct. 2, 2018, 4:17 p.m. | OK | GNU C++14 | TESTS | 63 | 1668 | 112230400 | 3400 | |
43400631 | yasugongshang | E | Sept. 25, 2018, 8:25 a.m. | OK | GNU C++14 | TESTS | 63 | 1731 | 112128000 | 3400 | |
69611218 | gongsuidashen | E | Jan. 27, 2020, 11:34 a.m. | OK | GNU C++17 | TESTS | 63 | 1559 | 65433600 | 3400 | |
42789120 | DZYO | E | Sept. 12, 2018, 7:09 a.m. | OK | GNU C++17 | TESTS | 63 | 1622 | 123392000 | 3400 | |
43495106 | Nakagawa.Kanon | E | Sept. 27, 2018, 2:19 p.m. | OK | GNU C++17 | TESTS | 63 | 1669 | 123084800 | 3400 | |
43497136 | Nakagawa.Kanon | E | Sept. 27, 2018, 3:16 p.m. | OK | GNU C++17 | TESTS | 63 | 1731 | 123084800 | 3400 | |
43498563 | Nakagawa.Kanon | E | Sept. 27, 2018, 3:58 p.m. | OK | GNU C++17 | TESTS | 63 | 1793 | 123084800 | 3400 | |
43690611 | optimum | E | Oct. 2, 2018, 2:11 p.m. | OK | GNU C++17 | TESTS | 63 | 1855 | 23859200 | 3400 | |
42789087 | DZYO | E | Sept. 12, 2018, 7:08 a.m. | OK | GNU C++17 | TESTS | 63 | 1887 | 123392000 | 3400 | |
43696243 | optimum | E | Oct. 2, 2018, 4:34 p.m. | OK | GNU C++17 | TESTS | 63 | 1918 | 112230400 | 3400 | |
42789051 | DZYO | E | Sept. 12, 2018, 7:06 a.m. | OK | GNU C++17 | TESTS | 63 | 1980 | 224256000 | 3400 | |
43709898 | optimum | E | Oct. 3, 2018, 2:44 a.m. | OK | GNU C++17 | TESTS | 63 | 1996 | 112128000 | 3400 | |
69872570 | mmaxio | E | Jan. 31, 2020, 1:29 a.m. | OK | Java 8 | TESTS | 63 | 2293 | 163430400 | 3400 | |
69872592 | mmaxio | E | Jan. 31, 2020, 1:31 a.m. | OK | Java 8 | TESTS | 63 | 2386 | 187699200 | 3400 | |
69872586 | mmaxio | E | Jan. 31, 2020, 1:31 a.m. | OK | Java 8 | TESTS | 63 | 2963 | 138547200 | 3400 | |
69872582 | mmaxio | E | Jan. 31, 2020, 1:30 a.m. | OK | Java 8 | TESTS | 63 | 3150 | 314675200 | 3400 |
Back to search problems