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 |
---|---|---|---|---|---|---|
1252 | 2019-2020 ICPC, Asia Jakarta Regional Contest (Online Mirror, ICPC Rules, Teams Preferred) | FINISHED | False | 18000 | 159676199 | Oct. 27, 2019, 3:30 a.m. |
Solved$ |
Index |
Name |
Type |
Tags |
Community Tag |
Rating |
---|---|---|---|---|---|---|
( 1436 ) | G | Performance Review | PROGRAMMING | data structures | 2300 |
B'Randall is a software engineer at a company with N employees. Every year, the company re-evaluates its employees. At the end of every year, the company replaces its several worst-performing employees and replaces with the same number of new employees, so that the company keeps having N employees. Each person has a constant performance and can be represented by an integer (higher integer means better performance), and no two people have the same performance. The performance of the initial employees are represented by an array of integers A = [A_1, A_2, ... , A_N] where A_i is the performance of the i^{th} employee. Randall is employee 1 , so his performance is A_1 . We will consider the first M years. At the end of the i^{th} year, the company replaces its R_i worst-performing employees and replaces with R_i new employees. The performance of these new employees are represented by an array of integers B_i = [(B_i)_1, (B_i)_2, ... , (B_i)_{R_i}] where (B_i)_j is the performance of the j^{th} new employee. He will consider Q scenarios. On the i^{th} scenario, he will change the value of (B_{X_i})_{Y_i} to Z_i . For each scenario, Randall is wondering whether he will still be in the company after M years. Note that the changes in each scenario are kept for the subsequent scenarios. Input begins with a line containing three integers: N M Q ( 2 <= N <= 100 ,000 ; 1 <= M, Q <= 100 ,000 ) representing the number of employees, the number of years to be considered, and the number of scenarios, respectively. The next line contains N integers: A_i ( 0 <= A_i <= 10^9 ) representing the performance of the initial employees. The next M lines each contains several integers: R_i (B_i)_1 , (B_i)_2 , cdots , (B_i)_{R_i} ( 1 <= R_i < N ; 0 <= (B_i)_j <= 10^9 ) representing'... |
T |
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
---|---|---|---|---|---|---|---|---|---|---|---|
66136911 | Adelard | G | Dec. 1, 2019, 12:37 p.m. | OK | GNU C++11 | TESTS | 71 | 93 | 9523200 | 2300 | |
64152668 | twilight7 | G | Nov. 3, 2019, 11:53 a.m. | OK | GNU C++11 | TESTS | 71 | 109 | 10240000 | 2300 | |
63522320 | w190971822 zbww yijan | G | Oct. 27, 2019, 4:09 a.m. | OK | GNU C++11 | TESTS | 71 | 109 | 10240000 | 2300 | |
66216680 | lys013 | G | Dec. 3, 2019, 9:13 a.m. | OK | GNU C++11 | TESTS | 71 | 109 | 14438400 | 2300 | |
63534930 | myx12345 chenkuowen | G | Oct. 27, 2019, 7:47 a.m. | OK | GNU C++11 | TESTS | 71 | 109 | 17612800 | 2300 | |
65805658 | liuweih | G | Nov. 27, 2019, 8:48 a.m. | OK | GNU C++11 | TESTS | 71 | 109 | 17612800 | 2300 | |
63786565 | Herlo | G | Oct. 30, 2019, 12:29 p.m. | OK | GNU C++11 | TESTS | 71 | 124 | 15155200 | 2300 | |
63550402 | hzy9819 | G | Oct. 27, 2019, 11:32 a.m. | OK | GNU C++11 | TESTS | 71 | 124 | 19456000 | 2300 | |
63916454 | hat saitoasuka Dancepted | G | Oct. 31, 2019, 10:14 a.m. | OK | GNU C++11 | TESTS | 71 | 139 | 9420800 | 2300 | |
64125021 | vjudge5 | G | Nov. 3, 2019, 4:12 a.m. | OK | GNU C++11 | TESTS | 71 | 139 | 42291200 | 2300 | |
63529991 | liouzhou_101 lavender730 | G | Oct. 27, 2019, 6:26 a.m. | OK | GNU C++14 | TESTS | 71 | 155 | 23756800 | 2300 | |
63537227 | kut_ksr1994 | G | Oct. 27, 2019, 8:25 a.m. | OK | GNU C++14 | TESTS | 71 | 264 | 19251200 | 2300 | |
63527754 | Qing_Yang | G | Oct. 27, 2019, 5:47 a.m. | OK | GNU C++14 | TESTS | 71 | 265 | 10342400 | 2300 | |
64140938 | AlexPop28 shantihhillalex AndreiCotor | G | Nov. 3, 2019, 8:31 a.m. | OK | GNU C++14 | TESTS | 71 | 265 | 10342400 | 2300 | |
63625004 | baohiep | G | Oct. 28, 2019, 2:57 a.m. | OK | GNU C++14 | TESTS | 71 | 265 | 11366400 | 2300 | |
64081934 | DeepThought42 | G | Nov. 2, 2019, 10:28 a.m. | OK | GNU C++14 | TESTS | 71 | 280 | 6860800 | 2300 | |
64082204 | DeepThought42 | G | Nov. 2, 2019, 10:32 a.m. | OK | GNU C++14 | TESTS | 71 | 280 | 6860800 | 2300 | |
63524801 | noshi91 | G | Oct. 27, 2019, 4:55 a.m. | OK | GNU C++14 | TESTS | 71 | 280 | 8396800 | 2300 | |
63532648 | 224 sg-61 vamsi3 | G | Oct. 27, 2019, 7:10 a.m. | OK | GNU C++14 | TESTS | 71 | 280 | 10342400 | 2300 | |
63837436 | DeepThought42 ravik1 SugA | G | Oct. 30, 2019, 2:44 p.m. | OK | GNU C++14 | TESTS | 71 | 280 | 10342400 | 2300 | |
63525091 | Elegia | G | Oct. 27, 2019, 5 a.m. | OK | GNU C++17 | TESTS | 71 | 93 | 43008000 | 2300 | |
65507616 | interestingLSY | G | Nov. 22, 2019, 12:34 a.m. | OK | GNU C++17 | TESTS | 71 | 171 | 13312000 | 2300 | |
64638622 | gRaphael | G | Nov. 10, 2019, 12:22 p.m. | OK | GNU C++17 | TESTS | 71 | 265 | 9625600 | 2300 | |
63652554 | mkisic jklepec paulica | G | Oct. 28, 2019, 11:49 a.m. | OK | GNU C++17 | TESTS | 71 | 280 | 7270400 | 2300 | |
63526239 | Arpa Man amsen_ | G | Oct. 27, 2019, 5:20 a.m. | OK | GNU C++17 | TESTS | 71 | 280 | 7270400 | 2300 | |
63685574 | saketh | G | Oct. 28, 2019, 10:21 p.m. | OK | GNU C++17 | TESTS | 71 | 280 | 7680000 | 2300 | |
63524503 | SheepRanger | G | Oct. 27, 2019, 4:50 a.m. | OK | GNU C++17 | TESTS | 71 | 280 | 9625600 | 2300 | |
63531612 | tfg Umi FlowerOfSorrow | G | Oct. 27, 2019, 6:52 a.m. | OK | GNU C++17 | TESTS | 71 | 280 | 9625600 | 2300 | |
66430517 | dinosaurs | G | Dec. 7, 2019, 2:28 a.m. | OK | GNU C++17 | TESTS | 71 | 280 | 11673600 | 2300 | |
63532753 | ConanYu | G | Oct. 27, 2019, 7:11 a.m. | OK | GNU C++17 | TESTS | 71 | 296 | 8806400 | 2300 | |
63753747 | Musin | G | Oct. 29, 2019, 9:44 p.m. | OK | Java 11 | TESTS | 71 | 327 | 5734400 | 2300 | |
63535276 | aminul | G | Oct. 27, 2019, 7:53 a.m. | OK | Java 8 | TESTS | 71 | 264 | 5632000 | 2300 | |
65459819 | gamesterrex | G | Nov. 21, 2019, 12:44 a.m. | OK | Java 8 | TESTS | 71 | 280 | 6144000 | 2300 | |
65459899 | gamesterrex | G | Nov. 21, 2019, 12:49 a.m. | OK | Java 8 | TESTS | 71 | 295 | 6144000 | 2300 | |
64748742 | jakejase2 | G | Nov. 12, 2019, 2:28 p.m. | OK | Java 8 | TESTS | 71 | 296 | 9216000 | 2300 | |
63872907 | ZeyadKhattab | G | Oct. 30, 2019, 6:03 p.m. | OK | Java 8 | TESTS | 71 | 436 | 10444800 | 2300 | |
64607328 | jdurie scheng | G | Nov. 9, 2019, 9:36 p.m. | OK | Java 8 | TESTS | 71 | 452 | 14540800 | 2300 | |
63527987 | ijxjdjd | G | Oct. 27, 2019, 5:51 a.m. | OK | Java 8 | TESTS | 71 | 546 | 42291200 | 2300 | |
67326923 | CrazyFlower | G | Dec. 21, 2019, 10:06 a.m. | OK | Java 8 | TESTS | 71 | 1076 | 12288000 | 2300 | |
63735818 | Spheniscine | G | Oct. 29, 2019, 3:17 p.m. | OK | Kotlin | TESTS | 71 | 405 | 5529600 | 2300 | |
63535505 | QuantumKnight | G | Oct. 27, 2019, 7:57 a.m. | OK | Mono C# | TESTS | 71 | 1169 | 50278400 | 2300 | |
64174615 | c.u | G | Nov. 3, 2019, 8:09 p.m. | OK | MS C++ 2017 | TESTS | 71 | 436 | 9728000 | 2300 | |
64355140 | lonely_moon | G | Nov. 6, 2019, 9:55 a.m. | OK | MS C++ 2017 | TESTS | 71 | 1418 | 84582400 | 2300 | |
63529516 | FlakeLCR wow_ok conqueror_of_tourist | G | Oct. 27, 2019, 6:18 a.m. | OK | PyPy 3 | TESTS | 71 | 1606 | 24985600 | 2300 |
Back to search problems