Code Festival A If you cannot solve this by ciel

s;main(x,n){for(;~scanf("%d%d",&n,&s);puts(s>0?"Pass":"Fail"))for(s=2*s*n-s;--n;s-=x)scanf("%d",&x);}

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

download

return to the top page