|
|
back to boardBad tests My first AC submission on test s = 5 n = 2 1 3 0 3 0 answers YES, but correct is NO (sorry for bad english) Re: Bad tests Posted by Huy 17 Nov 2008 18:17 "No" is true. because: a[1]=1 a[2]=3 a[3]=0 a[4]=3 a[5]=0; sum=a[1]+a[2]+a[3]=6 > (4-2+1)+2=5 ,=> "No" |
|
|