2224A - Zhily and Array Operating
Tutorial
Implementation
Tutorial
Implementation
2224C - Zhily and Bracket Swapping
Tutorial
Implementation
Tutorial
Implementation
Tutorial
Implementation
Tutorial
Implementation
Tutorial
Implementation
2223F - Zhily and Colorful Strings
Tutorial
Implementation








Sorry, the implementation might be unauthorized, we're solving it...
should be fixed now
https://mirror.codeforces.com/contest/2224/submission/373788886
The java implementation for 2224D solution 2 got TLE with Fenwick tree, but it passed with merge sort. Wondering why...
The solution for Problem $$$\textbf{Div2}$$$ $$$C$$$ is not clear!!
It may be more intuitive to apply the greedy algorithm to verify whether the value of the number of left parentheses minus the number of right parentheses in the two strings is valid.373672904.Hope it will help.
We are changing a new version of it. Hope it will help.
I created video editorial for D. Zhily and Barknights
can someone pls point out the mistake in this? (the function full of comments is taken from gfg)
Should not $$$k$$$ range over $$$[0, \frac{d_u}{\gcd(M_u, d_u)} - 1] $$$ ?
EDIT: I got it. $$$k \in [0, \frac{d_u}{\gcd(M_u, d_u)} - 1]$$$ if the modulus is $$$d_u$$$
My mistake. We will correct it immediately :(
I'm new here. Can somebody tell me why the source in the implementation shows "N/A"? Is my viewing permission sufficient?
can someone please help me figure out why my submission resulted in rte for preblem C? i used a binary searching like technique on centroid
https://ideone.com/OYXng2
nvm, i fixed it