Code Festival A If you cannot solve this by natrium

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

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

download

return to the top page