Code Festival A If you cannot solve this by orisano

main(n,m,t){for(;~scanf("%d%d",&n,&m);puts(0<m?"Pass":"Fail"))for(m*=n+n-1;--n;m-=t)scanf("%d",&t);}

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

download

return to the top page