Title |
User |
Message |
Date Posted |
Re: I don't understand the error |
Xue_Alex |
Yeah sure! I replied to your comment on that problem page. |
Aug 01, 2017 - 12:08:15 am UTC |
Re: I don't understand the error |
Cameron |
Thanks I'll see about this dynamic programming solution, but I was thinking that I could simply delete elements of the vector that the solution didn't need. Additionally, could you check my solution ... |
Jul 30, 2017 - 2:34:04 pm UTC |
Re: I don't understand the error |
Xue_Alex |
Judging on your submission that got 10/50 WA... What about 99, 100, 99, 1, 1 Your submission would output 101, when in reality that answer would be 199 (taking 99 + 99 + 1, at indexes 0, 2, 4). I'd ... |
Jul 30, 2017 - 1:45:45 am UTC |
I don't understand the error |
Cameron |
I don't understand what the problem is. My submission gets 10/50 points. All the test examples that I am coming up with are coming out alright. Are the rest of my answers (for the submissions) wildly ... |
Jul 27, 2017 - 3:53:52 am UTC |
[user] hardcoding |
gpfault |
Again. Fun fact: the top submissions calculates the answer faster than [user]'s hardcoding submission |
Jul 19, 2017 - 3:16:07 am UTC |
Re: ? |
jargon |
The problem doesn't say this, so I don't see why you would assume it. |
Feb 11, 2017 - 7:17:26 pm UTC |
? |
Chinadoll |
is the array of positive integers guaranteed to be in order from least to greatest? (eg.4 5 6 9 10 instead of 4 6 5 10 9) |
Feb 11, 2017 - 4:50:39 pm UTC |
Re: clarification |
jargon |
Adjacent in position. |
Sep 18, 2016 - 7:30:38 am UTC |
clarification |
tankibuds |
The question states "no two numbers in the subset may be adjacent". Adjacent as in consecutive in value or adjacent as in adjacent position in the sequence? |
Sep 18, 2016 - 12:08:50 am UTC |