Question link: https://codeforces.com/contest/1269/problem/C
Hey everyone check this question as this question got accepted right now on codeforce div. 2 but I know the answer of given test case :
6 4
123945
should be 124012 instead of 123912 , although I wrote such that it should give correct answer but i was missing something ans it was giving 123912 which is wrong and since it was 3rd question so very less time was left with me so i submitted and to my surprise it got accepted. So am i missing something or test case were really weak.
and yes what does successful and unsuccessful hack mean in codeforce , since i am new there so i don’t know about it.
Thanks for giving your precious time!!!