My code passed pretests, while giving wrong output on Sample Test Case

Revision en3, by MasterBaiter, 2020-06-17 09:52:57

Here is my submission : 83990283

As you can see for the Test case 1, (sample test case), string "bbc" cannot be obtained from "abac", then, why is verdict "OK"?

Can someone explain what exactly happened here?

(If it showed WA during the contest, I would have easily corrected my code)

(The guy who hacked my code, used the sample test case https://codeforces.me/contest/1367/hacks/651742)

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en3 English MasterBaiter 2020-06-17 09:52:57 47
en2 English MasterBaiter 2020-06-17 09:48:44 0 (published)
en1 English MasterBaiter 2020-06-17 09:48:11 455 Initial revision (saved to drafts)