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 1846. GCD 2010

WA #5 Could you please give some hints?
Posted by Accepted 19 Jun 2013 19:18
> I use the segment tree,but I can't find anything wrong...
> Could you please give me some tests so that I can find out my program's problem?
> Thank you.

But now I got WA #5,and I have considered the following tests:
6
+ 9
- 3
- 3
+ 3
+ 3
+ 3
And I think the answer is:
9
9
9
9
9
3
But I still WA #5,Could someone can give me some hints or some tests?

Edited by author 20.06.2013 10:52

Edited by author 20.06.2013 10:52
Re: WA #5 Could you please give some hints?
Posted by I_love_alyona 15 Aug 2013 13:29
6
+ 9
- 3
- 3
+ 3
+ 3
+ 3

It`s impossible. Read the task again.

Edited by author 15.08.2013 13:41
Re: WA #5 Could you please give some hints?
Posted by SantiagoDelgado 24 Jul 2018 03:13
May be you don't use Long long