| Title |
User |
Message |
Place |
Date Posted |
| Hint |
bbi5291 |
Between each pair of numerically adjacent endpoints (where an endpoint is either an a_i or a b_i value) there exists a region in which the answer to a query remains constant. There can be at max 2N+1 ... |
intrvl |
Dec 19, 2008 - 7:28:37 pm UTC |
| Re: Hanson |
hansonw1 |
OK. Apparently 86 chars is possible, I'll leave it at that. However I made the scoring curve a bit more lenient. Edit: Can't make it too easy |
expr |
Dec 19, 2008 - 1:34:55 pm UTC |
| Re: Re: why? |
purohit3105 |
ohh..Thanks!! |
wc01p6 |
Dec 19, 2008 - 1:23:28 pm UTC |
| Re: why? |
bleung91 |
because there are numbers which are multiples of both 3 and 21, such as 21 and 42. Instead of using a loop, try to think of a mathematical way of determining how many multiples of a number are within... |
wc01p6 |
Dec 19, 2008 - 5:23:07 am UTC |
| why? |
purohit3105 |
Just for checking the problem out, I tried doing a for loop that will increase 'x' by one everytime a number between 1 to 50 satisfies num %% 3 or 21... it gave me 18. I tried putting in the second ... |
wc01p6 |
Dec 19, 2008 - 4:35:46 am UTC |
| Hanson |
dAedaL |
What happened to your 10/10? |
expr |
Dec 19, 2008 - 3:44:38 am UTC |
| Re: Re: Re: Re: landmark name |
bbi5291 |
OK, so this seems to be getting a bit silly, because Seyon can't possibly tell that some of us are being sarcastic. Instead of asking whether or not the landmark names are relevant, or why they might ... |
ccc06s2p1 |
Dec 19, 2008 - 2:45:55 am UTC |
| Re: Re: Re: landmark name |
qinhaotian |
Because you have to sort the landmark names in an increasing order... The starting point is always the one with the lowest alphabetic value duh! |
ccc06s2p1 |
Dec 19, 2008 - 12:12:48 am UTC |
| Re: Re: landmark name |
seyonv |
for real? or are you being sarcastic?? thanks anyways Jacob, for real. Why is it important if it really is? |
ccc06s2p1 |
Dec 19, 2008 - 12:10:00 am UTC |
| Re: how did you guys get such fast run times? |
taimla101 |
Come on Bosco, if I, of all people, could figure it out, then you should be able to. |
wc99p4 |
Dec 18, 2008 - 1:54:06 am UTC |