Getting run time error for two test cases on Finding CB Number problem

on submission, the code is executing well for all test cases except two. For those two cases I’ getting a run time error. Need Help! :frowning:

Here is my code.

hello @swastikswarupmeher
image
use stoll here.

and long long at other places whererve u r using int.

1 Like

@aman212yadav Ohh! thanks! It’s a great help. :slight_smile: