Hey there.
I have gotten NZEC for few problems, using python3 for no apperent reasson.
Code works fine on test cases in Ideone.
Can some1 clear it up for me??
import sys
def maximum(osnova,stava,konec):
r = abs(osnova-konec)/stava
if r!=int(r):
print("No accounting table")
else:
š = r//3
if r%3!=0:
š+=1
print(int(š))
for line in sys.stdin.readlines()[:-1]:
line = line.strip("\n").strip(" ")
x,y,z = line.split(" ")
maximum(int(x),int(y),int(z))
link:
ideone.com/zW2oy