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 |
---|---|---|---|---|---|---|
799 | Playrix Codescapes Cup (Codeforces Round 413, rated, Div. 1 + Div. 2) | FINISHED | False | 7200 | 242922287 | May 11, 2017, 3:35 p.m. |
Solved$ |
Index |
Name |
Type |
Tags |
Community Tag |
Rating |
---|---|---|---|---|---|---|
( 3796 ) | C | Fountains | PROGRAMMING | binary search data structures implementation | 1700 |
B'Arkady plays Gardenscapes a lot. Arkady wants to build two new fountains. There are n available fountains, for each fountain its beauty and cost are known. There are two types of money in the game: coins and diamonds, so each fountain cost can be either in coins or diamonds. No money changes between the types are allowed. Help Arkady to find two fountains with maximum total beauty so that he can buy both at the same time. The first line contains three integers n, c and d (2 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89100 xe2 x80 x89000, 0 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89c, xe2 x80 x89d xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89100 xe2 x80 x89000) -- the number of fountains, the number of coins and diamonds Arkady has. The next n lines describe fountains. Each of these lines contain two integers bi and pi (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89bi, xe2 x80 x89pi xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89100 xe2 x80 x89000) -- the beauty and the cost of the i-th fountain, and then a letter "C" or "D", describing in which type of money is the cost of fountain i: in coins or in diamonds, respectively. Print the maximum total beauty of exactly two fountains Arkady can build. If he can 't build two fountains, print 0. In the first example Arkady should build the second fountain with beauty 4, which costs 3 coins. The first fountain he can 't build because he don 't have enough coins. Also Arkady should build the third fountain with beauty 5 which costs 6 diamonds. Thus the total beauty of built fountains is 9. In the second example there are two fountains, but Arkady can 't build both of them, because he needs 5 coins for the first fountain, and Arkady has only 4 coins. '... |
Playrix Codescapes Cup Problems Analysis |
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
---|---|---|---|---|---|---|---|---|---|---|---|
27025008 | SirNickolas | C | May 11, 2017, 4:27 p.m. | OK | D | TESTS | 79 | 124 | 5017600 | 1700 | |
27050230 | dailong | C | May 12, 2017, 8:49 a.m. | OK | FPC | TESTS | 79 | 46 | 40243200 | 1700 | |
27042811 | VladProg | C | May 11, 2017, 9:57 p.m. | OK | FPC | TESTS | 79 | 61 | 2457600 | 1700 | |
27549137 | slavik228 | C | June 3, 2017, 4:53 p.m. | OK | FPC | TESTS | 79 | 62 | 2457600 | 1700 | |
27026229 | Holidin | C | May 11, 2017, 4:36 p.m. | OK | FPC | TESTS | 79 | 62 | 24064000 | 1700 | |
46844144 | chaorenhaha | C | Dec. 10, 2018, 9:50 a.m. | OK | FPC | TESTS | 79 | 78 | 3174400 | 1700 | |
27112467 | yan_lazy | C | May 14, 2017, 8:34 p.m. | OK | FPC | TESTS | 79 | 171 | 34099200 | 1700 | |
28992805 | zjiekai | C | July 30, 2017, 2:31 p.m. | OK | GNU C | TESTS | 79 | 78 | 3481600 | 1700 | |
27041990 | fionn_mac | C | May 11, 2017, 8:50 p.m. | OK | GNU C | TESTS | 79 | 78 | 48844800 | 1700 | |
27045817 | fgvfgfg1 | C | May 12, 2017, 3:22 a.m. | OK | GNU C++ | TESTS | 79 | 31 | 819200 | 1700 | |
27347847 | 150420 | C | May 26, 2017, 3:12 a.m. | OK | GNU C++ | TESTS | 79 | 31 | 1433600 | 1700 | |
27023384 | chihiro | C | May 11, 2017, 4:17 p.m. | OK | GNU C++ | TESTS | 79 | 31 | 1433600 | 1700 | |
29918354 | vjudge4 | C | Aug. 30, 2017, 1:25 p.m. | OK | GNU C++ | TESTS | 79 | 31 | 2355200 | 1700 | |
27089519 | -Jimmy- | C | May 13, 2017, 12:57 p.m. | OK | GNU C++ | TESTS | 79 | 31 | 2355200 | 1700 | |
40981145 | ReaLNero1 | C | July 30, 2018, 5:51 p.m. | OK | GNU C++ | TESTS | 79 | 31 | 2662400 | 1700 | |
27044926 | hzq84621 | C | May 12, 2017, 2:09 a.m. | OK | GNU C++ | TESTS | 79 | 31 | 2969600 | 1700 | |
27025837 | yveh1999 | C | May 11, 2017, 4:33 p.m. | OK | GNU C++ | TESTS | 79 | 31 | 3276800 | 1700 | |
28750131 | Izanagi | C | July 21, 2017, 12:43 p.m. | OK | GNU C++ | TESTS | 79 | 31 | 4710400 | 1700 | |
27365739 | AkaneSasu | C | May 27, 2017, 1:42 a.m. | OK | GNU C++ | TESTS | 79 | 46 | 614400 | 1700 | |
45546456 | vjudge3 | C | Nov. 11, 2018, 1:59 a.m. | OK | GNU C11 | TESTS | 79 | 109 | 13004800 | 1700 | |
27024657 | Jhamra | C | May 11, 2017, 4:25 p.m. | OK | GNU C++11 | TESTS | 79 | 31 | 1638400 | 1700 | |
29918375 | nuc_gxg nuc_lx shiyilang | C | Aug. 30, 2017, 1:26 p.m. | OK | GNU C++11 | TESTS | 79 | 31 | 2355200 | 1700 | |
27297034 | FizzyDavid | C | May 23, 2017, 8:32 a.m. | OK | GNU C++11 | TESTS | 79 | 31 | 2457600 | 1700 | |
27533681 | rxdoi | C | June 3, 2017, 1:41 a.m. | OK | GNU C++11 | TESTS | 79 | 31 | 2457600 | 1700 | |
27044385 | llgyc | C | May 12, 2017, 1:11 a.m. | OK | GNU C++11 | TESTS | 79 | 31 | 2764800 | 1700 | |
27037907 | lzr_010506 | C | May 11, 2017, 5:34 p.m. | OK | GNU C++11 | TESTS | 79 | 31 | 3276800 | 1700 | |
28016302 | codekode | C | June 25, 2017, 5:37 a.m. | OK | GNU C++11 | TESTS | 79 | 31 | 4505600 | 1700 | |
48014410 | LudwigVanBeethoven | C | Jan. 5, 2019, 9:15 p.m. | OK | GNU C++11 | TESTS | 79 | 31 | 7270400 | 1700 | |
27205908 | Manchery | C | May 19, 2017, 12:43 a.m. | OK | GNU C++11 | TESTS | 79 | 46 | 614400 | 1700 | |
45277785 | vjudge1 | C | Nov. 4, 2018, 12:03 p.m. | OK | GNU C++11 | TESTS | 79 | 46 | 819200 | 1700 | |
27024941 | platypus179 | C | May 11, 2017, 4:27 p.m. | OK | GNU C++14 | TESTS | 79 | 31 | 22732800 | 1700 | |
27049504 | q234rty | C | May 12, 2017, 8:03 a.m. | OK | GNU C++14 | TESTS | 79 | 31 | 32051200 | 1700 | |
27044282 | AhmedAbdellah19 | C | May 12, 2017, 12:59 a.m. | OK | GNU C++14 | TESTS | 79 | 46 | 1638400 | 1700 | |
31508018 | djzlzxd | C | Oct. 19, 2017, 12:40 p.m. | OK | GNU C++14 | TESTS | 79 | 46 | 2764800 | 1700 | |
35649782 | xuzhiwen | C | Feb. 24, 2018, 3:01 p.m. | OK | GNU C++14 | TESTS | 79 | 46 | 2867200 | 1700 | |
27089166 | Puredigital | C | May 13, 2017, 12:43 p.m. | OK | GNU C++14 | TESTS | 79 | 46 | 3174400 | 1700 | |
27213156 | vjudge1 | C | May 19, 2017, 11:26 a.m. | OK | GNU C++14 | TESTS | 79 | 46 | 3174400 | 1700 | |
27336903 | YJH143 | C | May 25, 2017, 12:50 p.m. | OK | GNU C++14 | TESTS | 79 | 61 | 819200 | 1700 | |
27023405 | mika | C | May 11, 2017, 4:17 p.m. | OK | GNU C++14 | TESTS | 79 | 61 | 2150400 | 1700 | |
34691096 | lionadis | C | Jan. 29, 2018, 9:38 p.m. | OK | GNU C++14 | TESTS | 79 | 61 | 2662400 | 1700 | |
54092689 | sdvdxj | C | May 14, 2019, 11:37 a.m. | OK | GNU C++17 | TESTS | 79 | 61 | 1638400 | 1700 | |
40548806 | vjudge5 | C | July 19, 2018, 1:11 p.m. | OK | GNU C++17 | TESTS | 79 | 62 | 819200 | 1700 | |
40546323 | vjudge2 | C | July 19, 2018, 11:58 a.m. | OK | GNU C++17 | TESTS | 79 | 62 | 819200 | 1700 | |
50724465 | vjudge3 | C | March 3, 2019, 9:22 a.m. | OK | GNU C++17 | TESTS | 79 | 62 | 819200 | 1700 | |
48670105 | lok666 | C | Jan. 21, 2019, 10:22 a.m. | OK | GNU C++17 | TESTS | 79 | 62 | 1024000 | 1700 | |
54619379 | Pccc | C | May 25, 2019, 11:35 a.m. | OK | GNU C++17 | TESTS | 79 | 62 | 1228800 | 1700 | |
54984251 | hjk1030 | C | June 2, 2019, 2:48 p.m. | OK | GNU C++17 | TESTS | 79 | 62 | 1638400 | 1700 | |
54092680 | vjudge5 | C | May 14, 2019, 11:36 a.m. | OK | GNU C++17 | TESTS | 79 | 62 | 1638400 | 1700 | |
45682710 | Artem_Bobkov | C | Nov. 13, 2018, 4:13 p.m. | OK | GNU C++17 | TESTS | 79 | 62 | 1945600 | 1700 | |
46477595 | Artuchka | C | Dec. 2, 2018, 8:20 a.m. | OK | GNU C++17 | TESTS | 79 | 62 | 1945600 | 1700 | |
27025928 | Martynas | C | May 11, 2017, 4:34 p.m. | OK | Go | TESTS | 79 | 46 | 22118400 | 1700 | |
67301089 | vaibhavpulastya | C | Dec. 20, 2019, 6:45 p.m. | OK | Java 11 | TESTS | 79 | 202 | 4403200 | 1700 | |
67300302 | sameep17264 | C | Dec. 20, 2019, 6:27 p.m. | OK | Java 11 | TESTS | 79 | 280 | 0 | 1700 | |
27100244 | coderbond007 | C | May 14, 2017, 4:03 a.m. | OK | Java 8 | TESTS | 79 | 124 | 0 | 1700 | |
27058314 | butylkapiva | C | May 12, 2017, 4:11 p.m. | OK | Java 8 | TESTS | 79 | 124 | 0 | 1700 | |
31702403 | theunderdoge97 | C | Oct. 25, 2017, 8:03 a.m. | OK | Java 8 | TESTS | 79 | 140 | 0 | 1700 | |
27447925 | parth_1 | C | May 30, 2017, 12:18 p.m. | OK | Java 8 | TESTS | 79 | 140 | 0 | 1700 | |
27043219 | theskiver | C | May 11, 2017, 10:45 p.m. | OK | Java 8 | TESTS | 79 | 155 | 0 | 1700 | |
27024799 | Wolfje | C | May 11, 2017, 4:26 p.m. | OK | Java 8 | TESTS | 79 | 155 | 0 | 1700 | |
31647077 | acmtp | C | Oct. 23, 2017, 4:40 p.m. | OK | Java 8 | TESTS | 79 | 155 | 20684800 | 1700 | |
27026756 | RAMBO_tejasv | C | May 11, 2017, 4:40 p.m. | OK | Java 8 | TESTS | 79 | 156 | 4505600 | 1700 | |
27465863 | _rancho | C | May 31, 2017, 11:57 a.m. | OK | Java 8 | TESTS | 79 | 171 | 0 | 1700 | |
27058516 | butylkapiva | C | May 12, 2017, 4:22 p.m. | OK | Java 8 | TESTS | 79 | 171 | 0 | 1700 | |
27219890 | krazyduck | C | May 19, 2017, 5:59 p.m. | OK | Mono C# | TESTS | 79 | 171 | 12185600 | 1700 | |
27034113 | peregrinus | C | May 11, 2017, 5:23 p.m. | OK | Mono C# | TESTS | 79 | 233 | 13209600 | 1700 | |
27023652 | og.kostya | C | May 11, 2017, 4:18 p.m. | OK | MS C# | TESTS | 79 | 124 | 5427200 | 1700 | |
27157313 | artsin666 | C | May 16, 2017, 10:57 a.m. | OK | MS C# | TESTS | 79 | 186 | 8601600 | 1700 | |
27032609 | koyaaniqatsi | C | May 11, 2017, 5:11 p.m. | OK | MS C# | TESTS | 79 | 186 | 10444800 | 1700 | |
27049211 | fr0st | C | May 12, 2017, 7:44 a.m. | OK | MS C# | TESTS | 79 | 248 | 19353600 | 1700 | |
27024719 | suns | C | May 11, 2017, 4:25 p.m. | OK | MS C# | TESTS | 79 | 280 | 28364800 | 1700 | |
27033365 | lionvs13 | C | May 11, 2017, 5:17 p.m. | OK | MS C# | TESTS | 79 | 312 | 16486400 | 1700 | |
27062698 | lionvs13 | C | May 12, 2017, 10 p.m. | OK | MS C# | TESTS | 79 | 327 | 16486400 | 1700 | |
27051816 | Neverauskas | C | May 12, 2017, 10:31 a.m. | OK | MS C# | TESTS | 79 | 374 | 22528000 | 1700 | |
27027112 | Neverauskas | C | May 11, 2017, 4:43 p.m. | OK | MS C# | TESTS | 79 | 390 | 21606400 | 1700 | |
27040526 | zhymaoiing | C | May 11, 2017, 7:29 p.m. | OK | MS C# | TESTS | 79 | 436 | 11264000 | 1700 | |
27030519 | xietx | C | May 11, 2017, 4:56 p.m. | OK | MS C++ | TESTS | 79 | 46 | 3379200 | 1700 | |
27023106 | NVAL | C | May 11, 2017, 4:15 p.m. | OK | MS C++ | TESTS | 79 | 46 | 4403200 | 1700 | |
51743811 | vjudge5 | C | March 23, 2019, 6:53 a.m. | OK | MS C++ | TESTS | 79 | 46 | 9625600 | 1700 | |
51743458 | vjudge5 | C | March 23, 2019, 6:45 a.m. | OK | MS C++ | TESTS | 79 | 61 | 1638400 | 1700 | |
51742011 | vjudge5 | C | March 23, 2019, 6:11 a.m. | OK | MS C++ | TESTS | 79 | 61 | 2355200 | 1700 | |
50673411 | vjudge5 | C | March 2, 2019, 8:09 a.m. | OK | MS C++ | TESTS | 79 | 62 | 819200 | 1700 | |
27566521 | _AjReme_ | C | June 4, 2017, 3:09 p.m. | OK | MS C++ | TESTS | 79 | 62 | 1331200 | 1700 | |
50564322 | vjudge3 | C | Feb. 27, 2019, 12:29 p.m. | OK | MS C++ | TESTS | 79 | 62 | 1638400 | 1700 | |
42611822 | vjudge4 | C | Sept. 7, 2018, 11:31 a.m. | OK | MS C++ | TESTS | 79 | 62 | 2355200 | 1700 | |
27115922 | Silent_coder | C | May 15, 2017, 5:33 a.m. | OK | MS C++ | TESTS | 79 | 62 | 2457600 | 1700 | |
49945902 | Extraordinary_ | C | Feb. 15, 2019, 12:04 p.m. | OK | MS C++ 2017 | TESTS | 79 | 202 | 178380800 | 1700 | |
54530434 | Still_Theory | C | May 23, 2019, 4:47 p.m. | OK | MS C++ 2017 | TESTS | 79 | 233 | 9318400 | 1700 | |
61897587 | CLown1331 | C | Oct. 5, 2019, 7:41 a.m. | OK | MS C++ 2017 | TESTS | 79 | 248 | 4812800 | 1700 | |
69202057 | vjudge2 | C | Jan. 20, 2020, 4:52 p.m. | OK | PyPy 3 | TESTS | 79 | 1123 | 9728000 | 1700 | |
27050964 | geomslayer | C | May 12, 2017, 9:36 a.m. | OK | PyPy 3 | TESTS | 79 | 1169 | 10035200 | 1700 | |
27092414 | sas | C | May 13, 2017, 3:21 p.m. | OK | PyPy 3 | TESTS | 79 | 1263 | 16076800 | 1700 | |
27047074 | denny_sem | C | May 12, 2017, 5:09 a.m. | OK | PyPy 3 | TESTS | 79 | 1279 | 8294400 | 1700 | |
27047096 | denny_sem | C | May 12, 2017, 5:11 a.m. | OK | PyPy 3 | TESTS | 79 | 1294 | 8192000 | 1700 | |
27025814 | Roberto29 | C | May 11, 2017, 4:33 p.m. | OK | PyPy 3 | TESTS | 79 | 1528 | 8192000 | 1700 | |
28198622 | BenL | C | July 1, 2017, 9:05 p.m. | OK | PyPy 3 | TESTS | 79 | 1591 | 47104000 | 1700 | |
41130277 | Ali_Pi | C | Aug. 2, 2018, 4:54 p.m. | OK | Python 2 | TESTS | 79 | 467 | 11776000 | 1700 | |
27025065 | nwi | C | May 11, 2017, 4:28 p.m. | OK | Python 2 | TESTS | 79 | 514 | 8908800 | 1700 | |
29332714 | isgulkov | C | Aug. 10, 2017, 4:04 p.m. | OK | Python 2 | TESTS | 79 | 545 | 15155200 | 1700 | |
27047291 | a2linx | C | May 12, 2017, 5:28 a.m. | OK | Python 2 | TESTS | 79 | 546 | 13209600 | 1700 | |
30084882 | m7mdbadawy | C | Sept. 4, 2017, 8:56 p.m. | OK | Python 2 | TESTS | 79 | 577 | 9011200 | 1700 | |
27047303 | a2linx | C | May 12, 2017, 5:29 a.m. | OK | Python 2 | TESTS | 79 | 592 | 12800000 | 1700 | |
27191969 | biss | C | May 18, 2017, 7:28 a.m. | OK | Python 2 | TESTS | 79 | 608 | 13824000 | 1700 | |
27123194 | artyom.fedosov | C | May 15, 2017, 2:01 p.m. | OK | Python 2 | TESTS | 79 | 732 | 15667200 | 1700 | |
27026438 | dimionx | C | May 11, 2017, 4:38 p.m. | OK | Python 2 | TESTS | 79 | 733 | 11878400 | 1700 | |
43704610 | Onesh0t | C | Oct. 2, 2018, 8:39 p.m. | OK | Python 2 | TESTS | 79 | 811 | 11980800 | 1700 | |
27047433 | eugalt | C | May 12, 2017, 5:39 a.m. | OK | Python 3 | TESTS | 79 | 389 | 9011200 | 1700 | |
27047819 | eugalt | C | May 12, 2017, 6:08 a.m. | OK | Python 3 | TESTS | 79 | 389 | 9113600 | 1700 | |
27048068 | eugalt | C | May 12, 2017, 6:26 a.m. | OK | Python 3 | TESTS | 79 | 390 | 9113600 | 1700 | |
27047595 | eugalt | C | May 12, 2017, 5:52 a.m. | OK | Python 3 | TESTS | 79 | 404 | 9113600 | 1700 | |
27056104 | eugalt | C | May 12, 2017, 2:14 p.m. | OK | Python 3 | TESTS | 79 | 405 | 9113600 | 1700 | |
27047721 | eugalt | C | May 12, 2017, 6 a.m. | OK | Python 3 | TESTS | 79 | 405 | 9113600 | 1700 | |
27047295 | eugalt | C | May 12, 2017, 5:29 a.m. | OK | Python 3 | TESTS | 79 | 405 | 9216000 | 1700 | |
27047749 | eugalt | C | May 12, 2017, 6:03 a.m. | OK | Python 3 | TESTS | 79 | 420 | 9216000 | 1700 | |
27047701 | eugalt | C | May 12, 2017, 5:59 a.m. | OK | Python 3 | TESTS | 79 | 420 | 9216000 | 1700 | |
27047658 | eugalt | C | May 12, 2017, 5:56 a.m. | OK | Python 3 | TESTS | 79 | 498 | 9113600 | 1700 | |
27035271 | EbTech | C | May 11, 2017, 5:30 p.m. | OK | Rust | TESTS | 79 | 108 | 55910400 | 1700 | |
27025362 | kobae964 | C | May 11, 2017, 4:30 p.m. | OK | Rust | TESTS | 79 | 124 | 109465600 | 1700 | |
27290904 | limed | C | May 22, 2017, 8:39 p.m. | OK | Scala | TESTS | 79 | 405 | 0 | 1700 |
Back to search problems