Thanks Obaida for your replyingObaida wrote:Remove the exit(0); function. This is not valid.
Hope you get Accepted & remove the code.
i have do what u tell me but still runtime error and this is the UVa mail to me:
PLZ Reply me I really need helpYour submission for the problem 10041 - Vito's Family has failed with verdict Runtime error.
This means that the execution of your program didn't finish properly. Remember to always terminate your code with the exit code 0.
Thanks in advance