WhY WA#16???????????????!!!!!!!! I think it true solution
Edited by author 16.03.2007 22:42
Re: WhY WA#16???????????????!!!!!!!! I think it true solution
Pay attention on this line
a[i]=a[i-1]+a[i/2];
Re: WhY WA#16???????????????!!!!!!!! I think it true solution
What mistake can be in this line?THANK!
Re: WhY WA#16???????????????!!!!!!!! I think it true solution
overflow
Re: WhY WA#16???????????????!!!!!!!! I think it true solution
I try to correct it!If I cant,please, say how i must correct!THANK!!!
Re: WhY WA#16???????????????!!!!!!!! I think it true solution
I cant correct!IF YOU can,help me!!!THANK!!!!!
Edited by author 16.03.2007 19:22
Re: WhY WA#16???????????????!!!!!!!! I think it true solution
a[i]=(a[i-1]+a[i/2])%p;
Re: WhY WA#16???????????????!!!!!!!! I think it true solution
THANK for hint!
Edited by author 16.03.2007 22:21
Re: WhY WA#16???????????????!!!!!!!! I think it true solution
NOW I HAVE MLE on 24 test!
Re: WhY WA#16???????????????!!!!!!!! I think it true solution
Use int instead of __int64 and you'll get AC!
Re: WhY WA#16???????????????!!!!!!!! I think it true solution
WOW!!!NOW I GOT AC!!!THANK to KIRILL(ArcSTU) & Romko [Lviv NU]!!!!
Edited by author 16.03.2007 22:41
Re: WhY WA#16???????????????!!!!!!!! I think it true solution
[code deleted]
Edited by author 18.06.2007 16:58
Re: WhY WA#16???????????????!!!!!!!! I think it true solution
[code delete]
Edited by author 30.06.2007 15:04