Code Festival A If you cannot solve this by kimiyuki

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

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

download

return to the top page