Code Festival A If you cannot solve this by catupper

i,s[9],r;main(n){for(;~scanf("%d",&n);i=r=!puts(r<*s*2*n?"Pass":"Fail"))for(;i<n;r+=s[i++])scanf("%d",s+i);}

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

download

return to the top page