Code Festival A If you cannot solve this by nuip

main(n,s,t,a){for(;~scanf("%d%d",&n,&s);puts(s<a*2?"Pass":"Fail"))for(a=s*n;--n;s+=t)scanf("%d",&t);}

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

download

return to the top page