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

What do you do when the number of test cases are not mentioned?

$
0
0

I tried solving the 'Chef & Integers' question in the September Challenge. But, in the sample input, they have not written anything about the number of test cases. I assumed that there would be just one test case, but I am getting a TLE. I tried optimizing it but it did not work. Yes, my algorithm may be poor, but why does this question not contain this trivial information? Any tricks here?


Viewing all articles
Browse latest Browse all 40121

Trending Articles



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