ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1537. Ents

CHIDEMYAN SERGEY WhY WA#16???????????????!!!!!!!! I think it true solution [12] // Problem 1537. Ents 15 Mar 2007 21:57


Edited by author 16.03.2007 22:42
KIRILL(ArcSTU) Re: WhY WA#16???????????????!!!!!!!! I think it true solution [11] // Problem 1537. Ents 16 Mar 2007 01:58
Pay attention on this line

a[i]=a[i-1]+a[i/2];
CHIDEMYAN SERGEY Re: WhY WA#16???????????????!!!!!!!! I think it true solution [10] // Problem 1537. Ents 16 Mar 2007 13:03
What mistake can be in this line?THANK!
KIRILL(ArcSTU) Re: WhY WA#16???????????????!!!!!!!! I think it true solution [9] // Problem 1537. Ents 16 Mar 2007 13:50
overflow
CHIDEMYAN SERGEY Re: WhY WA#16???????????????!!!!!!!! I think it true solution [8] // Problem 1537. Ents 16 Mar 2007 19:00
I try to correct it!If I cant,please, say how i must correct!THANK!!!
CHIDEMYAN SERGEY Re: WhY WA#16???????????????!!!!!!!! I think it true solution [7] // Problem 1537. Ents 16 Mar 2007 19:21
I cant correct!IF YOU can,help me!!!THANK!!!!!

Edited by author 16.03.2007 19:22
KIRILL(ArcSTU) Re: WhY WA#16???????????????!!!!!!!! I think it true solution [6] // Problem 1537. Ents 16 Mar 2007 20:44
a[i]=(a[i-1]+a[i/2])%p;
CHIDEMYAN SERGEY Re: WhY WA#16???????????????!!!!!!!! I think it true solution [5] // Problem 1537. Ents 16 Mar 2007 22:04
THANK for hint!


Edited by author 16.03.2007 22:21
CHIDEMYAN SERGEY Re: WhY WA#16???????????????!!!!!!!! I think it true solution [4] // Problem 1537. Ents 16 Mar 2007 22:22
NOW I HAVE MLE on 24 test!
Romko [Lviv NU] Re: WhY WA#16???????????????!!!!!!!! I think it true solution [3] // Problem 1537. Ents 16 Mar 2007 22:23
Use int instead of __int64 and you'll get AC!
CHIDEMYAN SERGEY Re: WhY WA#16???????????????!!!!!!!! I think it true solution [2] // Problem 1537. Ents 16 Mar 2007 22:39
WOW!!!NOW I GOT AC!!!THANK to KIRILL(ArcSTU) & Romko [Lviv NU]!!!!

Edited by author 16.03.2007 22:41
CHIDEMYAN SERGEY Re: WhY WA#16???????????????!!!!!!!! I think it true solution [1] // Problem 1537. Ents 18 Jun 2007 13:55
[code deleted]

Edited by author 18.06.2007 16:58
[code delete]

Edited by author 30.06.2007 15:04