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 |
---|---|---|---|---|---|---|
1386 | Baltic Olympiad in Informatics 2020, Day 1 (IOI, Unofficial Mirror Contest, Unrated) | FINISHED | False | 18000 | 141936911 | July 22, 2020, 11:05 a.m. |
Solved$ |
Index |
Name |
Type |
Tags |
Community Tag |
Rating |
---|---|---|---|---|---|---|
( 574 ) | C | Joker | PROGRAMMING | *special bitmasks data structures divide and conquer ds |
B"Joker returns to Gotham City to execute another evil plan. In Gotham City, there are N street junctions (numbered from 1 to N ) and M streets (numbered from 1 to M ). Each street connects two distinct junctions, and two junctions are connected by at most one street. For his evil plan, Joker needs to use an odd number of streets that together form a cycle. That is, for a junction S and an even positive integer k , there is a sequence of junctions S, s_1, ldots, s_k, S such that there are streets connecting (a) S and s_1 , (b) s_k and S , and (c) s_{i-1} and s_i for each i = 2, ldots, k . However, the police are controlling the streets of Gotham City. On each day i , they monitor a different subset of all streets with consecutive numbers j : l_i <= q j <= q r_i . These monitored streets cannot be a part of Joker's plan, of course. Unfortunately for the police, Joker has spies within the Gotham City Police Department; they tell him which streets are monitored on which day. Now Joker wants to find out, for some given number of days, whether he can execute his evil plan. On such a day there must be a cycle of streets, consisting of an odd number of streets which are not monitored on that day. The first line of the input contains three integers N , M , and Q ( 1 <= q N, M, Q <= q 200 ,000 ): the number of junctions, the number of streets, and the number of days to be investigated. The following M lines describe the streets. The j -th of these lines ( 1 <= j <= M ) contains two junction numbers u and v ( u neq v ), saying that street j connects these two junctions. It is guaranteed that any two junctions are connected by at most one street. The following Q lines contain two integers l_i and r_i , saying that all streets j with l_i <= q j <= q r_i are checked by the polic"... |
T |
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
---|---|---|---|---|---|---|---|---|---|---|---|
87724975 | RandomID7896 | C | July 23, 2020, 1:25 a.m. | OK | GNU C++11 | TESTS | 116 | 202 | 60006400 | ||
87869884 | vjudge5 | C | July 24, 2020, 2:18 p.m. | OK | GNU C++11 | TESTS | 116 | 217 | 21708800 | ||
87965907 | charlieyan | C | July 25, 2020, 7:08 a.m. | OK | GNU C++11 | TESTS | 116 | 218 | 15462400 | ||
87869777 | charlieyan | C | July 24, 2020, 2:17 p.m. | OK | GNU C++11 | TESTS | 116 | 218 | 21708800 | ||
87724985 | RandomID7896 | C | July 23, 2020, 1:26 a.m. | OK | GNU C++11 | TESTS | 116 | 218 | 60006400 | ||
88164815 | QuartZ_Z | C | July 28, 2020, 1:41 a.m. | OK | GNU C++11 | TESTS | 116 | 234 | 10137600 | ||
88106420 | emoairx | C | July 27, 2020, 7:39 a.m. | OK | GNU C++11 | TESTS | 116 | 249 | 11161600 | ||
91002677 | duality | C | Aug. 25, 2020, 8:49 p.m. | OK | GNU C++11 | TESTS | 116 | 265 | 8192000 | ||
89104508 | train_driver | C | Aug. 6, 2020, 9:06 a.m. | OK | GNU C++11 | TESTS | 116 | 327 | 33894400 | ||
87816421 | fagu | C | July 24, 2020, 12:28 a.m. | OK | GNU C++11 | TESTS | 116 | 342 | 14643200 | ||
89523411 | Qu0cNguyen | C | Aug. 10, 2020, 3:39 p.m. | OK | GNU C++14 | TESTS | 116 | 296 | 14336000 | ||
89523351 | quocnguyen210 | C | Aug. 10, 2020, 3:38 p.m. | OK | GNU C++14 | TESTS | 116 | 296 | 14336000 | ||
88004621 | KMAASZRAA | C | July 25, 2020, 5:27 p.m. | OK | GNU C++14 | TESTS | 116 | 296 | 14336000 | ||
89521882 | quocnguyen210 | C | Aug. 10, 2020, 3:20 p.m. | OK | GNU C++14 | TESTS | 116 | 312 | 20377600 | ||
87675314 | Amoo_Safar | C | July 22, 2020, 12:33 p.m. | OK | GNU C++14 | TESTS | 116 | 327 | 10444800 | ||
88621218 | krijgertje | C | July 31, 2020, 8:20 p.m. | OK | GNU C++14 | TESTS | 116 | 327 | 15974400 | ||
87675451 | TadijaSebez | C | July 22, 2020, 12:35 p.m. | OK | GNU C++14 | TESTS | 116 | 342 | 12595200 | ||
91261988 | bktl1love | C | Aug. 29, 2020, 6:44 a.m. | OK | GNU C++14 | TESTS | 116 | 358 | 17408000 | ||
89076100 | AlanChen | C | Aug. 5, 2020, 11:42 p.m. | OK | GNU C++14 | TESTS | 116 | 373 | 8806400 | ||
89346825 | faremy | C | Aug. 8, 2020, 3:28 p.m. | OK | GNU C++14 | TESTS | 116 | 405 | 21094400 | ||
87746612 | 9baka_Cirno | C | July 23, 2020, 8:01 a.m. | OK | GNU C++17 | TESTS | 116 | 280 | 10137600 | ||
87977358 | AM. | C | July 25, 2020, 10:11 a.m. | OK | GNU C++17 | TESTS | 116 | 311 | 9318400 | ||
88552974 | anonymous314 | C | July 31, 2020, 3:30 a.m. | OK | GNU C++17 | TESTS | 116 | 312 | 18124800 | ||
90174193 | JeanBombeur | C | Aug. 16, 2020, 7:53 p.m. | OK | GNU C++17 | TESTS | 116 | 327 | 6451200 | ||
87751805 | nor | C | July 23, 2020, 8:58 a.m. | OK | GNU C++17 | TESTS | 116 | 327 | 20377600 | ||
87835146 | _Quf | C | July 24, 2020, 6:59 a.m. | OK | GNU C++17 | TESTS | 116 | 327 | 28569600 | ||
87695086 | AliShahali1382 | C | July 22, 2020, 3:36 p.m. | OK | GNU C++17 | TESTS | 116 | 327 | 31744000 | ||
87677493 | Shayan.P | C | July 22, 2020, 12:55 p.m. | OK | GNU C++17 | TESTS | 116 | 343 | 17510400 | ||
88003496 | DystoriaX | C | July 25, 2020, 5:06 p.m. | OK | GNU C++17 | TESTS | 116 | 358 | 14336000 | ||
88737022 | gs18115 | C | Aug. 2, 2020, 2:07 p.m. | OK | GNU C++17 | TESTS | 116 | 358 | 19660800 | ||
87867336 | errorgorn | C | July 24, 2020, 1:49 p.m. | OK | GNU C++17 (64) | TESTS | 116 | 249 | 19046400 | ||
87971957 | tzaph_ | C | July 25, 2020, 8:44 a.m. | OK | GNU C++17 (64) | TESTS | 116 | 249 | 22016000 | ||
87705061 | Benq | C | July 22, 2020, 5:36 p.m. | OK | GNU C++17 (64) | TESTS | 116 | 249 | 22016000 | ||
88816171 | Pankin | C | Aug. 3, 2020, 4:32 p.m. | OK | GNU C++17 (64) | TESTS | 116 | 264 | 248832000 | ||
88053900 | cookiedoth | C | July 26, 2020, 12:16 p.m. | OK | GNU C++17 (64) | TESTS | 116 | 280 | 13414400 | ||
87689694 | jiangly | C | July 22, 2020, 2:49 p.m. | OK | GNU C++17 (64) | TESTS | 116 | 280 | 34508800 | ||
87684769 | isaf27 | C | July 22, 2020, 2:01 p.m. | OK | GNU C++17 (64) | TESTS | 116 | 296 | 20172800 | ||
87693188 | dacin21 | C | July 22, 2020, 3:18 p.m. | OK | GNU C++17 (64) | TESTS | 116 | 343 | 100556800 | ||
87743646 | rama_pang | C | July 23, 2020, 7:25 a.m. | OK | GNU C++17 (64) | TESTS | 116 | 358 | 23654400 | ||
87850836 | AlexPop28 | C | July 24, 2020, 10:21 a.m. | OK | GNU C++17 (64) | TESTS | 116 | 374 | 13721600 |
Back to search problems