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 |
|---|---|---|---|---|---|---|
| 883 | 2017-2018 ACM-ICPC, NEERC, Southern Subregional Contest (Online Mirror, ACM-ICPC Rules, Teams Preferred) | FINISHED | False | 18000 | 267832523 | Oct. 21, 2017, 8:05 a.m. |
Solved |
Index |
Name |
Type |
Tags |
Community Tag |
Rating |
|---|---|---|---|---|---|---|
| ( 259 ) | L | Berland.Taxi | PROGRAMMING | data structures | 2800 |
Berland.Taxi is a new taxi company with k cars which started operating in the capital of Berland just recently. The capital has n houses on a straight line numbered from 1 (leftmost) to n (rightmost), and the distance between any two neighboring houses is the same. You have to help the company schedule all the taxi rides which come throughout the day according to the following rules: All cars are available for picking up passengers. Initially the j -th car is located next to the house with the number x j at time 0 . All cars have the same speed. It takes exactly 1 minute for any car to travel between neighboring houses i and i + 1 . The i -th request for taxi ride comes at the time t i , asking for a passenger to be picked up at the house a i and dropped off at the house b i . All requests for taxi rides are given in the increasing order of t i . All t i are distinct. When a request for taxi ride is received at time t i , Berland.Taxi operator assigns a car to it as follows: Out of cars which are currently available, operator assigns the car which is the closest to the pick up spot a i . Needless to say, if a car is already on a ride with a passenger, it won't be available for any rides until that passenger is dropped off at the corresponding destination. If there are several such cars, operator will pick one of them which has been waiting the most since it became available. If there are several such cars, operator will pick one of them which has the lowest number . After a car gets assigned to the taxi ride request: The driver immediately starts driving from current position to the house a i . Once the car reaches house a i , the passenger is immediately picked up and the driver starts driving to house b i . Once house b i is reached, the passenger gets dropped off and the car becomes available for new rides staying next to the house b i . It is allowed for multiple cars to be located next to the same house at the same point in time, while waiting for rid |
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 31580529 | SirNickolas | L | Oct. 21, 2017, 4:16 p.m. | OK | D | TESTS | 90 | 2105 | 47923200 | 2800 | |
| 32568113 | __stdcall | L | Nov. 23, 2017, 7:01 a.m. | OK | GNU C++ | TESTS | 90 | 452 | 24473600 | 2800 | |
| 31565291 | apiadu yfzcsc 1919810 | L | Oct. 21, 2017, 10:21 a.m. | OK | GNU C++ | TESTS | 90 | 468 | 17817600 | 2800 | |
| 40979313 | ReaLNero1 | L | July 30, 2018, 5:01 p.m. | OK | GNU C++ | TESTS | 90 | 468 | 24473600 | 2800 | |
| 31618319 | Scut82 | L | Oct. 23, 2017, 2:58 a.m. | OK | GNU C++ | TESTS | 90 | 514 | 23961600 | 2800 | |
| 31824572 | vjudge5 | L | Oct. 28, 2017, 4:46 a.m. | OK | GNU C++ | TESTS | 90 | 607 | 19251200 | 2800 | |
| 31590410 | Oxer11 | L | Oct. 22, 2017, 2:51 a.m. | OK | GNU C++ | TESTS | 90 | 623 | 13824000 | 2800 | |
| 32074383 | Georgia_001 | L | Nov. 5, 2017, 11:15 a.m. | OK | GNU C++ | TESTS | 90 | 639 | 11776000 | 2800 | |
| 31573137 | black_horse2014 kutengine | L | Oct. 21, 2017, 12:33 p.m. | OK | GNU C++ | TESTS | 90 | 810 | 11776000 | 2800 | |
| 48115493 | QAQAutoMaton BadEnding | L | Jan. 9, 2019, 12:27 p.m. | OK | GNU C++11 | TESTS | 90 | 421 | 23449600 | 2800 | |
| 31575736 | rqgao2014 | L | Oct. 21, 2017, 1:23 p.m. | OK | GNU C++11 | TESTS | 90 | 483 | 13926400 | 2800 | |
| 31605280 | laofudasuan | L | Oct. 22, 2017, 1:36 p.m. | OK | GNU C++11 | TESTS | 90 | 514 | 17817600 | 2800 | |
| 31734170 | liziy | L | Oct. 26, 2017, 9:52 a.m. | OK | GNU C++11 | TESTS | 90 | 514 | 21811200 | 2800 | |
| 31575325 | ohweonfire | L | Oct. 21, 2017, 1:10 p.m. | OK | GNU C++11 | TESTS | 90 | 592 | 23961600 | 2800 | |
| 33712233 | kekxy | L | Dec. 28, 2017, 1:48 p.m. | OK | GNU C++11 | TESTS | 90 | 623 | 18124800 | 2800 | |
| 38078675 | krijgertje | L | May 9, 2018, 6:02 p.m. | OK | GNU C++11 | TESTS | 90 | 639 | 29798400 | 2800 | |
| 33712378 | kekxy | L | Dec. 28, 2017, 1:55 p.m. | OK | GNU C++11 | TESTS | 90 | 670 | 22016000 | 2800 | |
| 31611023 | Ahmed_Morsy | L | Oct. 22, 2017, 6:05 p.m. | OK | GNU C++11 | TESTS | 90 | 670 | 29388800 | 2800 | |
| 31610599 | danya090699 | L | Oct. 22, 2017, 5:43 p.m. | OK | GNU C++11 | TESTS | 90 | 685 | 20684800 | 2800 | |
| 31934441 | ch_egor | L | Oct. 31, 2017, 9:47 p.m. | OK | GNU C++14 | TESTS | 90 | 608 | 12595200 | 2800 | |
| 31826215 | phile | L | Oct. 28, 2017, 6:25 a.m. | OK | GNU C++14 | TESTS | 90 | 608 | 19251200 | 2800 | |
| 31623916 | Luqman | L | Oct. 23, 2017, 9:25 a.m. | OK | GNU C++14 | TESTS | 90 | 623 | 23552000 | 2800 | |
| 31574037 | Kirito.LVL99 Taube noxwell | L | Oct. 21, 2017, 12:48 p.m. | OK | GNU C++14 | TESTS | 90 | 624 | 42496000 | 2800 | |
| 31624694 | Luqman | L | Oct. 23, 2017, 10:03 a.m. | OK | GNU C++14 | TESTS | 90 | 638 | 25907200 | 2800 | |
| 44429935 | n_dao107 | L | Oct. 17, 2018, 7:06 a.m. | OK | GNU C++14 | TESTS | 90 | 639 | 11161600 | 2800 | |
| 31572640 | zigui dotorya | L | Oct. 21, 2017, 12:24 p.m. | OK | GNU C++14 | TESTS | 90 | 639 | 48537600 | 2800 | |
| 32131098 | ec24 mjhun Vladislao | L | Nov. 7, 2017, 9:36 p.m. | OK | GNU C++14 | TESTS | 90 | 654 | 30003200 | 2800 | |
| 31591579 | y0105w49 | L | Oct. 22, 2017, 4:39 a.m. | OK | GNU C++14 | TESTS | 90 | 670 | 172134400 | 2800 | |
| 32012116 | MicGor yarek Anadi | L | Nov. 3, 2017, 3:29 p.m. | OK | GNU C++14 | TESTS | 90 | 701 | 18534400 | 2800 | |
| 69233615 | hjk1030 | L | Jan. 21, 2020, 10:27 a.m. | OK | GNU C++17 | TESTS | 90 | 514 | 18227200 | 2800 | |
| 56954579 | hjk1030 | L | July 13, 2019, 3:57 a.m. | OK | GNU C++17 | TESTS | 90 | 514 | 18227200 | 2800 | |
| 58202310 | hbi1998 | L | Aug. 3, 2019, 5:07 a.m. | OK | GNU C++17 | TESTS | 90 | 639 | 8294400 | 2800 | |
| 47852458 | Benq | L | Jan. 2, 2019, 6:45 p.m. | OK | GNU C++17 | TESTS | 90 | 654 | 28876800 | 2800 | |
| 58201245 | vjudge5 | L | Aug. 3, 2019, 4:24 a.m. | OK | GNU C++17 | TESTS | 90 | 701 | 19968000 | 2800 | |
| 31569373 | lucyanna2018 | L | Oct. 21, 2017, 11:28 a.m. | OK | MS C++ | TESTS | 90 | 529 | 18841600 | 2800 | |
| 31889869 | LightRay | L | Oct. 30, 2017, 10:20 a.m. | OK | MS C++ | TESTS | 90 | 1465 | 21196800 | 2800 |
Back to search problems