| Title |
User |
Message |
Place |
Date Posted |
| Hint |
hansonw1 |
If you '#include ', you won't need the using namespace std; (and it has cout/cin) This won't work in Visual C++, though. Edit: #include is better |
expr |
Dec 21, 2008 - 10:04:46 pm UTC |
| Re: Marking Scheme |
bbi5291 |
The only difference between C and C++ that is significant for this problem is that you don't need any #include statements to input/output in C, but you are restricted to the following I/O routines (no... |
expr |
Dec 21, 2008 - 8:27:24 pm UTC |
| Re: Marking Scheme |
SourSpinach |
C doesn't have that big an advantage over C++, so no, only one marking scheme. It's not like we even know C (or at least I don't), so you can just try figure it out. |
expr |
Dec 21, 2008 - 7:58:20 pm UTC |
| Page Frame |
zerglingrush |
Love the seasonal Template! |
General |
Dec 21, 2008 - 5:46:14 pm UTC |
| Marking Scheme |
zerglingrush |
I'm just wondering (although probably a lot more work for nothing), since C obviously has an advantage, can there be separate marking schemes for C and C++? |
expr |
Dec 21, 2008 - 2:32:56 am UTC |
| Re: If p is 1, then do we have to output the 1? |
bbi5291 |
There are no such cases in the input. |
wc99p5 |
Dec 20, 2008 - 10:54:52 pm UTC |
| If p is 1, then do we have to output the 1? |
zhxl0903 |
|
wc99p5 |
Dec 20, 2008 - 9:27:48 pm UTC |
| Re: Re: Path |
zerglingrush |
Cool, thanks! I thought it was something like that. I didn't know that you could stop yourself without higher elevation. I believed that you could only change direction when momentum is 0. |
wc01p4 |
Dec 20, 2008 - 1:53:16 am UTC |
| Re: Path |
dAedaL |
I believe the path is 6 4 4 2 6 3 4 3 3 1 2 |
wc01p4 |
Dec 20, 2008 - 1:37:07 am UTC |
| Path |
zerglingrush |
Can someone show me the path for number Sample 1? I'm still confused about the momentum thing. |
wc01p4 |
Dec 19, 2008 - 10:59:49 pm UTC |