Test case failed

I am sharing the link of my code. Please see if there is any error. It is showing that all the test cases are failed.

hey @Nikhil-Rajput-1327861567562217
for each test case print the ans in a new line

cout<<smartRobber(a,n)<<endl;

if this solves your doubt please mark it as resolved :slight_smile: