Runtime error on Books on CSES problemset.
For some testcases I am getting a run time error while it runs fine on my local machine. Problem code. Any help would be awesome.
CodeChef Starters 132 Solution Discussion