Closed SzilBalazs closed 1 month ago
https://cses.fi/file/ecf9c3c8ee0ce18cbcc322695da6a744b3dfa6a5a9494f16922b4dace171ca25/1/1/ I can't access this URL. Can you publish it, or explain the hack case?
Looks like cses modified how testcases can be accessed, new url: https://cses.fi/view/1/ecf9c3c8ee0ce18cbcc322695da6a744b3dfa6a5a9494f16922b4dace171ca25 On pastebin: https://pastebin.com/rpFS7Nxn
Thank you! I understand it.
I have confirmed that the submission in question is now resulting in a TLE. Thank you!
The following solutions gets the accepted verdict using Hopcroft-Karp while allowing multiple visits to the same node in the same iteration. This is a fundamental flaw and makes running time exponential. https://judge.yosupo.jp/submission/174363
One counter test can be seen at cses.fi's school dance test case 15. Note that the problem uses 1 based indexing. Testcase: https://cses.fi/file/ecf9c3c8ee0ce18cbcc322695da6a744b3dfa6a5a9494f16922b4dace171ca25/1/1/