| Title |
User |
Message |
Place |
Date Posted |
| Re: Re: Re: Oxygen |
bleung91 |
yes, 6 to 3 is invalid. |
ccc98s5 |
Dec 15, 2008 - 2:55:49 am UTC |
| Re: Shortest Code |
bleung91 |
lol, i don't like the fact that your score might end in a decimal because I think decimal scores look ugly. |
General |
Dec 15, 2008 - 2:54:50 am UTC |
| Shortest Code |
dAedaL |
We should have more problems like this one. |
General |
Dec 15, 2008 - 2:44:11 am UTC |
| I have almost 3 points from this problem... |
taimla101 |
but on my user page, it only give me the points for my first accepted submission. I dont care that much about the 1.4 points, but it is a bit of a problem, and so it should be corrected if you have th... |
expr |
Dec 15, 2008 - 2:22:20 am UTC |
| Re: Re: Re: Oxygen |
bbi5291 |
down, down, right, down, down, right, right, right 5, 7, 8, 8, 6, 5, 4, 5, 3 The steps 5->7, 7->8, 8->8, 8->6, and 6->5 require oxygen. |
ccc98s5 |
Dec 15, 2008 - 2:05:33 am UTC |
| Re: Re: Oxygen |
qinhaotian |
Say you're going from an elevation of 6 to 3. I'd assume that's not valid right? 5 4 3 2 1 7 5 6 6 6 8 8 8 9 6 9 6 9 9 6 4 5 4 5 3 the answer is 5. can someone tell me which path to take that uses ... |
ccc98s5 |
Dec 15, 2008 - 1:51:50 am UTC |
| Re: Oxygen |
bleung91 |
oxygen is required every step you take, as long as it is valid (i.e. elevation is within 2). |
ccc98s5 |
Dec 15, 2008 - 1:40:00 am UTC |
| Oxygen |
qinhaotian |
so the oxygen needed is solely depedent on the starting elevation? |
ccc98s5 |
Dec 15, 2008 - 1:36:52 am UTC |
| Re: length fuction? |
SourSpinach |
There is no length function for an integer (it can be done manually though, using a loop). However, even the biggest type of integer in C++ can only store about 18 digits, while 52! has 68, so you'll... |
wc95p5 |
Dec 15, 2008 - 12:08:22 am UTC |
| Re: length fuction? |
qinhaotian |
There's length of a string but think about how large the integer of 52! would be... |
wc95p5 |
Dec 15, 2008 - 12:03:15 am UTC |