Page 1 of 3

Coding Challenge 2

Posted: September 16th, 2017, 2:53 pm
by chili
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.

Re: Coding Challenge 2

Posted: September 16th, 2017, 7:37 pm
by Yumtard
god damn you chili. I made it work until I noticed the part about 7000 digits :D

Re: Coding Challenge 2

Posted: September 16th, 2017, 10:21 pm
by Yumtard
My code basically works. But is there's a price for the least performant code?

Re: Coding Challenge 2

Posted: September 16th, 2017, 11:39 pm
by MyK_00L
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...

Re: Coding Challenge 2

Posted: September 17th, 2017, 12:33 am
by albinopapa
Unless he changes something, I've never been able to PM an attachment of any type.

Re: Coding Challenge 2

Posted: September 17th, 2017, 2:45 am
by chili
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...
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 :lol:). You should now be able to attach and post.

Re: Coding Challenge 2

Posted: September 17th, 2017, 2:48 am
by chili
Yumtard wrote:My code basically works. But is there's a price for the least performant code?
The price is you lose :lol:

Re: Coding Challenge 2

Posted: September 17th, 2017, 12:51 pm
by Fonduee
Hi, guys, can you reveal your execution times, i want to compare with mine xD

Re: Coding Challenge 2

Posted: September 17th, 2017, 12:55 pm
by Chrajdal
Fonduee wrote:Hi, guys, can you reveal your execution times, i want to compare with mine xD
You first! :D

Re: Coding Challenge 2

Posted: September 17th, 2017, 1:05 pm
by Fonduee
Chrajdal wrote:
Fonduee wrote:Hi, guys, can you reveal your execution times, i want to compare with mine xD
You first! :D
:lol:, about 16-20 ms, for the case my code works correrectly.