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 |
---|---|---|---|---|---|---|
1292 | Codeforces Round 614 (Div. 1) | FINISHED | False | 7200 | 157911911 | Jan. 19, 2020, 1:35 p.m. |
Solved$ |
Index |
Name |
Type |
Tags |
Community Tag |
Rating |
---|---|---|---|---|---|---|
( 6442 ) | B | Aroma's Search | PROGRAMMING | brute force constructive algorithms geometry greedy implementation | 1800 |
B"With a new body, our idol Aroma White (or should we call her Kaori Minamiya?) begins to uncover her lost past through the OS space. The space can be considered a 2D plane, with an infinite number of data nodes, indexed from 0 , with their coordinates defined as follows: Initially Aroma stands at the point (x_s, y_s) . She can stay in OS space for at most t seconds, because after this time she has to warp back to the real world. She doesn't need to return to the entry point (x_s, y_s) to warp home. While within the OS space, Aroma can do the following actions: Aroma wants to collect as many data as possible before warping back. Can you help her in calculating the maximum number of data nodes she could collect within t seconds? The first line contains integers x_0 , y_0 , a_x , a_y , b_x , b_y ( 1 <= q x_0, y_0 <= q 10^{16} , 2 <= q a_x, a_y <= q 100 , 0 <= q b_x, b_y <= q 10^{16} ), which define the coordinates of the data nodes. The second line contains integers x_s , y_s , t ( 1 <= q x_s, y_s, t <= q 10^{16} ) xe2 x80 x93 the initial Aroma's coordinates and the amount of time available. Print a single integer -- the maximum number of data nodes Aroma can collect within t seconds. In all three examples, the coordinates of the first 5 data nodes are (1, 1) , (3, 3) , (7, 9) , (15, 27) and (31, 81) (remember that nodes are numbered from 0 ). In the first example, the optimal route to collect 3 nodes is as follows: In the second example, the optimal route to collect 2 nodes is as follows: In the third example, Aroma can't collect any nodes. She should have taken proper rest instead of rushing into the OS space like that. "... |
Codeforces Round #614 Editorial |
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
---|---|---|---|---|---|---|---|---|---|---|---|
69107601 | Gassa | B | Jan. 19, 2020, 1:52 p.m. | OK | D | TESTS | 132 | 31 | 0 | 1800 | |
69102166 | hos.lyric | B | Jan. 19, 2020, 1:43 p.m. | OK | D | TESTS | 124 | 46 | 0 | 1800 | |
69115526 | physics0523 | B | Jan. 19, 2020, 2:06 p.m. | OK | GNU C11 | TESTS | 132 | 31 | 0 | 1800 | |
69433351 | RAVAL_KUSH_460 | B | Jan. 23, 2020, 6:04 p.m. | OK | GNU C11 | TESTS | 133 | 31 | 0 | 1800 | |
69116203 | mikeCAT | B | Jan. 19, 2020, 2:08 p.m. | OK | GNU C11 | TESTS | 132 | 46 | 0 | 1800 | |
70490485 | vjudge4 | B | Feb. 7, 2020, 8:50 a.m. | OK | GNU C++11 | TESTS | 134 | 31 | 0 | 1800 | |
70479901 | vjudge5 | B | Feb. 7, 2020, 5:32 a.m. | OK | GNU C++11 | TESTS | 134 | 31 | 0 | 1800 | |
70419581 | gusrb406 | B | Feb. 6, 2020, 8:16 a.m. | OK | GNU C++11 | TESTS | 134 | 31 | 0 | 1800 | |
70331687 | kaname_madoka123 | B | Feb. 5, 2020, 6:09 a.m. | OK | GNU C++11 | TESTS | 134 | 31 | 0 | 1800 | |
70223635 | zsben_love_tomorrow | B | Feb. 4, 2020, 10:52 a.m. | OK | GNU C++11 | TESTS | 134 | 31 | 0 | 1800 | |
70203942 | master_rat1 | B | Feb. 4, 2020, 5:37 a.m. | OK | GNU C++11 | TESTS | 134 | 31 | 0 | 1800 | |
70154304 | luogu_bot5 | B | Feb. 3, 2020, 1:41 p.m. | OK | GNU C++11 | TESTS | 134 | 31 | 0 | 1800 | |
70732925 | MAOoo | B | Feb. 10, 2020, 1:49 p.m. | OK | GNU C++11 | TESTS | 134 | 31 | 0 | 1800 | |
71034300 | gzz | B | Feb. 14, 2020, 4:47 a.m. | OK | GNU C++11 | TESTS | 134 | 31 | 0 | 1800 | |
70742977 | 2018117620wsj | B | Feb. 10, 2020, 4:31 p.m. | OK | GNU C++11 | TESTS | 134 | 31 | 0 | 1800 | |
70648169 | 14_2 | B | Feb. 9, 2020, 2:37 p.m. | OK | GNU C++14 | TESTS | 134 | 31 | 0 | 1800 | |
70599669 | Rods | B | Feb. 9, 2020, 3:43 a.m. | OK | GNU C++14 | TESTS | 134 | 31 | 0 | 1800 | |
70588134 | shpsi | B | Feb. 8, 2020, 7:17 p.m. | OK | GNU C++14 | TESTS | 134 | 31 | 0 | 1800 | |
70499440 | vjudge3 | B | Feb. 7, 2020, 11:40 a.m. | OK | GNU C++14 | TESTS | 134 | 31 | 0 | 1800 | |
70469166 | aayush_84719 | B | Feb. 6, 2020, 10:20 p.m. | OK | GNU C++14 | TESTS | 134 | 31 | 0 | 1800 | |
70467238 | vjudge5 | B | Feb. 6, 2020, 9:05 p.m. | OK | GNU C++14 | TESTS | 134 | 31 | 0 | 1800 | |
70456860 | Siddique_Badhon | B | Feb. 6, 2020, 5:42 p.m. | OK | GNU C++14 | TESTS | 134 | 31 | 0 | 1800 | |
71042926 | yourmomisaboomer | B | Feb. 14, 2020, 7:30 a.m. | OK | GNU C++14 | TESTS | 134 | 31 | 0 | 1800 | |
70845900 | scribblr | B | Feb. 12, 2020, 1:27 p.m. | OK | GNU C++14 | TESTS | 134 | 31 | 0 | 1800 | |
70776578 | nestedcode | B | Feb. 11, 2020, 9:06 a.m. | OK | GNU C++14 | TESTS | 134 | 31 | 0 | 1800 | |
69145820 | _baba_yaga | B | Jan. 19, 2020, 3:34 p.m. | OK | GNU C++17 | TESTS | 132 | 30 | 0 | 1800 | |
70231694 | ay2306 | B | Feb. 4, 2020, 12:38 p.m. | OK | GNU C++17 | TESTS | 134 | 30 | 0 | 1800 | |
69219158 | otrecnoc | B | Jan. 21, 2020, 3:20 a.m. | OK | GNU C++17 | TESTS | 133 | 30 | 0 | 1800 | |
70728390 | antekb | B | Feb. 10, 2020, 12:35 p.m. | OK | GNU C++17 | TESTS | 134 | 31 | 0 | 1800 | |
70618673 | MiFaFaOvO | B | Feb. 9, 2020, 10:48 a.m. | OK | GNU C++17 | TESTS | 134 | 31 | 0 | 1800 | |
70616420 | alif_cse_ju | B | Feb. 9, 2020, 10:07 a.m. | OK | GNU C++17 | TESTS | 134 | 31 | 0 | 1800 | |
70588100 | Tosic | B | Feb. 8, 2020, 7:17 p.m. | OK | GNU C++17 | TESTS | 134 | 31 | 0 | 1800 | |
70734086 | EmilConst | B | Feb. 10, 2020, 2:09 p.m. | OK | GNU C++17 | TESTS | 134 | 31 | 0 | 1800 | |
70754508 | Maxymilian | B | Feb. 10, 2020, 8:23 p.m. | OK | GNU C++17 | TESTS | 134 | 31 | 0 | 1800 | |
71050644 | MHD_Ala | B | Feb. 14, 2020, 9:51 a.m. | OK | GNU C++17 | TESTS | 134 | 31 | 0 | 1800 | |
70187437 | alankritanand001 | B | Feb. 3, 2020, 11:05 p.m. | OK | Java 11 | TESTS | 134 | 202 | 0 | 1800 | |
69173945 | aman28rwt | B | Jan. 20, 2020, 7:18 a.m. | OK | Java 8 | TESTS | 133 | 109 | 0 | 1800 | |
69274057 | amaturecoder | B | Jan. 22, 2020, 12:10 a.m. | OK | Java 8 | TESTS | 133 | 124 | 0 | 1800 | |
69207355 | xodiac | B | Jan. 20, 2020, 6:27 p.m. | OK | Java 8 | TESTS | 133 | 124 | 0 | 1800 | |
69162901 | flyingpurplepeopleeater | B | Jan. 20, 2020, 1:36 a.m. | OK | Java 8 | TESTS | 132 | 124 | 0 | 1800 | |
69152926 | Nutella3000 | B | Jan. 19, 2020, 6:15 p.m. | OK | Java 8 | TESTS | 132 | 124 | 0 | 1800 | |
69151731 | icpc_loser | B | Jan. 19, 2020, 5:52 p.m. | OK | Java 8 | TESTS | 132 | 124 | 0 | 1800 | |
69119599 | spar5h | B | Jan. 19, 2020, 2:15 p.m. | OK | Java 8 | TESTS | 132 | 124 | 0 | 1800 | |
69117624 | Xylenox | B | Jan. 19, 2020, 2:10 p.m. | OK | Java 8 | TESTS | 132 | 124 | 0 | 1800 | |
69113188 | SecondThread | B | Jan. 19, 2020, 2:02 p.m. | OK | Java 8 | TESTS | 132 | 124 | 0 | 1800 | |
69110037 | AnandOza | B | Jan. 19, 2020, 1:56 p.m. | OK | Java 8 | TESTS | 132 | 124 | 0 | 1800 | |
69171317 | Spheniscine | B | Jan. 20, 2020, 6:16 a.m. | OK | Kotlin | TESTS | 133 | 140 | 0 | 1800 | |
69205581 | darnley | B | Jan. 20, 2020, 5:54 p.m. | OK | Kotlin | TESTS | 133 | 155 | 102400 | 1800 | |
69110691 | darnley | B | Jan. 19, 2020, 1:57 p.m. | OK | Kotlin | TESTS | 132 | 155 | 102400 | 1800 | |
69110526 | Tlatoani | B | Jan. 19, 2020, 1:57 p.m. | OK | Kotlin | TESTS | 132 | 170 | 0 | 1800 | |
69646685 | dyukha | B | Jan. 28, 2020, 1:56 a.m. | OK | Kotlin | TESTS | 134 | 218 | 0 | 1800 | |
69165080 | EmK | B | Jan. 20, 2020, 3:10 a.m. | OK | Mono C# | TESTS | 132 | 62 | 0 | 1800 | |
69159385 | sergmel | B | Jan. 19, 2020, 9:45 p.m. | OK | Mono C# | TESTS | 132 | 62 | 102400 | 1800 | |
69164801 | EmK | B | Jan. 20, 2020, 2:58 a.m. | OK | Mono C# | TESTS | 132 | 62 | 102400 | 1800 | |
69164841 | EmK | B | Jan. 20, 2020, 3 a.m. | OK | Mono C# | TESTS | 132 | 62 | 614400 | 1800 | |
69113817 | keymoon | B | Jan. 19, 2020, 2:03 p.m. | OK | Mono C# | TESTS | 132 | 77 | 3788800 | 1800 | |
69131256 | tarattata1 | B | Jan. 19, 2020, 2:46 p.m. | OK | MS C++ | TESTS | 132 | 31 | 0 | 1800 | |
70508983 | vjudge2 | B | Feb. 7, 2020, 2:21 p.m. | OK | MS C++ | TESTS | 134 | 46 | 0 | 1800 | |
70002451 | math957963 | B | Feb. 2, 2020, 2:42 a.m. | OK | MS C++ | TESTS | 134 | 46 | 0 | 1800 | |
69115968 | Apsara | B | Jan. 19, 2020, 2:07 p.m. | OK | MS C++ | TESTS | 132 | 46 | 0 | 1800 | |
70566273 | itytwt | B | Feb. 8, 2020, 1:16 p.m. | OK | MS C++ 2017 | TESTS | 134 | 31 | 0 | 1800 | |
69117693 | Baharevim | B | Jan. 19, 2020, 2:11 p.m. | OK | MS C++ 2017 | TESTS | 132 | 31 | 307200 | 1800 | |
69524664 | fwg4 | B | Jan. 25, 2020, 2:30 p.m. | OK | MS C++ 2017 | TESTS | 133 | 31 | 307200 | 1800 | |
69153597 | AleksanderBalobanov | B | Jan. 19, 2020, 6:31 p.m. | OK | MS C++ 2017 | TESTS | 132 | 31 | 307200 | 1800 | |
69130248 | Friska | B | Jan. 19, 2020, 2:43 p.m. | OK | MS C++ 2017 | TESTS | 132 | 31 | 307200 | 1800 | |
69123402 | AlexanderL | B | Jan. 19, 2020, 2:24 p.m. | OK | MS C++ 2017 | TESTS | 132 | 31 | 307200 | 1800 | |
69121409 | alanM | B | Jan. 19, 2020, 2:19 p.m. | OK | MS C++ 2017 | TESTS | 132 | 31 | 307200 | 1800 | |
69119480 | alex_36 | B | Jan. 19, 2020, 2:14 p.m. | OK | MS C++ 2017 | TESTS | 132 | 31 | 307200 | 1800 | |
69122424 | P___ | B | Jan. 19, 2020, 2:21 p.m. | OK | MS C++ 2017 | TESTS | 132 | 46 | 0 | 1800 | |
70842037 | zxyskr | B | Feb. 12, 2020, 12:19 p.m. | OK | MS C++ 2017 | TESTS | 134 | 46 | 307200 | 1800 | |
69891542 | vjudge1 | B | Jan. 31, 2020, 10:11 a.m. | OK | PyPy 2 | TESTS | 134 | 124 | 716800 | 1800 | |
69126830 | bcollet | B | Jan. 19, 2020, 2:33 p.m. | OK | PyPy 2 | TESTS | 132 | 140 | 716800 | 1800 | |
69892843 | MVP | B | Jan. 31, 2020, 10:40 a.m. | OK | PyPy 2 | TESTS | 134 | 140 | 819200 | 1800 | |
69127291 | toxic_hack | B | Jan. 19, 2020, 2:34 p.m. | OK | PyPy 2 | TESTS | 132 | 156 | 614400 | 1800 | |
69105593 | pajenegod | B | Jan. 19, 2020, 1:49 p.m. | OK | PyPy 2 | TESTS | 132 | 342 | 4710400 | 1800 | |
69296225 | hanamaki | B | Jan. 22, 2020, 12:18 p.m. | OK | PyPy 3 | TESTS | 133 | 140 | 0 | 1800 | |
69704862 | leaflowave | B | Jan. 29, 2020, 3:53 a.m. | OK | PyPy 3 | TESTS | 134 | 140 | 1331200 | 1800 | |
69449885 | __Wind__ | B | Jan. 24, 2020, 5:39 a.m. | OK | PyPy 3 | TESTS | 133 | 140 | 1843200 | 1800 | |
69148167 | Narut | B | Jan. 19, 2020, 5 p.m. | OK | PyPy 3 | TESTS | 132 | 155 | 1433600 | 1800 | |
70459994 | kcaze | B | Feb. 6, 2020, 6:24 p.m. | OK | PyPy 3 | TESTS | 134 | 155 | 1740800 | 1800 | |
69258206 | toterpinguin | B | Jan. 21, 2020, 4:16 p.m. | OK | PyPy 3 | TESTS | 133 | 155 | 1945600 | 1800 | |
69447686 | xiema | B | Jan. 24, 2020, 4:19 a.m. | OK | PyPy 3 | TESTS | 133 | 156 | 0 | 1800 | |
69790977 | jeongdongha | B | Jan. 29, 2020, 6:30 p.m. | OK | PyPy 3 | TESTS | 134 | 156 | 1740800 | 1800 | |
69180695 | ori.convert.torus | B | Jan. 20, 2020, 10:01 a.m. | OK | PyPy 3 | TESTS | 133 | 156 | 2867200 | 1800 | |
69138781 | DebNatkh | B | Jan. 19, 2020, 3:12 p.m. | OK | PyPy 3 | TESTS | 132 | 170 | 1740800 | 1800 | |
69190629 | nwi | B | Jan. 20, 2020, 1:23 p.m. | OK | Python 2 | TESTS | 133 | 202 | 0 | 1800 | |
69146008 | nwi | B | Jan. 19, 2020, 3:34 p.m. | OK | Python 2 | TESTS | 132 | 218 | 0 | 1800 | |
69405539 | inker | B | Jan. 23, 2020, 10:42 a.m. | OK | Python 3 | TESTS | 133 | 109 | 512000 | 1800 | |
69185247 | Renatyss | B | Jan. 20, 2020, 11:44 a.m. | OK | Python 3 | TESTS | 133 | 124 | 307200 | 1800 | |
69908226 | coding_panda | B | Jan. 31, 2020, 2:41 p.m. | OK | Python 3 | TESTS | 134 | 124 | 512000 | 1800 | |
69149048 | zzxzxzzxz | B | Jan. 19, 2020, 5:09 p.m. | OK | Python 3 | TESTS | 132 | 124 | 512000 | 1800 | |
69149038 | mkisic | B | Jan. 19, 2020, 5:09 p.m. | OK | Python 3 | TESTS | 132 | 124 | 512000 | 1800 | |
69128704 | WNG | B | Jan. 19, 2020, 2:38 p.m. | OK | Python 3 | TESTS | 132 | 124 | 512000 | 1800 | |
69122181 | yashgarg2107 | B | Jan. 19, 2020, 2:21 p.m. | OK | Python 3 | TESTS | 132 | 124 | 512000 | 1800 | |
69118488 | IgorSmirnov | B | Jan. 19, 2020, 2:12 p.m. | OK | Python 3 | TESTS | 132 | 124 | 512000 | 1800 | |
69113986 | anatolik | B | Jan. 19, 2020, 2:03 p.m. | OK | Python 3 | TESTS | 132 | 124 | 512000 | 1800 | |
69113773 | T1duS | B | Jan. 19, 2020, 2:03 p.m. | OK | Python 3 | TESTS | 132 | 124 | 512000 | 1800 | |
69110891 | sansen | B | Jan. 19, 2020, 1:58 p.m. | OK | Rust | TESTS | 132 | 31 | 0 | 1800 | |
69114731 | ichyo | B | Jan. 19, 2020, 2:05 p.m. | OK | Rust | TESTS | 132 | 46 | 614400 | 1800 |
Back to search problems