Code Festival A If you cannot solve this by yuscarlet

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

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

download

return to the top page