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 |
---|---|---|---|---|---|---|
1466 | Good Bye 2020 | FINISHED | False | 10800 | 127927463 | Dec. 30, 2020, 2:35 p.m. |
Solved$ |
Index |
Name |
Type |
Tags |
Community Tag |
Rating |
---|---|---|---|---|---|---|
( 2911 ) | F | Euclid's nightmare | PROGRAMMING | dfs and similar ds graphs math |
B"You may know that Euclid was a mathematician. Well, as it turns out, Morpheus knew it too. So when he wanted to play a mean trick on Euclid, he sent him an appropriate nightmare. In his bad dream Euclid has a set S of n m -dimensional vectors over the mathbb{Z}_2 field and can perform vector addition on them. In other words he has vectors with m coordinates, each one equal either 0 or 1 . Vector addition is defined as follows: let u+v = w , then w_i = (u_i + v_i) bmod 2 . Euclid can sum any subset of S and archive another m -dimensional vector over mathbb{Z}_2 . In particular, he can sum together an empty subset; in such a case, the resulting vector has all coordinates equal 0 . Let T be the set of all the vectors that can be written as a sum of some vectors from S . Now Euclid wonders the size of T and whether he can use only a subset S' of S to obtain all the vectors from T . As it is usually the case in such scenarios, he will not wake up until he figures this out. So far, things are looking rather grim for the philosopher. But there is hope, as he noticed that all vectors in S have at most 2 coordinates equal 1 . Help Euclid and calculate |T| , the number of m -dimensional vectors over mathbb{Z}_2 that can be written as a sum of some vectors from S . As it can be quite large, calculate it modulo 10^9+7 . You should also find S' , the smallest such subset of S , that all vectors in T can be written as a sum of vectors from S' . In case there are multiple such sets with a minimal number of elements, output the lexicographically smallest one with respect to the order in which their elements are given in the input. Consider sets A and B such that |A| = |B| . Let a_1, a_2, ... a_{|A|} and b_1, b_2, ... b_{|B|} be increasing arrays of indices elements "... |
Good Bye 2020 Editorial |
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
---|---|---|---|---|---|---|---|---|---|---|---|
102864539 | null0124 | F | Dec. 30, 2020, 8:04 p.m. | OK | Clang++17 Diagnostics | TESTS | 62 | 1107 | 26828800 | ||
102884213 | fishcathu. | F | Dec. 31, 2020, 5:41 a.m. | OK | GNU C++11 | TESTS | 62 | 155 | 10035200 | ||
102873448 | Zechariah_2001 | F | Dec. 31, 2020, 12:22 a.m. | OK | GNU C++11 | TESTS | 62 | 171 | 11980800 | ||
102879225 | Cain | F | Dec. 31, 2020, 3:58 a.m. | OK | GNU C++11 | TESTS | 62 | 171 | 13004800 | ||
102875633 | william555 | F | Dec. 31, 2020, 2:05 a.m. | OK | GNU C++11 | TESTS | 62 | 187 | 9318400 | ||
102851468 | Ryochii | F | Dec. 30, 2020, 5:10 p.m. | OK | GNU C++11 | TESTS | 62 | 187 | 13619200 | ||
102882966 | fishcathu. | F | Dec. 31, 2020, 5:20 a.m. | OK | GNU C++11 | TESTS | 62 | 202 | 10035200 | ||
102877974 | littlechai | F | Dec. 31, 2020, 3:26 a.m. | OK | GNU C++11 | TESTS | 62 | 202 | 12083200 | ||
102848648 | njwrz | F | Dec. 30, 2020, 5 p.m. | OK | GNU C++11 | TESTS | 62 | 202 | 25497600 | ||
102852371 | sher_wu | F | Dec. 30, 2020, 5:13 p.m. | OK | GNU C++11 | TESTS | 62 | 217 | 10035200 | ||
102852288 | myx12345 | F | Dec. 30, 2020, 5:13 p.m. | OK | GNU C++11 | TESTS | 62 | 217 | 35635200 | ||
102857579 | tfg102 | F | Dec. 30, 2020, 5:31 p.m. | OK | GNU C++14 | TESTS | 62 | 358 | 27955200 | ||
102873340 | cfabcdhhhh | F | Dec. 31, 2020, 12:17 a.m. | OK | GNU C++14 | TESTS | 62 | 405 | 11980800 | ||
102874782 | Wu-Kong | F | Dec. 31, 2020, 1:26 a.m. | OK | GNU C++14 | TESTS | 62 | 405 | 13721600 | ||
102863692 | FaQueue | F | Dec. 30, 2020, 7:53 p.m. | OK | GNU C++14 | TESTS | 62 | 421 | 7372800 | ||
102874739 | Wu-Kong | F | Dec. 31, 2020, 1:24 a.m. | OK | GNU C++14 | TESTS | 62 | 421 | 13721600 | ||
102853148 | koikotya | F | Dec. 30, 2020, 5:16 p.m. | OK | GNU C++14 | TESTS | 62 | 436 | 4505600 | ||
102853717 | ShubhamAvasthi | F | Dec. 30, 2020, 5:18 p.m. | OK | GNU C++14 | TESTS | 62 | 436 | 7372800 | ||
102877160 | sp1cyChezz | F | Dec. 31, 2020, 3:03 a.m. | OK | GNU C++14 | TESTS | 62 | 451 | 23859200 | ||
102876930 | Love_YY | F | Dec. 31, 2020, 2:55 a.m. | OK | GNU C++14 | TESTS | 62 | 452 | 7168000 | ||
102877011 | pazabol | F | Dec. 31, 2020, 2:58 a.m. | OK | GNU C++14 | TESTS | 62 | 452 | 7168000 | ||
102857498 | DPair | F | Dec. 30, 2020, 5:31 p.m. | OK | GNU C++17 | TESTS | 62 | 109 | 25088000 | ||
102879446 | vjudge4 | F | Dec. 31, 2020, 4:03 a.m. | OK | GNU C++17 | TESTS | 62 | 140 | 15769600 | ||
102873419 | An_Account | F | Dec. 31, 2020, 12:21 a.m. | OK | GNU C++17 | TESTS | 62 | 405 | 13209600 | ||
102865918 | knightL | F | Dec. 30, 2020, 8:23 p.m. | OK | GNU C++17 | TESTS | 62 | 405 | 13209600 | ||
102881347 | Aizawa_Azusa | F | Dec. 31, 2020, 4:48 a.m. | OK | GNU C++17 | TESTS | 62 | 405 | 20377600 | ||
102854164 | Lezedary_sandwich | F | Dec. 30, 2020, 5:19 p.m. | OK | GNU C++17 | TESTS | 62 | 405 | 28876800 | ||
102877358 | Goldexperienrce | F | Dec. 31, 2020, 3:09 a.m. | OK | GNU C++17 | TESTS | 62 | 420 | 6656000 | ||
102881197 | Aizawa_Azusa | F | Dec. 31, 2020, 4:45 a.m. | OK | GNU C++17 | TESTS | 62 | 420 | 20377600 | ||
102875925 | little_lion | F | Dec. 31, 2020, 2:19 a.m. | OK | GNU C++17 | TESTS | 62 | 421 | 6041600 | ||
102871113 | majk | F | Dec. 30, 2020, 10:42 p.m. | OK | GNU C++17 | TESTS | 62 | 436 | 5222400 | ||
102865822 | wleung_bvg | F | Dec. 30, 2020, 8:22 p.m. | OK | GNU C++17 (64) | TESTS | 62 | 124 | 6451200 | ||
102881445 | zlt1117 | F | Dec. 31, 2020, 4:50 a.m. | OK | GNU C++17 (64) | TESTS | 62 | 249 | 11980800 | ||
102879912 | sashiming | F | Dec. 31, 2020, 4:15 a.m. | OK | GNU C++17 (64) | TESTS | 62 | 280 | 6246400 | ||
102865342 | the_hyp0cr1t3 | F | Dec. 30, 2020, 8:15 p.m. | OK | GNU C++17 (64) | TESTS | 62 | 296 | 3993600 | ||
102879214 | emthrm | F | Dec. 31, 2020, 3:58 a.m. | OK | GNU C++17 (64) | TESTS | 62 | 296 | 6246400 | ||
102863245 | june_waves | F | Dec. 30, 2020, 7:48 p.m. | OK | GNU C++17 (64) | TESTS | 62 | 311 | 6246400 | ||
102871515 | jainbot27 | F | Dec. 30, 2020, 10:56 p.m. | OK | GNU C++17 (64) | TESTS | 62 | 311 | 8294400 | ||
102865545 | ToxicPie9 | F | Dec. 30, 2020, 8:18 p.m. | OK | GNU C++17 (64) | TESTS | 62 | 311 | 14643200 | ||
102879350 | wingsYouAretheHero | F | Dec. 31, 2020, 4:01 a.m. | OK | GNU C++17 (64) | TESTS | 62 | 311 | 22220800 | ||
102882874 | DanielMontes | F | Dec. 31, 2020, 5:18 a.m. | OK | GNU C++17 (64) | TESTS | 62 | 311 | 28262400 | ||
102873588 | Thallium_is_Vegetable | F | Dec. 31, 2020, 12:28 a.m. | OK | Go | TESTS | 62 | 342 | 18636800 | ||
102864351 | skittles1412 | F | Dec. 30, 2020, 8:01 p.m. | OK | Java 11 | TESTS | 62 | 405 | 28774400 | ||
102851719 | insert_cool_handle | F | Dec. 30, 2020, 5:11 p.m. | OK | Java 11 | TESTS | 62 | 499 | 37990400 | ||
102871478 | sarthakmanna | F | Dec. 30, 2020, 10:54 p.m. | OK | Java 11 | TESTS | 62 | 639 | 40960000 | ||
102871408 | sarthakmanna | F | Dec. 30, 2020, 10:51 p.m. | OK | Java 11 | TESTS | 62 | 654 | 40857600 | ||
102873508 | Okhair | F | Dec. 31, 2020, 12:24 a.m. | OK | Java 11 | TESTS | 62 | 670 | 23040000 | ||
102863895 | dusty.and.rusty | F | Dec. 30, 2020, 7:56 p.m. | OK | Java 11 | TESTS | 62 | 904 | 40140800 | ||
102864244 | dusty.and.rusty | F | Dec. 30, 2020, 8 p.m. | OK | Java 11 | TESTS | 62 | 935 | 40140800 | ||
102863239 | mbfeci | F | Dec. 30, 2020, 7:48 p.m. | OK | Java 8 | TESTS | 62 | 374 | 10137600 | ||
102855201 | pulkit1411 | F | Dec. 30, 2020, 5:23 p.m. | OK | Java 8 | TESTS | 62 | 546 | 27443200 | ||
102866979 | qlf9 | F | Dec. 30, 2020, 8:42 p.m. | OK | Java 8 | TESTS | 62 | 546 | 27750400 | ||
102852330 | flyman3046 | F | Dec. 30, 2020, 5:13 p.m. | OK | Java 8 | TESTS | 62 | 561 | 11161600 | ||
102863098 | awesomelemonade | F | Dec. 30, 2020, 7:47 p.m. | OK | Java 8 | TESTS | 62 | 576 | 10547200 | ||
102864691 | MagentaCobra | F | Dec. 30, 2020, 8:06 p.m. | OK | Java 8 | TESTS | 62 | 608 | 26726400 | ||
102855134 | polyakoff | F | Dec. 30, 2020, 5:23 p.m. | OK | Java 8 | TESTS | 62 | 826 | 40448000 | ||
102869309 | b0bl0blaw | F | Dec. 30, 2020, 9:39 p.m. | OK | Kotlin | TESTS | 62 | 701 | 11980800 | ||
102871340 | CepGamer | F | Dec. 30, 2020, 10:49 p.m. | OK | Kotlin | TESTS | 62 | 1996 | 48025600 | ||
102864324 | r57shell | F | Dec. 30, 2020, 8:01 p.m. | OK | MS C++ | TESTS | 62 | 389 | 16691200 | ||
102866826 | Megalitum | F | Dec. 30, 2020, 8:39 p.m. | OK | MS C++ 2017 | TESTS | 62 | 1279 | 13107200 | ||
102854777 | onp1978 | F | Dec. 30, 2020, 5:22 p.m. | OK | MS C++ 2017 | TESTS | 62 | 1653 | 25497600 | ||
102879062 | terry_u16 | F | Dec. 31, 2020, 3:54 a.m. | OK | .NET Core C# | TESTS | 62 | 234 | 11673600 | ||
102866576 | fancy_lettuce | F | Dec. 30, 2020, 8:35 p.m. | OK | .NET Core C# | TESTS | 62 | 499 | 46080000 | ||
102851287 | mban259 | F | Dec. 30, 2020, 5:09 p.m. | OK | .NET Core C# | TESTS | 62 | 608 | 50995200 | ||
102849393 | azukun | F | Dec. 30, 2020, 5:03 p.m. | OK | .NET Core C# | TESTS | 62 | 780 | 85504000 | ||
102863012 | FlakeLCR | F | Dec. 30, 2020, 7:46 p.m. | OK | PyPy 3 | TESTS | 62 | 1092 | 70860800 | ||
102856608 | FlakeLCR | F | Dec. 30, 2020, 5:28 p.m. | OK | PyPy 3 | TESTS | 62 | 1107 | 70758400 | ||
102875866 | at_f | F | Dec. 31, 2020, 2:16 a.m. | OK | PyPy 3 | TESTS | 62 | 1200 | 111616000 | ||
102857205 | neterukun | F | Dec. 30, 2020, 5:30 p.m. | OK | PyPy 3 | TESTS | 62 | 1387 | 70144000 | ||
102868489 | gintoki_s | F | Dec. 30, 2020, 9:19 p.m. | OK | PyPy 3 | TESTS | 62 | 1404 | 35328000 | ||
102866526 | ap1008 | F | Dec. 30, 2020, 8:34 p.m. | OK | PyPy 3 | TESTS | 62 | 1434 | 24678400 | ||
102879575 | sh1194 | F | Dec. 31, 2020, 4:06 a.m. | OK | PyPy 3 | TESTS | 62 | 1435 | 53862400 | ||
102879663 | sh1194 | F | Dec. 31, 2020, 4:08 a.m. | OK | PyPy 3 | TESTS | 62 | 1466 | 51814400 | ||
102879743 | sh1194 | F | Dec. 31, 2020, 4:10 a.m. | OK | PyPy 3 | TESTS | 62 | 1481 | 54272000 | ||
102868465 | gintoki_s | F | Dec. 30, 2020, 9:18 p.m. | OK | PyPy 3 | TESTS | 62 | 1497 | 35328000 |
Back to search problems