Quantcast
Channel: CodeChef Discuss - latest questions
Viewing all articles
Browse latest Browse all 40121

Code for SPELLBOB giving WRONG ANSWER in judge but working in IDE. What do I not understand?

$
0
0

My code for SPELLBOB is giving me a WRONG ANSWER (WA) in the judge but when I run it against the input given to us to test in the CodeChef IDE I get the right answers.

My understanding of the problem was that we are supposed to check whether the cards given to us have the ABILITY to spell 'bob' (2 b's and one 'o'), in any order 'bbo' 'obb' 'bob'. Is there something I am not understanding about the problem? Or is there something I am assuming that is wrong?

I don't need the answer to the problem, just an answer on whether my understanding of the problem is correct.


Viewing all articles
Browse latest Browse all 40121

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>