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 |
---|---|---|---|---|---|---|
1906 | 2023-2024 ICPC, Asia Jakarta Regional Contest (Online Mirror, Unrated, ICPC Rules, Teams Preferred) | FINISHED | False | 18000 | 35601863 | Dec. 3, 2023, 4:35 a.m. |
Solved$ |
Index |
Name |
Type |
Tags |
Community Tag |
Rating |
---|---|---|---|---|---|---|
( 1267 ) | F | Maximize The Value | PROGRAMMING | data structures |
B'You are given a one-based array consisting of N integers: A_1, A_2, cdots, A_N . Initially, the value of each element is set to 0 . There are M operations (numbered from 1 to M ). Operation i is represented by langle L_i, R_i, X_i rangle . If operation i is executed, all elements A_j for L_i <= q j <= q R_i will be increased by X_i . You have to answer Q independent queries. Each query is represented by langle K, S, T rangle which represents the following task. Choose a range [l, r] satisfying S <= q l <= q r <= q T , and execute operations l, l + 1, ... , r . The answer to the query is the maximum value of A_K after the operations are executed among all possible choices of l and r . The first line consists of two integers N M ( 1 <= q N, M <= q 100 ,000 ). Each of the next M lines consists of three integers L_i R_i X_i ( 1 <= q L_i <= q R_i <= q N; -100 ,000 <= q X_i <= q 100 ,000 ). The following line consists of an integer Q ( 1 <= q Q <= q 100 ,000 ). Each of the next Q lines consists of three integers K S T ( 1 <= q K <= q N; 1 <= q S <= q T <= q M ). For each query, output in a single line, an integer which represent the answer of the query. Explanation for the sample input/output #1 For query 1 , one of the solutions is to execute operation 4 and 5 . For query 2 , one of the solutions is to execute operation 4 , 5 , and 6 . For query 3 , the only solution is to execute operation 3 . For query 4 , the only solution is to execute operation 1 . For query 6 , the only solution is to execute operation 2 . '... |
problem_analysis.pdf |
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
---|---|---|---|---|---|---|---|---|---|---|---|
235470185 | StarSilk | F | Dec. 3, 2023, 5:53 a.m. | OK | GNU C++14 | TESTS | 50 | 249 | 37068800 | ||
235468996 | tokitsukaze | F | Dec. 3, 2023, 5:40 a.m. | OK | GNU C++14 | TESTS | 50 | 312 | 24883200 | ||
235483006 | MrPoopybutthole DigiM apakaden | F | Dec. 3, 2023, 7:43 a.m. | OK | GNU C++14 | TESTS | 50 | 358 | 19968000 | ||
235470341 | yeminghan | F | Dec. 3, 2023, 5:55 a.m. | OK | GNU C++14 | TESTS | 50 | 358 | 22016000 | ||
235475914 | xvzhiming | F | Dec. 3, 2023, 6:47 a.m. | OK | GNU C++14 | TESTS | 50 | 389 | 25190400 | ||
235468993 | PEIMUDA bilibilitdasc Error_Yuan | F | Dec. 3, 2023, 5:40 a.m. | OK | GNU C++14 | TESTS | 50 | 436 | 25088000 | ||
235506452 | bigmurmur | F | Dec. 3, 2023, 10:38 a.m. | OK | GNU C++14 | TESTS | 50 | 468 | 63692800 | ||
235472019 | itshawn immccn123 rickyxrc | F | Dec. 3, 2023, 6:11 a.m. | OK | GNU C++14 | TESTS | 50 | 483 | 262451200 | ||
235471373 | DanWin zhouzepeng_2023 Yaimsea | F | Dec. 3, 2023, 6:05 a.m. | OK | GNU C++14 | TESTS | 50 | 514 | 31334400 | ||
235469300 | RealReliauk minstdfx MegalovaniaJ | F | Dec. 3, 2023, 5:43 a.m. | OK | GNU C++14 | TESTS | 50 | 826 | 40755200 | ||
235523842 | subhasravani | F | Dec. 3, 2023, 1:07 p.m. | OK | GNU C++17 | TESTS | 50 | 389 | 22016000 | ||
235505985 | lunilay2002 | F | Dec. 3, 2023, 10:34 a.m. | OK | GNU C++17 | TESTS | 50 | 389 | 22016000 | ||
235469138 | gisp_zjz triple__a Roundgod | F | Dec. 3, 2023, 5:41 a.m. | OK | GNU C++17 | TESTS | 50 | 389 | 22425600 | ||
235467456 | Biot_DucToan darkclay Namine | F | Dec. 3, 2023, 5:22 a.m. | OK | GNU C++17 | TESTS | 50 | 389 | 25600000 | ||
235473366 | KKT_89 Puranya_ ikefumy | F | Dec. 3, 2023, 6:25 a.m. | OK | GNU C++17 | TESTS | 50 | 390 | 16384000 | ||
235602750 | GRB_080319B | F | Dec. 3, 2023, 4:33 p.m. | OK | GNU C++17 | TESTS | 50 | 390 | 19353600 | ||
235471019 | _chroneZ | F | Dec. 3, 2023, 6:02 a.m. | OK | GNU C++17 | TESTS | 50 | 405 | 23654400 | ||
235611995 | ntuanvu89 | F | Dec. 3, 2023, 5:19 p.m. | OK | GNU C++17 | TESTS | 50 | 421 | 22016000 | ||
235473537 | ngmtuan fryingduc kh0i | F | Dec. 3, 2023, 6:26 a.m. | OK | GNU C++17 | TESTS | 50 | 421 | 25907200 | ||
235467138 | aa2985759 AkaiLemon yang12138 | F | Dec. 3, 2023, 5:18 a.m. | OK | GNU C++17 | TESTS | 50 | 436 | 23040000 | ||
235465251 | negative1 User_Carrot N_z__ | F | Dec. 3, 2023, 4:54 a.m. | OK | GNU C++17 (64) | TESTS | 50 | 187 | 31539200 | ||
235466505 | cmk666 cyb1010 LXH-cat | F | Dec. 3, 2023, 5:10 a.m. | OK | GNU C++17 (64) | TESTS | 50 | 202 | 26521600 | ||
235470957 | BigHeadCarrot niao_v AKCqhzdy | F | Dec. 3, 2023, 6:01 a.m. | OK | GNU C++17 (64) | TESTS | 50 | 234 | 99942400 | ||
235479424 | IceKnight1093 | F | Dec. 3, 2023, 7:16 a.m. | OK | GNU C++17 (64) | TESTS | 50 | 249 | 20889600 | ||
235465842 | Karuna arnold518 YeongTree | F | Dec. 3, 2023, 5:02 a.m. | OK | GNU C++17 (64) | TESTS | 50 | 280 | 25190400 | ||
235489002 | nbu-yqh idle-person 5-3 | F | Dec. 3, 2023, 8:25 a.m. | OK | GNU C++17 (64) | TESTS | 50 | 280 | 326656000 | ||
235467078 | rniya | F | Dec. 3, 2023, 5:17 a.m. | OK | GNU C++17 (64) | TESTS | 50 | 295 | 24268800 | ||
235504416 | FeathBow | F | Dec. 3, 2023, 10:20 a.m. | OK | GNU C++17 (64) | TESTS | 50 | 311 | 42496000 | ||
235469463 | maomao90 | F | Dec. 3, 2023, 5:45 a.m. | OK | GNU C++17 (64) | TESTS | 50 | 327 | 24985600 | ||
235472288 | hohohahahihi Normie28 ilovevoi | F | Dec. 3, 2023, 6:14 a.m. | OK | GNU C++17 (64) | TESTS | 50 | 327 | 28774400 | ||
235471830 | kachhuaa chiki_D vrintle | F | Dec. 3, 2023, 6:09 a.m. | OK | GNU C++20 (64) | TESTS | 50 | 171 | 13619200 | ||
235465691 | ecnerwala ksun48 | F | Dec. 3, 2023, 5 a.m. | OK | GNU C++20 (64) | TESTS | 50 | 187 | 18534400 | ||
235479966 | JeevanJyot the_hyp0cr1t3 | F | Dec. 3, 2023, 7:20 a.m. | OK | GNU C++20 (64) | TESTS | 50 | 202 | 16076800 | ||
235504542 | throwawayac2004 | F | Dec. 3, 2023, 10:21 a.m. | OK | GNU C++20 (64) | TESTS | 50 | 202 | 18534400 | ||
235466000 | HollwoQ_Pelw khuepr123 thenymphsofdelphi | F | Dec. 3, 2023, 5:04 a.m. | OK | GNU C++20 (64) | TESTS | 50 | 202 | 20582400 | ||
235464488 | ITworker_Z red-stone | F | Dec. 3, 2023, 4:45 a.m. | OK | GNU C++20 (64) | TESTS | 50 | 202 | 86016000 | ||
235467092 | Sana Snow-Flower | F | Dec. 3, 2023, 5:17 a.m. | OK | GNU C++20 (64) | TESTS | 50 | 218 | 22937600 | ||
235470327 | __coffee__ DanWallgun okwedook | F | Dec. 3, 2023, 5:54 a.m. | OK | GNU C++20 (64) | TESTS | 50 | 233 | 24985600 | ||
235490588 | Turkhuuu | F | Dec. 3, 2023, 8:36 a.m. | OK | GNU C++20 (64) | TESTS | 50 | 234 | 21708800 | ||
235468332 | MihariOyama OyamaMahiro MahiroOyama | F | Dec. 3, 2023, 5:32 a.m. | OK | GNU C++20 (64) | TESTS | 50 | 234 | 28364800 | ||
235522710 | arvindf232 | F | Dec. 3, 2023, 12:57 p.m. | OK | Kotlin 1.6 | TESTS | 50 | 857 | 40960000 |
Back to search problems