Coding Challenge 2
Coding Challenge 2
Here is the download for the 2nd coding challenge. PM me when you think you have the correct answer. Your PM must include 1) the answer and 2) your zipped solution. Submission deadline is Tuesday, September 19th, 12 AM Tokyo time.
Ask any clarification questions you like on this thread. This post will be updated if any additional information / changes occur.
Video link here: https://youtu.be/0TSkrNhz4lA
NOTES:
When I test your code, I will pass it a pre-loaded string, so that file access time is not a factor in the benchmark. This may require some minor modification of your code, which I will undertake.
The numbers used to test programs will be 10000 digits or less.
There has already been a correct submission! You can still submit, but remember, the entries will now definitely be ranked by performance.
Ask any clarification questions you like on this thread. This post will be updated if any additional information / changes occur.
Video link here: https://youtu.be/0TSkrNhz4lA
NOTES:
When I test your code, I will pass it a pre-loaded string, so that file access time is not a factor in the benchmark. This may require some minor modification of your code, which I will undertake.
The numbers used to test programs will be 10000 digits or less.
There has already been a correct submission! You can still submit, but remember, the entries will now definitely be ranked by performance.
- Attachments
-
- number.zip
- (3.55 KiB) Downloaded 371 times
Chili
Re: Coding Challenge 2
god damn you chili. I made it work until I noticed the part about 7000 digits
Re: Coding Challenge 2
My code basically works. But is there's a price for the least performant code?
Re: Coding Challenge 2
I did try to submit a solution, but it sais "zip extension not allowed" whenever i try to upload my zipped solution... I tried with other extentions too...
-
- Posts: 4373
- Joined: February 28th, 2013, 3:23 am
- Location: Oklahoma, United States
Re: Coding Challenge 2
Unless he changes something, I've never been able to PM an attachment of any type.
If you think paging some data from disk into RAM is slow, try paging it into a simian cerebrum over a pair of optical nerves. - gameprogrammingpatterns.com
Re: Coding Challenge 2
Yeah, the board was setup not to allow that stuff by default for some reason. I did some digging and figured out how to enable it though (wasn't easy ). You should now be able to attach and post.MyK_00L wrote:I did try to submit a solution, but it sais "zip extension not allowed" whenever i try to upload my zipped solution... I tried with other extentions too...
Chili
Re: Coding Challenge 2
The price is you loseYumtard wrote:My code basically works. But is there's a price for the least performant code?
Chili
Re: Coding Challenge 2
Hi, guys, can you reveal your execution times, i want to compare with mine xD
Re: Coding Challenge 2
You first!Fonduee wrote:Hi, guys, can you reveal your execution times, i want to compare with mine xD
Re: Coding Challenge 2
, about 16-20 ms, for the case my code works correrectly.Chrajdal wrote:You first!Fonduee wrote:Hi, guys, can you reveal your execution times, i want to compare with mine xD