2017-11-08 17:39:50 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
return
|
|
|
|
[
|
|
|
|
'number' => 20,
|
|
|
|
'title' => 'Factorial digit sum',
|
2017-11-20 17:38:54 +01:00
|
|
|
'description' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-020_description.md'); },
|
|
|
|
'code' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-020.b93'); },
|
|
|
|
'explanation' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-020_explanation.md'); },
|
2017-11-08 17:39:50 +01:00
|
|
|
'url_euler' => 'http://projecteuler.net/problem=020',
|
|
|
|
'url_raw' => 'https://raw.githubusercontent.com/Mikescher/Project-Euler_Befunge/master/processed/Euler_Problem-020.b93',
|
|
|
|
'url_github' => 'https://github.com/Mikescher/Project-Euler_Befunge',
|
2017-11-20 17:38:54 +01:00
|
|
|
'abbreviated' => false,
|
2017-11-08 17:39:50 +01:00
|
|
|
'steps' => 1546679,
|
|
|
|
'time' => 265,
|
|
|
|
'width' => 101,
|
|
|
|
'height' => 6,
|
|
|
|
'value' => 648,
|
|
|
|
];
|