My and Valtteri Kodisto's winning implementations for Reaktor Code Golf 2019 competition.
Thank you Reaktor for the amazing competition.
Our implementation's character count: 137
From list of number find N consecutive numbers which have the largest product.
First line of input is a number N. The second line has concatenated lists of numbers.
The first N consecutive numbers which have the largest product.
Input:
3
535984
Output: 598
Our implementation's character count: 85
The code fetches current price of Jaloviina from Alko’s site ( https://www.alko.fi/tuotteet/000706/Jaloviina-/ ), parses it and gives it as an output. The price must be fetched from Alko’s site, you can’t just hard code it to print out the current price ;-)
Nothing.
16,99
Our implementation's character count: 115
Just convert some strings to integers, easy huh?
Whole numbers in written format separated by spaces. The range of numbers is from zero to nine.
Concatenated list of the inputted numbers as digits.
Input
zero one two three nine
Output
01239