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 |
---|---|---|---|---|---|---|
1427 | Codeforces Global Round 11 | FINISHED | False | 10800 | 134838563 | Oct. 10, 2020, 2:50 p.m. |
Solved$ |
Index |
Name |
Type |
Tags |
Community Tag |
Rating |
---|---|---|---|---|---|---|
( 5757 ) | C | The Hard Work of Paparazzi | PROGRAMMING | brute force dp | 2000 |
B"You are a paparazzi working in Manhattan. Manhattan has r south-to-north streets, denoted by numbers 1, 2, ldots, r in order from west to east, and r west-to-east streets, denoted by numbers 1,2, ldots,r in order from south to north. Each of the r south-to-north streets intersects each of the r west-to-east streets; the intersection between the x -th south-to-north street and the y -th west-to-east street is denoted by (x, y) . In order to move from the intersection (x,y) to the intersection (x', y') you need |x-x'|+|y-y'| minutes. You know about the presence of n celebrities in the city and you want to take photos of as many of them as possible. More precisely, for each i=1, ... , n , you know that the i -th celebrity will be at the intersection (x_i, y_i) in exactly t_i minutes from now (and he will stay there for a very short time, so you may take a photo of him only if at the t_i -th minute from now you are at the intersection (x_i, y_i) ). You are very good at your job, so you are able to take photos instantaneously. You know that t_i < t_{i+1} for any i=1,2, ldots, n-1 . Currently you are at your office, which is located at the intersection (1, 1) . If you plan your working day optimally, what is the maximum number of celebrities you can take a photo of? The first line of the input contains two positive integers r, n ( 1 <= r <= 500 , 1 <= n <= 100,000 ) xe2 x80 x93 the number of south-to-north/west-to-east streets and the number of celebrities. Then n lines follow, each describing the appearance of a celebrity. The i -th of these lines contains 3 positive integers t_i, x_i, y_i ( 1 <= t_i <= 1,000,000 , 1 <= x_i, y_i <= r ) -- denoting that the i -th celebrity will appear at the intersection (x_i, y_i) in t_i minutes from now. It is guaranteed that t_i<t_{i+1} for "... |
Editorial of Global Round 11 |
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
---|---|---|---|---|---|---|---|---|---|---|---|
95137277 | wjhh | C | Oct. 10, 2020, 4:58 p.m. | OK | FPC | TESTS | 42 | 452 | 3174400 | 2000 | |
95169800 | lemu17 | C | Oct. 11, 2020, 3:50 a.m. | OK | GNU C++11 | TESTS | 49 | 78 | 3993600 | 2000 | |
95176003 | SCNUTian | C | Oct. 11, 2020, 5:54 a.m. | OK | GNU C++11 | TESTS | 49 | 109 | 2048000 | 2000 | |
95172172 | kmyiu | C | Oct. 11, 2020, 4:48 a.m. | OK | GNU C++11 | TESTS | 49 | 109 | 11264000 | 2000 | |
95171340 | SCNUTian | C | Oct. 11, 2020, 4:30 a.m. | OK | GNU C++11 | TESTS | 49 | 124 | 2048000 | 2000 | |
95146679 | Grace2005 | C | Oct. 10, 2020, 5:48 p.m. | OK | GNU C++11 | TESTS | 42 | 124 | 3993600 | 2000 | |
95146800 | CodeGuy_ | C | Oct. 10, 2020, 5:48 p.m. | OK | GNU C++11 | TESTS | 42 | 186 | 4812800 | 2000 | |
95135964 | ToHUST | C | Oct. 10, 2020, 4:51 p.m. | OK | GNU C++11 | TESTS | 42 | 187 | 4096000 | 2000 | |
95139974 | TuanGe | C | Oct. 10, 2020, 5:12 p.m. | OK | GNU C++11 | TESTS | 42 | 187 | 4812800 | 2000 | |
95136103 | bizhouziwei20 | C | Oct. 10, 2020, 4:52 p.m. | OK | GNU C++11 | TESTS | 42 | 202 | 2048000 | 2000 | |
95142071 | ghj1222 | C | Oct. 10, 2020, 5:24 p.m. | OK | GNU C++11 | TESTS | 42 | 202 | 2048000 | 2000 | |
95142379 | the___reaper | C | Oct. 10, 2020, 5:26 p.m. | OK | GNU C++14 | TESTS | 42 | 124 | 4198400 | 2000 | |
95137751 | blasi | C | Oct. 10, 2020, 5:01 p.m. | OK | GNU C++14 | TESTS | 42 | 124 | 5017600 | 2000 | |
95133874 | _rishi_1001 | C | Oct. 10, 2020, 4:41 p.m. | OK | GNU C++14 | TESTS | 42 | 124 | 5427200 | 2000 | |
95135242 | brurrito | C | Oct. 10, 2020, 4:48 p.m. | OK | GNU C++14 | TESTS | 42 | 124 | 5529600 | 2000 | |
95146190 | kshitiz1 | C | Oct. 10, 2020, 5:46 p.m. | OK | GNU C++14 | TESTS | 42 | 139 | 13414400 | 2000 | |
95162788 | prateek3110 | C | Oct. 10, 2020, 11:16 p.m. | OK | GNU C++14 | TESTS | 48 | 155 | 4608000 | 2000 | |
95143314 | nimishagarwal76 | C | Oct. 10, 2020, 5:31 p.m. | OK | GNU C++14 | TESTS | 42 | 155 | 7372800 | 2000 | |
95139958 | foxy007 | C | Oct. 10, 2020, 5:12 p.m. | OK | GNU C++14 | TESTS | 42 | 155 | 9830400 | 2000 | |
95137608 | nbl97 | C | Oct. 10, 2020, 5 p.m. | OK | GNU C++14 | TESTS | 42 | 156 | 1638400 | 2000 | |
95149405 | purinliang | C | Oct. 10, 2020, 6:26 p.m. | OK | GNU C++14 | TESTS | 42 | 187 | 4812800 | 2000 | |
95139204 | WCjrCK | C | Oct. 10, 2020, 5:08 p.m. | OK | GNU C++17 | TESTS | 42 | 78 | 4608000 | 2000 | |
95147066 | kclee2172 | C | Oct. 10, 2020, 5:49 p.m. | OK | GNU C++17 | TESTS | 42 | 93 | 1638400 | 2000 | |
95142784 | Sugarii | C | Oct. 10, 2020, 5:28 p.m. | OK | GNU C++17 | TESTS | 42 | 93 | 4198400 | 2000 | |
95143143 | Bombylius | C | Oct. 10, 2020, 5:30 p.m. | OK | GNU C++17 | TESTS | 42 | 93 | 4198400 | 2000 | |
95144595 | sharaelong | C | Oct. 10, 2020, 5:38 p.m. | OK | GNU C++17 | TESTS | 42 | 108 | 2048000 | 2000 | |
95167475 | Aris | C | Oct. 11, 2020, 2:42 a.m. | OK | GNU C++17 | TESTS | 49 | 108 | 3788800 | 2000 | |
95160475 | Archon. | C | Oct. 10, 2020, 9:55 p.m. | OK | GNU C++17 | TESTS | 44 | 109 | 8294400 | 2000 | |
95136614 | mult_9 | C | Oct. 10, 2020, 4:55 p.m. | OK | GNU C++17 | TESTS | 42 | 109 | 8294400 | 2000 | |
95166970 | tlnllkbp | C | Oct. 11, 2020, 2:25 a.m. | OK | GNU C++17 | TESTS | 49 | 124 | 2048000 | 2000 | |
95133754 | korangu_kuppan | C | Oct. 10, 2020, 4:40 p.m. | OK | GNU C++17 | TESTS | 42 | 124 | 4608000 | 2000 | |
95142149 | ddvddv | C | Oct. 10, 2020, 5:25 p.m. | OK | GNU C++17 (64) | TESTS | 42 | 93 | 6041600 | 2000 | |
95148670 | rath772k | C | Oct. 10, 2020, 6:20 p.m. | OK | GNU C++17 (64) | TESTS | 42 | 93 | 6041600 | 2000 | |
95146101 | yamate11 | C | Oct. 10, 2020, 5:45 p.m. | OK | GNU C++17 (64) | TESTS | 42 | 109 | 10444800 | 2000 | |
95144826 | pr3pony | C | Oct. 10, 2020, 5:39 p.m. | OK | GNU C++17 (64) | TESTS | 42 | 218 | 2048000 | 2000 | |
95150003 | dlp__302 | C | Oct. 10, 2020, 6:32 p.m. | OK | GNU C++17 (64) | TESTS | 42 | 218 | 3993600 | 2000 | |
95148979 | ssyze | C | Oct. 10, 2020, 6:22 p.m. | OK | GNU C++17 (64) | TESTS | 42 | 233 | 2048000 | 2000 | |
95155570 | Golden | C | Oct. 10, 2020, 7:57 p.m. | OK | GNU C++17 (64) | TESTS | 44 | 233 | 2048000 | 2000 | |
95152158 | Sisyy | C | Oct. 10, 2020, 6:59 p.m. | OK | GNU C++17 (64) | TESTS | 43 | 233 | 2048000 | 2000 | |
95156258 | MadKeinRocket | C | Oct. 10, 2020, 8:10 p.m. | OK | GNU C++17 (64) | TESTS | 44 | 233 | 3993600 | 2000 | |
95153201 | Oxygen. | C | Oct. 10, 2020, 7:15 p.m. | OK | GNU C++17 (64) | TESTS | 43 | 233 | 5222400 | 2000 | |
95136826 | habibulka | C | Oct. 10, 2020, 4:56 p.m. | OK | Java 11 | TESTS | 42 | 389 | 0 | 2000 | |
95144317 | dauom | C | Oct. 10, 2020, 5:36 p.m. | OK | Java 11 | TESTS | 42 | 716 | 5734400 | 2000 | |
95155030 | saptarshim | C | Oct. 10, 2020, 7:47 p.m. | OK | Java 11 | TESTS | 44 | 1107 | 0 | 2000 | |
95144958 | bobib | C | Oct. 10, 2020, 5:40 p.m. | OK | Java 11 | TESTS | 42 | 1138 | 6041600 | 2000 | |
95149514 | Agnimandur | C | Oct. 10, 2020, 6:27 p.m. | OK | Java 11 | TESTS | 42 | 1263 | 0 | 2000 | |
95143635 | Apfeloxid | C | Oct. 10, 2020, 5:33 p.m. | OK | Java 11 | TESTS | 42 | 1279 | 0 | 2000 | |
95157192 | b0bl0blaw | C | Oct. 10, 2020, 8:30 p.m. | OK | Java 11 | TESTS | 44 | 1372 | 0 | 2000 | |
95143017 | Yuki_B | C | Oct. 10, 2020, 5:30 p.m. | OK | Java 11 | TESTS | 42 | 1543 | 0 | 2000 | |
95153158 | Richard727 | C | Oct. 10, 2020, 7:15 p.m. | OK | Java 11 | TESTS | 43 | 1700 | 0 | 2000 | |
95171309 | sf14t | C | Oct. 11, 2020, 4:30 a.m. | OK | Java 11 | TESTS | 49 | 1746 | 0 | 2000 | |
95138904 | yuShaf | C | Oct. 10, 2020, 5:07 p.m. | OK | Java 8 | TESTS | 42 | 311 | 13926400 | 2000 | |
95144698 | Jevin | C | Oct. 10, 2020, 5:38 p.m. | OK | Java 8 | TESTS | 42 | 389 | 4608000 | 2000 | |
95144670 | abcde12345 | C | Oct. 10, 2020, 5:38 p.m. | OK | Java 8 | TESTS | 42 | 389 | 15155200 | 2000 | |
95162196 | abcde12345 | C | Oct. 10, 2020, 10:52 p.m. | OK | Java 8 | TESTS | 46 | 451 | 15155200 | 2000 | |
95153986 | gagan_6730 | C | Oct. 10, 2020, 7:28 p.m. | OK | Java 8 | TESTS | 43 | 997 | 0 | 2000 | |
95159356 | 2020akadaver | C | Oct. 10, 2020, 9:23 p.m. | OK | Java 8 | TESTS | 44 | 1138 | 0 | 2000 | |
95151544 | AnandOza | C | Oct. 10, 2020, 6:51 p.m. | OK | Java 8 | TESTS | 42 | 1185 | 0 | 2000 | |
95151589 | AnandOza | C | Oct. 10, 2020, 6:51 p.m. | OK | Java 8 | TESTS | 42 | 1263 | 0 | 2000 | |
95136071 | guoyihua | C | Oct. 10, 2020, 4:52 p.m. | OK | Java 8 | TESTS | 42 | 1294 | 0 | 2000 | |
95154547 | Naman_123 | C | Oct. 10, 2020, 7:38 p.m. | OK | Java 8 | TESTS | 44 | 1309 | 0 | 2000 | |
95156205 | sid9406 | C | Oct. 10, 2020, 8:09 p.m. | OK | Kotlin | TESTS | 44 | 982 | 0 | 2000 | |
95155329 | sid9406 | C | Oct. 10, 2020, 7:53 p.m. | OK | Kotlin | TESTS | 44 | 1154 | 7168000 | 2000 | |
95152246 | Tlatoani | C | Oct. 10, 2020, 7:01 p.m. | OK | Kotlin | TESTS | 43 | 1621 | 1843200 | 2000 | |
95142012 | r57shell | C | Oct. 10, 2020, 5:24 p.m. | OK | MS C++ | TESTS | 42 | 202 | 1638400 | 2000 | |
95143850 | kernel.bin | C | Oct. 10, 2020, 5:34 p.m. | OK | MS C++ 2017 | TESTS | 42 | 295 | 2457600 | 2000 | |
95137948 | Solt | C | Oct. 10, 2020, 5:02 p.m. | OK | MS C++ 2017 | TESTS | 42 | 343 | 1638400 | 2000 | |
95169653 | little_lion | C | Oct. 11, 2020, 3:47 a.m. | OK | MS C++ 2017 | TESTS | 49 | 358 | 2048000 | 2000 | |
95141886 | Cube219 | C | Oct. 10, 2020, 5:23 p.m. | OK | MS C++ 2017 | TESTS | 42 | 390 | 2048000 | 2000 | |
95140165 | MherKing | C | Oct. 10, 2020, 5:14 p.m. | OK | MS C++ 2017 | TESTS | 42 | 468 | 2048000 | 2000 | |
95136856 | gnomina007 | C | Oct. 10, 2020, 4:56 p.m. | OK | MS C++ 2017 | TESTS | 42 | 873 | 4096000 | 2000 | |
95136204 | orloffm | C | Oct. 10, 2020, 4:53 p.m. | OK | .NET Core C# | TESTS | 42 | 545 | 31027200 | 2000 | |
95140970 | azukun | C | Oct. 10, 2020, 5:18 p.m. | OK | .NET Core C# | TESTS | 42 | 919 | 11264000 | 2000 | |
95142527 | MyEighthName | C | Oct. 10, 2020, 5:27 p.m. | OK | .NET Core C# | TESTS | 42 | 1294 | 11776000 | 2000 | |
95149541 | ngoc.ks | C | Oct. 10, 2020, 6:27 p.m. | OK | Node.js | TESTS | 42 | 670 | 29388800 | 2000 | |
95140579 | BeanHeaDza | C | Oct. 10, 2020, 5:16 p.m. | OK | Node.js | TESTS | 42 | 686 | 37785600 | 2000 | |
95160047 | pajenegod | C | Oct. 10, 2020, 9:43 p.m. | OK | PyPy 2 | TESTS | 44 | 452 | 17612800 | 2000 | |
95159910 | pajenegod | C | Oct. 10, 2020, 9:39 p.m. | OK | PyPy 2 | TESTS | 44 | 483 | 17203200 | 2000 | |
95159614 | pajenegod | C | Oct. 10, 2020, 9:30 p.m. | OK | PyPy 2 | TESTS | 44 | 483 | 17305600 | 2000 | |
95167063 | pajenegod | C | Oct. 11, 2020, 2:28 a.m. | OK | PyPy 2 | TESTS | 49 | 545 | 20582400 | 2000 | |
95167276 | pajenegod | C | Oct. 11, 2020, 2:36 a.m. | OK | PyPy 2 | TESTS | 49 | 561 | 19660800 | 2000 | |
95165683 | pajenegod | C | Oct. 11, 2020, 1:36 a.m. | OK | PyPy 2 | TESTS | 49 | 608 | 19865600 | 2000 | |
95159936 | pajenegod | C | Oct. 10, 2020, 9:39 p.m. | OK | PyPy 2 | TESTS | 44 | 1247 | 17305600 | 2000 | |
95160597 | pajenegod | C | Oct. 10, 2020, 9:59 p.m. | OK | PyPy 2 | TESTS | 44 | 1700 | 17100800 | 2000 | |
95160372 | pajenegod | C | Oct. 10, 2020, 9:52 p.m. | OK | PyPy 2 | TESTS | 44 | 1731 | 17100800 | 2000 | |
95159448 | pajenegod | C | Oct. 10, 2020, 9:26 p.m. | OK | PyPy 2 | TESTS | 44 | 1933 | 17203200 | 2000 | |
95168714 | NatsubiSogan | C | Oct. 11, 2020, 3:18 a.m. | OK | PyPy 3 | TESTS | 49 | 920 | 30003200 | 2000 | |
95133774 | marroncastle | C | Oct. 10, 2020, 4:40 p.m. | OK | PyPy 3 | TESTS | 42 | 966 | 15360000 | 2000 | |
95151055 | sh1194 | C | Oct. 10, 2020, 6:44 p.m. | OK | PyPy 3 | TESTS | 42 | 1247 | 17100800 | 2000 | |
95144248 | Pneumokogur8 | C | Oct. 10, 2020, 5:36 p.m. | OK | PyPy 3 | TESTS | 42 | 1341 | 17100800 | 2000 | |
95161015 | beethoven97 | C | Oct. 10, 2020, 10:11 p.m. | OK | PyPy 3 | TESTS | 44 | 1434 | 13414400 | 2000 | |
95159804 | beethoven97 | C | Oct. 10, 2020, 9:36 p.m. | OK | PyPy 3 | TESTS | 44 | 1434 | 13516800 | 2000 | |
95159539 | beethoven97 | C | Oct. 10, 2020, 9:28 p.m. | OK | PyPy 3 | TESTS | 44 | 1466 | 13414400 | 2000 | |
95159300 | beethoven97 | C | Oct. 10, 2020, 9:21 p.m. | OK | PyPy 3 | TESTS | 44 | 1466 | 13414400 | 2000 | |
95164311 | throwawayatcoder | C | Oct. 11, 2020, 12:28 a.m. | OK | PyPy 3 | TESTS | 49 | 1652 | 18432000 | 2000 | |
95162369 | throwawayatcoder | C | Oct. 10, 2020, 11 p.m. | OK | PyPy 3 | TESTS | 47 | 1996 | 12083200 | 2000 | |
95149861 | zheland | C | Oct. 10, 2020, 6:31 p.m. | OK | Rust | TESTS | 42 | 93 | 3584000 | 2000 | |
95139909 | Russell_Emerine | C | Oct. 10, 2020, 5:12 p.m. | OK | Rust | TESTS | 42 | 280 | 1638400 | 2000 | |
95148572 | sansen | C | Oct. 10, 2020, 6:20 p.m. | OK | Rust | TESTS | 42 | 327 | 5734400 | 2000 |
Back to search problems