READUS.md's blog

By READUS.md, history, 2 years ago, In English

In the official solution, the method of this problem is described as below:

Click to see the method

But, what the f**k is the official standard code writing! It is considering a word is nice if the number of occurrences of A and B is even. It didn't even use a stack as the method above mentioned!

Click to see the official standard code

9 years passed and didn't even a single person mentioned this mistake???

  • Vote: I like it
  • -4
  • Vote: I do not like it

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

You are right of course, it doesn't even pass the first sample, weird...

»
2 years ago, # |
  Vote: I like it +5 Vote: I do not like it

then implement it by yourself you are not going to improve by looking at the code of the solution.

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

Where can I find/submit old COCI problems? I know oj.uz has 2015 onwards, but definitely not 2012/2013.