11790 RTE

All about problems in Volume CXVII. If there is a thread about your problem, please use it. If not, create one with its number in the subject.

Moderator: Board moderators

11790 RTE

Postby VitezVojko » Sun Apr 15, 2012 4:51 pm

I really want to know, what on earth am i doing wrong, to get RTE. Please if anybody can help me
Code: Select all
//deleted code
Last edited by VitezVojko on Tue Apr 17, 2012 8:55 pm, edited 2 times in total.
VitezVojko
New poster
 
Posts: 7
Joined: Sun Apr 15, 2012 4:45 pm

Re: 11790 RTE

Postby brianfry713 » Tue Apr 17, 2012 1:09 am

Why did you comment out return 0 at the end?
brianfry713
Guru
 
Posts: 1861
Joined: Thu Sep 01, 2011 9:09 am
Location: San Jose, CA, USA

Re: 11790 RTE

Postby VitezVojko » Tue Apr 17, 2012 6:45 pm

I saw somewhere, this was just a try.
with return 0 is also RTE.
VitezVojko
New poster
 
Posts: 7
Joined: Sun Apr 15, 2012 4:45 pm

Re: 11790 RTE

Postby brianfry713 » Tue Apr 17, 2012 7:52 pm

Next time use the existing thread:
viewtopic.php?t=50432

In there you can see that the number of buildings might be up to 10000. You only allocate space for 100.
brianfry713
Guru
 
Posts: 1861
Joined: Thu Sep 01, 2011 9:09 am
Location: San Jose, CA, USA

Re: 11790 RTE

Postby VitezVojko » Tue Apr 17, 2012 8:54 pm

Oh, thats the catch :)
That was confusing becouse in problem there werent bounds for n.
thank you alot and sorry that i created new post
VitezVojko
New poster
 
Posts: 7
Joined: Sun Apr 15, 2012 4:45 pm


Return to Volume CXVII

Who is online

Users browsing this forum: No registered users and 0 guests