https://ide.codingblocks.com/s/53450
this is the solution for problem: https://www.codechef.com/FEB19B/problem/DEPCHEF
It is working well on sample Case’s but on submission it is showing wrong answer…
When I am not giving any custom input it is printing -1 infinite time and giving SIGTSTP error.
please solve the errors…
Feb Long challenge DEPCHEF Problem
print the best defence . having highest value of defence .
The question can be answered once the contest is over , otherwise it would be unfair for others.
thanks for the hint.its working now!!!