Is there any problem with codeforces code testing?

Revision en4, by 5-gon, 2022-06-21 11:27:34

I was solving a problem in CF. So, I came up with an idea(don't know if it would work for sure)..I implemented the code. While I was testing the sample input..it successfully passed! But when I submit the problem, the sample didn't passed. Then I tested it in the CF custom testing but it showed me the same result that the sample test cases failed! But my editor showed me that all samples passed. So, I tested it on codechef editor & online c++ compiler. They showed me my test cases passed! Don't understand what happened! Is there any issue on CF compiler or testing?

Problem link: 701C - Они повсюду

My Code -> (https://ideone.com/8H7sXX)

The input - 7 bcAAcbc

The real output - 3

The output showed me — 2

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en4 English 5-gon 2022-06-21 11:27:34 1
en3 English 5-gon 2022-06-11 08:44:01 1087
en2 English 5-gon 2022-06-11 08:41:53 2 Tiny change: ' int n;\n cin >>' -> ' int n;\n\n cin >>'
en1 English 5-gon 2022-06-11 08:39:51 1846 Initial revision (published)