![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#21 |
|
Programming Guru
![]() Join Date: Apr 2005
Posts: 1,725
Rep Power: 5
![]() |
Re: Sane's Monthly Algorithms Challenge #1 [05-08]
No, sorry. But if you're worried because you think you might have misinterpreted a part of the problem, feel free to ask for clarification.
|
|
|
|
|
|
#22 |
|
Programmer
Join Date: Nov 2007
Posts: 75
Rep Power: 1
![]() |
Re: Sane's Monthly Algorithms Challenge #1 [05-08]
i think i get it, but i just dont really want to invent my own boundary cases to test my solution. i am just going to submit what i have. do i really need to wait a month before i get any results?
|
|
|
|
|
|
#23 |
|
Hobbyist Programmer
|
Re: Sane's Monthly Algorithms Challenge #1 [05-08]
Sane, if i have missed things it really wouldn't suprise me its the first time i've ever tried anything like this so and as for it being easy well yer it wasn't really lol although when i looked at the submission it did look suprisnly simple compared to what i originally though it was going to be. I may look back at it in a few days and see if there are changes I can find and change...although i doubt it lol. I did create a few tests myself but none seems to be incorrect.
I may take a look at Senior but i think i will have many problems with this as at a quick glance it looks significantly more complex hehe. Ah well any submissions i do make are my best shots lol and i hope they work reasonable well. Btw when you release results will you be pointing out what is going wrong with our algorithms or mine at least since most peoples will be perfect hehe. Chris
__________________
Who said i couldn't program sarcasm = raw_input('Type in a sarcastic remark: ')
|
|
|
|
|
|
#24 | |||
|
Programming Guru
![]() Join Date: Apr 2005
Posts: 1,725
Rep Power: 5
![]() |
Re: Sane's Monthly Algorithms Challenge #1 [05-08]
Quote:
Quote:
Quote:
And I doubt everyone will get perfect on junior or even beginner. I'm guessing a handful might, but often people forget to handle tiny things which proves to be problematic on tricky test files. |
|||
|
|
|
|
|
#25 | |
|
Hobbyist Programmer
|
Re: Sane's Monthly Algorithms Challenge #1 [05-08]
Quote:
Chris
__________________
Who said i couldn't program sarcasm = raw_input('Type in a sarcastic remark: ')
|
|
|
|
|
|
|
#26 |
|
Programmer
Join Date: Jun 2007
Posts: 79
Rep Power: 1
![]() |
Re: Sane's Monthly Algorithms Challenge #1 [05-08]
on the first question, i have working code but i'm wondering what is the largest we can expect k to be in the example input format?
|
|
|
|
|
|
#27 |
|
Programming Guru
![]() Join Date: Apr 2005
Posts: 1,725
Rep Power: 5
![]() |
Re: Sane's Monthly Algorithms Challenge #1 [05-08]
That information is given to you in the "Input Format" section.
![]() If you meant to ask about "n", then it may be any integer. And the answer will always be calculatable with a 32-bit signed integer. |
|
|
|
|
|
#28 |
|
Programming Guru
![]() Join Date: Apr 2005
Posts: 1,725
Rep Power: 5
![]() |
Re: Sane's Monthly Algorithms Challenge #1 [05-08]
A Notice To All Those Doing Senior:
So far every submission to the senior problem has underestimated the complexity of the problem and scored maybe 40/100 points. I'm not going to explain why. But here's a simple test case that exploits the major flaw in all submitted algorithms. Sample Input #2: 2 600 500 9 110 2 Sample Output #2: Explanation Of Sample Data #2: Jump the first hurdle for 500 joules to avoid a 9 second penalty. Knock the second hurdle over for a 2 second penalty. This mistake is not so simple to fix either. You may have to rethink your approach to the problem. Notice the upper bound on the input (n <= 100). There's a good reason it's so small, but still not small enough for an Good luck! |
|
|
|
|
|
#29 |
|
Programmer
|
Re: Sane's Monthly Algorithms Challenge #1 [05-08]
Thanks for the cool section Sane, trying to get to grips with Beginner section, but looks very cool.
Word up for your effort man. >BstrucT
__________________
"The truth is that if I had to meet any of my interrogators today, and knew I could get away with it, I'd slot them." - Andy Mc Nab - BRAVO TWO ZERO |
|
|
|
![]() |
| Bookmarks |
| Tags |
| algorithms contest, programming challenges |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Sorting algorithms problem....... | MicDareall | Python | 11 | Apr 19th, 2006 2:48 PM |
| Sorting Algorithms | 6431hoho | Coder's Corner Lounge | 9 | Feb 28th, 2006 6:57 AM |
| Challenge: How to make daily life better with programming? | tempest | Coder's Corner Lounge | 53 | Jun 17th, 2005 2:37 AM |
| Uman's WEEKEND CHALLENGE | uman | Coder's Corner Lounge | 25 | Jun 6th, 2005 9:49 PM |
| Weekend Challenge | theduck | Community Announcements and Feedback | 43 | Jun 3rd, 2005 4:58 PM |