Code Festival A If you cannot solve this by zaburo

import sys
for l in sys.stdin:a=map(int,l.split());print ("Fail","Pass")[sum(a)/2./a[0]-.5<a[1]]

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page