NZEC Runtime Error

inpt = raw_input()
withdraw, initial = [float(i) for i in inpt.split(’ ')]

if float(withdraw) > 0 and float(initial) >=0:
	    if float(initial) - float(withdraw)>0 and float(withdraw)%5==0: 
	    final = float(withdraw) + 0.50
	    print float(initial)-final
    else:
	    print initial

put return 0;
at the end before main… this error means your program is not returning zero

pls go through this link…

http://discuss.codechef.com/questions/11990/atm-problem-please-tell-whats-wrong

please search for a few similar ques, before asking new ones…as they may have been already answered…:slight_smile:

not required…this is not c!!!