schrodingerstom's blog

By schrodingerstom, 5 hours ago, In English

2224A - Zhily and Array Operating

Tutorial
Implementation

2224B - Zhily and Mex and Max

Tutorial
Implementation

2224C - Zhily and Bracket Swapping

Tutorial
Implementation

2224D - Zhily and Barknights

Tutorial
Implementation

2223C - Zhily and Signpost

Tutorial
Implementation

2223D - Zhily and Cycle

Tutorial
Implementation

2223E - Zhily and Permutation

Tutorial
Implementation

2223F - Zhily and Colorful Strings

Tutorial
Implementation
  • Vote: I like it
  • +21
  • Vote: I do not like it

»
2 hours ago, hide # |
 
Vote: I like it +7 Vote: I do not like it

Sorry, the implementation might be unauthorized, we're solving it...

  • »
    »
    2 hours ago, hide # ^ |
     
    Vote: I like it +4 Vote: I do not like it

    should be fixed now

»
2 hours ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

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...

»
2 hours ago, hide # |
Rev. 2  
Vote: I like it +6 Vote: I do not like it

The solution for Problem $$$\textbf{Div2}$$$ $$$C$$$ is not clear!!

  • »
    »
    101 minute(s) ago, hide # ^ |
    Rev. 2  
    Vote: I like it 0 Vote: I do not like it

    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.

  • »
    »
    93 minutes ago, hide # ^ |
     
    Vote: I like it 0 Vote: I do not like it

    We are changing a new version of it. Hope it will help.

»
113 minutes ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

I created video editorial for D. Zhily and Barknights

»
102 minutes ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

can someone pls point out the mistake in this? (the function full of comments is taken from gfg)