blogview_euler_single.php (WIP)
This commit is contained in:
parent
fdb08970e7
commit
32f1e8437b
83
data/css_compress/compress.py
Normal file
83
data/css_compress/compress.py
Normal file
@ -0,0 +1,83 @@
|
||||
#!/usr/bin/env python3
|
||||
|
||||
import sys
|
||||
import os
|
||||
from subprocess import call
|
||||
import re
|
||||
import subprocess
|
||||
|
||||
def findnext(str, start, chr):
|
||||
depth = 0
|
||||
for i in range(start, len(str)):
|
||||
if (str[i] == chr): return i;
|
||||
|
||||
def findclose(str, start):
|
||||
depth = 0
|
||||
for i in range(start, len(str)):
|
||||
if (str[i] == '{'): depth = depth+1;
|
||||
if (str[i] == '}'): depth = depth-1;
|
||||
if (depth == 0): return i;
|
||||
|
||||
def countnl(str, start, end):
|
||||
cnt = 0
|
||||
for i in range(start, end+1):
|
||||
if (str[i] == '\n'): cnt = cnt+1;
|
||||
return cnt;
|
||||
|
||||
finput = str.replace(sys.argv[1], '\\', '/')
|
||||
foutput = str.replace(sys.argv[2], '\\', '/')
|
||||
ftemp = '__temp_compresss_py_yui.tmp.css';
|
||||
|
||||
print('======== INPUT ========');
|
||||
print();
|
||||
print(finput);
|
||||
print(foutput);
|
||||
print();
|
||||
print();
|
||||
|
||||
|
||||
print('======== CALL ========');
|
||||
#os.system("java -jar yuicompressor.jar \""+finput+"\" -o \""+ftemp+"\"")
|
||||
out = subprocess.run(['java', '-jar', 'yuicompressor.jar', finput, '-o', ftemp], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
||||
print('STDOUT:');
|
||||
print(out.stdout.decode('utf-8'))
|
||||
print('STDERR:');
|
||||
print(out.stderr.decode('utf-8'))
|
||||
|
||||
print('======== READ ========');
|
||||
with open(ftemp, 'r') as tf:
|
||||
data = tf.read()
|
||||
|
||||
print('======== REM ========');
|
||||
try:
|
||||
os.remove(ftemp);
|
||||
except e:
|
||||
print(e)
|
||||
|
||||
print('======== REGEX ========');
|
||||
data = re.sub(r'(\}*\})', '\g<1>\n', data);
|
||||
|
||||
print('======== MEDIA ========');
|
||||
ins = []
|
||||
for i in range(len(data)):
|
||||
if data[i:].startswith('@media'):
|
||||
|
||||
|
||||
copen = findnext(data, i, '{')
|
||||
cclose = findclose(data, copen)
|
||||
|
||||
if (countnl(data, copen, cclose) == 0): continue;
|
||||
|
||||
ins.append( (copen+1, '\n\t') )
|
||||
for i in range(copen+1, cclose):
|
||||
if data[i] == '\n':
|
||||
tp =(i+1, '\t')
|
||||
ins.append( tp )
|
||||
ins.append((cclose, '\n'))
|
||||
|
||||
for (l, c) in reversed(ins):
|
||||
data = data[:l] + c + data[l:]
|
||||
|
||||
print('======== WRITE ========');
|
||||
with open(foutput, "w") as tf:
|
||||
tf.write(data)
|
BIN
data/css_compress/yuicompressor.jar
Normal file
BIN
data/css_compress/yuicompressor.jar
Normal file
Binary file not shown.
3
www/data/css/.gitignore
vendored
3
www/data/css/.gitignore
vendored
@ -1,3 +1,4 @@
|
||||
*.css.map
|
||||
*.css
|
||||
!*styles.css
|
||||
!*styles.css
|
||||
!*styles.min.css
|
@ -353,6 +353,88 @@ html, body {
|
||||
|
||||
#PEB_tableProblems tr td:nth-child(4), #PEB_tableProblems tr th:nth-child(4) {
|
||||
display: none; } }
|
||||
.bce_description, .bce_explanation {
|
||||
background: #EEE;
|
||||
border: 1px solid rgba(0, 0, 0, 0.15);
|
||||
padding: 0 5px; }
|
||||
|
||||
.bce_pagination {
|
||||
display: flex; }
|
||||
.bce_pagination .bce_pag20 {
|
||||
display: flex;
|
||||
align-self: center; }
|
||||
.bce_pagination .bce_pag10 {
|
||||
display: flex; }
|
||||
.bce_pagination .bce_pag05 {
|
||||
display: flex;
|
||||
margin: 4px 0; }
|
||||
.bce_pagination .bce_pagbtn {
|
||||
display: block;
|
||||
color: #000;
|
||||
text-decoration: none;
|
||||
min-width: 1.8em;
|
||||
padding: 0 5px;
|
||||
margin: 0 4px;
|
||||
border-radius: 2px;
|
||||
border: 1px solid #777;
|
||||
background: #AAA;
|
||||
text-align: center; }
|
||||
.bce_pagination .bce_pagbtn_disabled {
|
||||
color: #888;
|
||||
background: #BBB; }
|
||||
.bce_pagination .bce_pagbtn_active {
|
||||
color: #000;
|
||||
background: #666;
|
||||
border: 1px solid #000; }
|
||||
|
||||
@media (max-width: 767px) {
|
||||
.bce_pagination {
|
||||
flex-direction: column; }
|
||||
|
||||
.bce_pag20 {
|
||||
flex-direction: column; }
|
||||
|
||||
.bce_pag10 {
|
||||
flex-direction: column; }
|
||||
|
||||
.bce_pag05 {
|
||||
flex-direction: row; } }
|
||||
@media (min-width: 768px) {
|
||||
.bce_pagination {
|
||||
flex-direction: column; }
|
||||
|
||||
.bce_pag20 {
|
||||
flex-direction: column; }
|
||||
|
||||
.bce_pag10 {
|
||||
flex-direction: row; }
|
||||
|
||||
.bce_pag05 {
|
||||
flex-direction: row; } }
|
||||
@media (min-width: 992px) {
|
||||
.bce_pagination {
|
||||
flex-direction: column; }
|
||||
|
||||
.bce_pag20 {
|
||||
flex-direction: column; }
|
||||
|
||||
.bce_pag10 {
|
||||
flex-direction: row; }
|
||||
|
||||
.bce_pag05 {
|
||||
flex-direction: row; } }
|
||||
@media (min-width: 1200px) {
|
||||
.bce_pagination {
|
||||
flex-direction: column; }
|
||||
|
||||
.bce_pag20 {
|
||||
flex-direction: row; }
|
||||
|
||||
.bce_pag10 {
|
||||
flex-direction: row; }
|
||||
|
||||
.bce_pag05 {
|
||||
flex-direction: row; } }
|
||||
.euler_pnl_base {
|
||||
display: inline-flex;
|
||||
flex-direction: column;
|
||||
@ -520,4 +602,63 @@ html, body {
|
||||
border-radius: 6px;
|
||||
border: 1px solid #CCC; }
|
||||
|
||||
.bce_code {
|
||||
background: #F8F8F8;
|
||||
color: black;
|
||||
border: 1px solid rgba(0, 0, 0, 0.15); }
|
||||
.bce_code .bce_code_data {
|
||||
overflow-x: auto;
|
||||
white-space: pre;
|
||||
font-family: Consolas, Monaco, "Courier New", Menlo, monospace;
|
||||
padding: 9.5px;
|
||||
font-size: 11pt; }
|
||||
.bce_code .bce_code_ctrl {
|
||||
background: #BBB;
|
||||
display: flex;
|
||||
flex-direction: row; }
|
||||
.bce_code .bce_code_ctrl .ctrl_btn_left, .bce_code .bce_code_ctrl .ctrl_btn_right {
|
||||
display: flex;
|
||||
flex-direction: row; }
|
||||
.bce_code .bce_code_ctrl .ctrl_btn_left {
|
||||
margin-right: auto; }
|
||||
.bce_code .bce_code_ctrl .ctrl_btn_right {
|
||||
margin-left: auto; }
|
||||
.bce_code .bce_code_ctrl .ctrl_btn {
|
||||
display: block;
|
||||
border: 1px solid #000;
|
||||
background: #444;
|
||||
color: #BBB;
|
||||
margin: 4px;
|
||||
padding: 0 5px;
|
||||
min-width: 65px;
|
||||
text-align: center;
|
||||
text-decoration: none;
|
||||
font-weight: bold; }
|
||||
.bce_code .bce_code_ctrl .ctrl_btn:hover {
|
||||
cursor: pointer;
|
||||
background: #333;
|
||||
color: #FFF;
|
||||
border: 1px solid black; }
|
||||
.bce_code .bce_code_ctrl .ctrl_btn_disabled {
|
||||
background: #999;
|
||||
color: #BBB; }
|
||||
.bce_code .bce_code_ctrl .ctrl_btn_disabled:hover {
|
||||
background: #999;
|
||||
color: #BBB;
|
||||
cursor: default; }
|
||||
|
||||
@media (max-width: 767px) {
|
||||
.bce_code .bce_code_ctrl {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
margin: 0; }
|
||||
.bce_code .bce_code_ctrl .ctrl_btn_left, .bce_code .bce_code_ctrl .ctrl_btn_right {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
margin: 0; }
|
||||
.bce_code .ctrl_btn_left, .bce_code .ctrl_btn_right {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
margin: 0; } }
|
||||
|
||||
/*# sourceMappingURL=styles.css.map */
|
||||
|
176
www/data/css/styles.min.css
vendored
Normal file
176
www/data/css/styles.min.css
vendored
Normal file
@ -0,0 +1,176 @@
|
||||
body{background-color:#EEE;color:#CCC;font-family:serif}
|
||||
#content{padding-top:64px;display:flex;justify-content:center;line-height:1.4}
|
||||
.content-responsive{margin-left:auto;margin-right:auto}
|
||||
@media(max-width:767px){.content-responsive{width:auto}}
|
||||
@media(min-width:768px){.content-responsive{width:auto}}
|
||||
@media(min-width:992px){.content-responsive{width:724px}}
|
||||
@media(min-width:1200px){.content-responsive{width:1170px}}
|
||||
.contentheader{width:100%;color:#333;font-size:large}
|
||||
.contentheader h1{font-family:Lato,"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:32px;font-weight:900;margin-bottom:0}
|
||||
@media(max-width:767px){.contentheader h1{font-size:32px}}
|
||||
.contentheader hr{margin:0 0 25px 0;display:block;border:0;color:white;height:1px;background:#CCCCCCFF;background:-moz-linear-gradient(left,#CCC,#FFFFFF00);background:-webkit-linear-gradient(left,#CCC 0,#FFFFFF00 100%)}
|
||||
.blockcontent{display:block;width:100%}
|
||||
#headerdiv{z-index:999;background-color:#333;display:flex;border-bottom:1px solid #111;box-shadow:0 0 8px #000;position:fixed;width:100%}
|
||||
#headerdiv .logowrapper{flex:initial;margin:0;padding:0;height:42px}
|
||||
#headerdiv .logowrapper .logo{height:30px;margin:4px 0 8px 6px;flex:initial}
|
||||
#headerdiv .tabrow{display:flex;flex:auto}
|
||||
#headerdiv .tabrow .tab{display:flex;justify-content:center;align-items:center;background-color:#222;color:#CCC;border-left:1px solid #000;border-right:1px solid #000;font-weight:bold;text-decoration:none;margin:0 0 0 20px;padding:2px 5px;min-width:64px;text-align:center;flex:initial}
|
||||
#headerdiv .tabrow .tab:hover{cursor:pointer;background-color:#555}
|
||||
#headerdiv .tabrow .tab_split{flex:auto}
|
||||
#headerdiv .tabrow .tab_github{background-color:#4078c0;border-left:1px solid #111;border-right:0;color:black}
|
||||
#headerdiv .tabrow .tab_github:hover{background-color:#c9510c;color:black}
|
||||
@media(max-width:850px){
|
||||
#headerdiv{position:static;flex-direction:column}
|
||||
#headerdiv .logowrapper{display:flex;align-items:center;justify-content:center}
|
||||
#headerdiv .tabrow{flex-direction:column}
|
||||
#headerdiv .tabrow .tab{border:1px solid #000;font-weight:bold;margin:5px 10px}
|
||||
#content{padding-top:0}
|
||||
}
|
||||
html,body{margin:0;padding:0;height:100%}
|
||||
#mastercontainer{min-height:100%;position:relative}
|
||||
#content{padding-bottom:60px}
|
||||
#footerdiv{position:absolute;bottom:0;width:100%;height:60px;text-align:center;left:0;right:0;margin:0 auto}
|
||||
@media(max-width:767px){#footerdiv{width:auto}}
|
||||
@media(min-width:768px){#footerdiv{width:auto}}
|
||||
@media(min-width:992px){#footerdiv{width:724px}}
|
||||
@media(min-width:1200px){#footerdiv{width:1170px}}
|
||||
#footerdiv hr{margin-bottom:5px;display:block;border:0;color:white;height:1px;background:#CCCCCCFF;background:-webkit-gradient(radial,50% 50%,0,50% 50%,350,from(#CCC),to(#FFFFFF00))}
|
||||
.bloglistelem_container{display:flex;align-items:center;flex-direction:column}
|
||||
.bloglistelem{width:100%;border:solid 1px #444;margin:10px 5px;color:#333;text-decoration:none}
|
||||
.bloglistelem:hover{box-shadow:0 0 4px #000}
|
||||
.ble_blog{background-color:#BBB}
|
||||
.ble_log{background-color:#DDD}
|
||||
.ble_blog .ble_date{background-color:#AAA}
|
||||
.ble_log .ble_date{background-color:#CCC}
|
||||
.ble_date{background-color:#AAA;padding:2px;font-size:.8em;font-style:italic}
|
||||
.ble_title{font-weight:bold;font-size:1.2em;text-align:left;margin:2px 0 2px 10px}
|
||||
@media(max-width:767px){.ble_title{font-size:1.25em}}
|
||||
.blogcontent{color:#333;border:1px solid black;background-color:#e0e0e0;width:90%;margin-left:auto;margin-right:auto}
|
||||
.bc_header{background-color:#BBB;padding:0 4px}
|
||||
.bc_data{padding:8px}
|
||||
.bc_markdown code{font-family:Consolas,Monaco,"Courier New",Menlo,monospace;direction:ltr;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;-moz-tab-size:4;tab-size:4;-webkit-hyphens:none;-moz-hyphens:none;-ms-hyphens:none;hyphens:none}
|
||||
.bc_markdown pre{font-size:14px;display:block;padding:9.5px;margin:0 0 10px;line-height:20px;word-break:break-all;word-wrap:break-word;white-space:pre-wrap;background-color:#f8f8f8;color:black;border:1px solid rgba(0,0,0,0.15);-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px}
|
||||
.bc_markdown blockquote{padding:0 0 0 15px;margin:0 0 20px;border-left:5px solid #CCC}
|
||||
.mdtable_container{overflow-x:auto}
|
||||
.mdtable{border-collapse:collapse;text-align:left;width:100%;border:1px solid #666}
|
||||
.mdtable td,.mdtable th{padding:3px 10px}
|
||||
.mdtable thead th{background-color:#7d7d7d;color:#fff;font-weight:bold;border-left:1px solid #444}
|
||||
.mdtable thead th:first-child{border:0}
|
||||
.mdtable tbody td{border-left:1px solid #666;font-weight:normal}
|
||||
.mdtable tbody .alt td{background:#ebebeb}
|
||||
.mdtable tbody td:first-child{border-left:0}
|
||||
.mdtable tbody tr:last-child td{border-bottom:0}
|
||||
.mdtable tbody tr:nth-child(odd){background-color:#ccc}
|
||||
#PEB_tableProblems .PEB_tablerowProblems:hover{background-color:#888}
|
||||
#PEB_tableProblems .PEB_TC_Value{font-family:Consolas,Monaco,"Courier New",Menlo,monospace}
|
||||
#PEB_tableProblems .PEB_TC_Value:not(:hover){color:transparent;-o-transition:.5s;-ms-transition:.5s;-moz-transition:.5s;-webkit-transition:.5s;transition:.5s}
|
||||
#PEB_tableProblems .PEB_TC_Value:hover{color:#333;-o-transition:.5s;-ms-transition:.5s;-moz-transition:.5s;-webkit-transition:.5s;transition:.5s}
|
||||
#PEB_tableProblems .PEB_TC_Time{border-radius:1px;display:inline-block;padding:1px 6px;min-width:60px}
|
||||
#PEB_tableProblems .PEB_TC_Timelevel_0{background-color:#0A0 !important}
|
||||
#PEB_tableProblems .PEB_TC_Timelevel_1{background-color:#84ff0a !important}
|
||||
#PEB_tableProblems .PEB_TC_Timelevel_2{background-color:#FF0 !important}
|
||||
#PEB_tableProblems .PEB_TC_Timelevel_3{background-color:#F60 !important}
|
||||
#PEB_tableProblems .PEB_TC_Timelevel_4{background-color:#F11 !important}
|
||||
#PEB_tableProblems .PEB_TC_Size{font-family:Consolas,Monaco,"Courier New",Menlo,monospace}
|
||||
#PEB_tableProblems .PEB_TC_Size_93{float:right;font-family:serif;border-radius:1px;background-color:#0A0;display:inline-block;padding:1px 6px}
|
||||
#PEB_tableProblems .PEB_TC_Size_98{float:right;font-family:serif;border-radius:1px;background-color:#FF0;display:inline-block;padding:1px 6px}
|
||||
#PEB_tableProblems a{color:#333;display:block;text-decoration:none}
|
||||
#PEB_tableProblems .PEB_TC_Title a{text-decoration:underline}
|
||||
@media(max-width:1199px){#PEB_tableProblems tr td:nth-child(1),#PEB_tableProblems tr th:nth-child(1){display:none}}
|
||||
@media(max-width:767px){
|
||||
#PEB_tableProblems tr td:nth-child(1),#PEB_tableProblems tr th:nth-child(1){display:none}
|
||||
#PEB_tableProblems tr td:nth-child(3),#PEB_tableProblems tr th:nth-child(3){display:none}
|
||||
#PEB_tableProblems tr td:nth-child(4),#PEB_tableProblems tr th:nth-child(4){display:none}
|
||||
}
|
||||
.bce_description,.bce_explanation{background:#EEE;border:1px solid rgba(0,0,0,0.15);padding:0 5px}
|
||||
.bce_pagination{display:flex}
|
||||
.bce_pagination .bce_pag20{display:flex;align-self:center}
|
||||
.bce_pagination .bce_pag10{display:flex}
|
||||
.bce_pagination .bce_pag05{display:flex;margin:4px 0}
|
||||
.bce_pagination .bce_pagbtn{display:block;color:#000;text-decoration:none;min-width:1.8em;padding:0 5px;margin:0 4px;border-radius:2px;border:1px solid #777;background:#AAA;text-align:center}
|
||||
.bce_pagination .bce_pagbtn_disabled{color:#888;background:#BBB}
|
||||
.bce_pagination .bce_pagbtn_active{color:#000;background:#666;border:1px solid #000}
|
||||
@media(max-width:767px){
|
||||
.bce_pagination{flex-direction:column}
|
||||
.bce_pag20{flex-direction:column}
|
||||
.bce_pag10{flex-direction:column}
|
||||
.bce_pag05{flex-direction:row}
|
||||
}
|
||||
@media(min-width:768px){
|
||||
.bce_pagination{flex-direction:column}
|
||||
.bce_pag20{flex-direction:column}
|
||||
.bce_pag10{flex-direction:row}
|
||||
.bce_pag05{flex-direction:row}
|
||||
}
|
||||
@media(min-width:992px){
|
||||
.bce_pagination{flex-direction:column}
|
||||
.bce_pag20{flex-direction:column}
|
||||
.bce_pag10{flex-direction:row}
|
||||
.bce_pag05{flex-direction:row}
|
||||
}
|
||||
@media(min-width:1200px){
|
||||
.bce_pagination{flex-direction:column}
|
||||
.bce_pag20{flex-direction:row}
|
||||
.bce_pag10{flex-direction:row}
|
||||
.bce_pag05{flex-direction:row}
|
||||
}
|
||||
.euler_pnl_base{display:inline-flex;flex-direction:column;border:1px solid #AAA;border-radius:5px 5px 0 0;margin:15px}
|
||||
.euler_pnl_header{display:flex;align-items:center;justify-content:center;padding:4px;background:#AAA}
|
||||
.euler_pnl_header a{color:#222;text-decoration:none;font-family:Lato,"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:22px;font-weight:900}
|
||||
.euler_pnl_header a:hover{text-decoration:underline}
|
||||
.euler_pnl_content{display:flex;flex-direction:column;background:#DDD;padding:6px}
|
||||
.euler_pnl_row{display:flex;flex-direction:row;flex-wrap:wrap}
|
||||
@media(max-width:850px){.euler_pnl_row{flex-direction:column}}
|
||||
.euler_pnl_row2{display:flex;flex-direction:row}
|
||||
.euler_pnl_cell{width:24px;height:24px;font-size:11px;margin:3px;border:1px solid #333;display:flex;align-items:center;justify-content:center}
|
||||
.euler_pnl_cell:hover{box-shadow:0 0 4px #000}
|
||||
.euler_pnl_cell a{color:black;text-decoration:none;width:100%;height:100%;display:flex;justify-content:center;align-items:center}
|
||||
.euler_pnl_cell a:hover{color:black;text-decoration:none}
|
||||
.euler_pnl_cell a:visited{color:black;text-decoration:none}
|
||||
.euler_pnl_celltime_perfect{background:#98c398}
|
||||
.euler_pnl_celltime_good{background:#b9d89b}
|
||||
.euler_pnl_celltime_ok{background:#d8d898}
|
||||
.euler_pnl_celltime_bad{background:#d8b298}
|
||||
.euler_pnl_celltime_fail{background:#d89d9d}
|
||||
.euler_pnl_cell_notexist{background:#ccc}
|
||||
.bfjoust_runner_owner{border:1px solid #888;background:#f8f8f8;padding:6px}
|
||||
.bfjoust_runner_owner .hsplit{display:flex;flex-direction:row;flex-wrap:nowrap}
|
||||
.bfjoust_runner_owner .hsplit_1{flex:1;margin:4px}
|
||||
.bfjoust_runner_owner .hsplit_2{flex:1;margin:4px}
|
||||
.bfjoust_runner_owner textarea{font-family:Consolas,Monaco,"Courier New",Menlo,monospace;display:block}
|
||||
.bfjoust_runner_owner .source{height:350px}
|
||||
.bfjoust_runner_owner .sink{height:100px}
|
||||
.bfjoust_runner_owner .bottomelem{height:200px}
|
||||
@media(max-width:767px){
|
||||
.bfjoust_runner_owner .hsplit{display:block}
|
||||
.bfjoust_runner_owner .hsplit_1{display:block;width:calc(100% - 8px)}
|
||||
.bfjoust_runner_owner .hsplit_2{display:block;width:calc(100% - 8px)}
|
||||
.bfjoust_runner_owner textarea{margin-left:auto;margin-right:auto}
|
||||
}
|
||||
.bfjoust_runner_owner #commandpanel{text-align:center;background-color:lightgray;border-radius:3px;border:1px solid gray;display:table;width:calc(100% - 8px);margin:4px;padding:5px 0}
|
||||
.bfjoust_runner_owner #commandpanel a{color:#FFF;background-color:#000;border-radius:3px;padding:4px 8px;text-decoration:none}
|
||||
.bfjoust_runner_owner #commandpanel a:hover{text-decoration:none;background-color:#666}
|
||||
.bfjoust_runner_owner #commandpanel #a_run{background-color:#080}
|
||||
.bfjoust_runner_owner #commandpanel #a_run:hover{text-decoration:none;background-color:#666}
|
||||
.bfjoust_runner_owner #commandpanel #a_stop{background-color:#F00}
|
||||
.bfjoust_runner_owner #commandpanel #a_stop:hover{text-decoration:none;background-color:#666}
|
||||
.bfjoust_runner_owner #commandpanel #a_arena{background-color:#F80}
|
||||
.bfjoust_runner_owner #commandpanel #a_arena:hover{text-decoration:none;background-color:#666}
|
||||
.bfjoust_runner_owner #run_size{width:40px}
|
||||
.bfjoust_runner_owner #run_speed{width:70px}
|
||||
.bfjoust_runner_owner #board{background-color:#FFF;border-radius:6px;border:1px solid #CCC}
|
||||
.bce_code{background:#f8f8f8;color:black;border:1px solid rgba(0,0,0,0.15)}
|
||||
.bce_code .bce_code_data{overflow-x:auto;white-space:pre;font-family:Consolas,Monaco,"Courier New",Menlo,monospace;padding:9.5px;font-size:11pt}
|
||||
.bce_code .bce_code_ctrl{background:#BBB;display:flex;flex-direction:row}
|
||||
.bce_code .bce_code_ctrl .ctrl_btn_left,.bce_code .bce_code_ctrl .ctrl_btn_right{display:flex;flex-direction:row}
|
||||
.bce_code .bce_code_ctrl .ctrl_btn_left{margin-right:auto}
|
||||
.bce_code .bce_code_ctrl .ctrl_btn_right{margin-left:auto}
|
||||
.bce_code .bce_code_ctrl .ctrl_btn{display:block;border:1px solid #000;background:#444;color:#BBB;margin:4px;padding:0 5px;min-width:65px;text-align:center;text-decoration:none;font-weight:bold}
|
||||
.bce_code .bce_code_ctrl .ctrl_btn:hover{cursor:pointer;background:#333;color:#FFF;border:1px solid black}
|
||||
.bce_code .bce_code_ctrl .ctrl_btn_disabled{background:#999;color:#BBB}
|
||||
.bce_code .bce_code_ctrl .ctrl_btn_disabled:hover{background:#999;color:#BBB;cursor:default}
|
||||
@media(max-width:767px){
|
||||
.bce_code .bce_code_ctrl{display:flex;flex-direction:column;margin:0}
|
||||
.bce_code .bce_code_ctrl .ctrl_btn_left,.bce_code .bce_code_ctrl .ctrl_btn_right{display:flex;flex-direction:column;margin:0}
|
||||
.bce_code .ctrl_btn_left,.bce_code .ctrl_btn_right{display:flex;flex-direction:column;margin:0}
|
||||
}
|
@ -5,6 +5,8 @@
|
||||
@import 'styles_main';
|
||||
@import 'styles_bloglist';
|
||||
@import 'styles_blogview';
|
||||
@import 'styles_blogview_befunge';
|
||||
|
||||
@import 'styles_eulerpanel';
|
||||
@import 'styles_bfjoustrunner';
|
||||
@import 'styles_bfjoustrunner';
|
||||
@import 'styles_befungerunner';
|
70
www/data/css/styles_befungerunner.scss
Normal file
70
www/data/css/styles_befungerunner.scss
Normal file
@ -0,0 +1,70 @@
|
||||
@import 'styles_config';
|
||||
|
||||
.bce_code {
|
||||
background: #F8F8F8;
|
||||
color: black;
|
||||
border: 1px solid rgba(0, 0, 0, 0.15);
|
||||
|
||||
.bce_code_data {
|
||||
overflow-x: auto;
|
||||
white-space: pre;
|
||||
font-family: $FONT_CODE;
|
||||
padding: 9.5px;
|
||||
|
||||
font-size: 11pt;
|
||||
}
|
||||
|
||||
.bce_code_ctrl {
|
||||
background: #BBB;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
|
||||
.ctrl_btn_left, .ctrl_btn_right {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
}
|
||||
|
||||
.ctrl_btn_left {
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
.ctrl_btn_right {
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
.ctrl_btn {
|
||||
display: block;
|
||||
border: 1px solid #000;
|
||||
background: #444;
|
||||
color: #BBB;
|
||||
margin: 4px;
|
||||
padding: 0 5px;
|
||||
min-width: 65px;
|
||||
text-align: center;
|
||||
text-decoration: none;
|
||||
font-weight: bold;
|
||||
|
||||
&:hover {
|
||||
cursor: pointer;
|
||||
background: #333;
|
||||
color: #FFF;
|
||||
border: 1px solid black;
|
||||
}
|
||||
}
|
||||
|
||||
.ctrl_btn_disabled { background: #999; color: #BBB; }
|
||||
.ctrl_btn_disabled:hover { background: #999; color: #BBB; cursor: default; }
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
.bce_code {
|
||||
.bce_code_ctrl{
|
||||
|
||||
display: flex; flex-direction: column; margin: 0;
|
||||
|
||||
.ctrl_btn_left, .ctrl_btn_right { display: flex; flex-direction: column; margin: 0; }
|
||||
|
||||
} .ctrl_btn_left, .ctrl_btn_right { display: flex; flex-direction: column; margin: 0; }
|
||||
}
|
||||
}
|
@ -102,89 +102,4 @@
|
||||
|
||||
}
|
||||
|
||||
#PEB_tableProblems {
|
||||
.PEB_tablerowProblems { }
|
||||
.PEB_tablerowProblems:hover { background-color: #888; }
|
||||
|
||||
.PEB_tablecellProblems { }
|
||||
|
||||
.PEB_TC_Value { font-family: $FONT_CODE; }
|
||||
|
||||
.PEB_TC_Value:not(:hover) {
|
||||
color: transparent;
|
||||
|
||||
-o-transition:.5s;
|
||||
-ms-transition:.5s;
|
||||
-moz-transition:.5s;
|
||||
-webkit-transition:.5s;
|
||||
transition:.5s;
|
||||
}
|
||||
|
||||
.PEB_TC_Value:hover {
|
||||
color: $COL_TEXT_DARK;
|
||||
|
||||
-o-transition:.5s;
|
||||
-ms-transition:.5s;
|
||||
-moz-transition:.5s;
|
||||
-webkit-transition:.5s;
|
||||
transition:.5s;
|
||||
}
|
||||
|
||||
.PEB_TC_Time {
|
||||
border-radius: 1px;
|
||||
|
||||
display: inline-block;
|
||||
padding: 1px 6px;
|
||||
|
||||
min-width: 60px;
|
||||
}
|
||||
|
||||
.PEB_TC_Timelevel_0 { background-color: #0A0 !important; }
|
||||
.PEB_TC_Timelevel_1 { background-color: #84FF0A !important; }
|
||||
.PEB_TC_Timelevel_2 { background-color: #FF0 !important; }
|
||||
.PEB_TC_Timelevel_3 { background-color: #F60 !important; }
|
||||
.PEB_TC_Timelevel_4 { background-color: #F11 !important; }
|
||||
|
||||
.PEB_TC_Size { font-family: $FONT_CODE; }
|
||||
|
||||
.PEB_TC_Size_93 {
|
||||
float: right;
|
||||
font-family: $FONT_DEFAULT;
|
||||
|
||||
border-radius: 1px;
|
||||
background-color: #0A0;
|
||||
|
||||
display: inline-block;
|
||||
padding: 1px 6px;
|
||||
}
|
||||
|
||||
.PEB_TC_Size_98 {
|
||||
float: right;
|
||||
font-family: $FONT_DEFAULT;
|
||||
|
||||
border-radius: 1px;
|
||||
background-color: #FF0;
|
||||
|
||||
display: inline-block;
|
||||
padding: 1px 6px;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #333;
|
||||
display: block;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.PEB_TC_Title a { text-decoration: underline; }
|
||||
|
||||
}
|
||||
|
||||
@media(max-width:1199px) {
|
||||
#PEB_tableProblems tr td:nth-child(1), #PEB_tableProblems tr th:nth-child(1) { display: none; }
|
||||
}
|
||||
|
||||
@media(max-width:767px) {
|
||||
#PEB_tableProblems tr td:nth-child(1), #PEB_tableProblems tr th:nth-child(1) { display: none; }
|
||||
#PEB_tableProblems tr td:nth-child(3), #PEB_tableProblems tr th:nth-child(3) { display: none; }
|
||||
#PEB_tableProblems tr td:nth-child(4), #PEB_tableProblems tr th:nth-child(4) { display: none; }
|
||||
}
|
172
www/data/css/styles_blogview_befunge.scss
Normal file
172
www/data/css/styles_blogview_befunge.scss
Normal file
@ -0,0 +1,172 @@
|
||||
@import 'styles_config';
|
||||
|
||||
|
||||
#PEB_tableProblems {
|
||||
.PEB_tablerowProblems { }
|
||||
.PEB_tablerowProblems:hover { background-color: #888; }
|
||||
|
||||
.PEB_tablecellProblems { }
|
||||
|
||||
.PEB_TC_Value { font-family: $FONT_CODE; }
|
||||
|
||||
.PEB_TC_Value:not(:hover) {
|
||||
color: transparent;
|
||||
|
||||
-o-transition:.5s;
|
||||
-ms-transition:.5s;
|
||||
-moz-transition:.5s;
|
||||
-webkit-transition:.5s;
|
||||
transition:.5s;
|
||||
}
|
||||
|
||||
.PEB_TC_Value:hover {
|
||||
color: $COL_TEXT_DARK;
|
||||
|
||||
-o-transition:.5s;
|
||||
-ms-transition:.5s;
|
||||
-moz-transition:.5s;
|
||||
-webkit-transition:.5s;
|
||||
transition:.5s;
|
||||
}
|
||||
|
||||
.PEB_TC_Time {
|
||||
border-radius: 1px;
|
||||
|
||||
display: inline-block;
|
||||
padding: 1px 6px;
|
||||
|
||||
min-width: 60px;
|
||||
}
|
||||
|
||||
.PEB_TC_Timelevel_0 { background-color: #0A0 !important; }
|
||||
.PEB_TC_Timelevel_1 { background-color: #84FF0A !important; }
|
||||
.PEB_TC_Timelevel_2 { background-color: #FF0 !important; }
|
||||
.PEB_TC_Timelevel_3 { background-color: #F60 !important; }
|
||||
.PEB_TC_Timelevel_4 { background-color: #F11 !important; }
|
||||
|
||||
.PEB_TC_Size { font-family: $FONT_CODE; }
|
||||
|
||||
.PEB_TC_Size_93 {
|
||||
float: right;
|
||||
font-family: $FONT_DEFAULT;
|
||||
|
||||
border-radius: 1px;
|
||||
background-color: #0A0;
|
||||
|
||||
display: inline-block;
|
||||
padding: 1px 6px;
|
||||
}
|
||||
|
||||
.PEB_TC_Size_98 {
|
||||
float: right;
|
||||
font-family: $FONT_DEFAULT;
|
||||
|
||||
border-radius: 1px;
|
||||
background-color: #FF0;
|
||||
|
||||
display: inline-block;
|
||||
padding: 1px 6px;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #333;
|
||||
display: block;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.PEB_TC_Title a { text-decoration: underline; }
|
||||
|
||||
}
|
||||
|
||||
@media(max-width:1199px) {
|
||||
#PEB_tableProblems tr td:nth-child(1), #PEB_tableProblems tr th:nth-child(1) { display: none; }
|
||||
}
|
||||
|
||||
@media(max-width:767px) {
|
||||
#PEB_tableProblems tr td:nth-child(1), #PEB_tableProblems tr th:nth-child(1) { display: none; }
|
||||
#PEB_tableProblems tr td:nth-child(3), #PEB_tableProblems tr th:nth-child(3) { display: none; }
|
||||
#PEB_tableProblems tr td:nth-child(4), #PEB_tableProblems tr th:nth-child(4) { display: none; }
|
||||
}
|
||||
|
||||
.bce_description, .bce_explanation {
|
||||
background: #EEE;
|
||||
border: 1px solid rgba(0, 0, 0, 0.15);
|
||||
padding: 0 5px;
|
||||
}
|
||||
|
||||
|
||||
|
||||
.bce_pagination {
|
||||
display:flex;
|
||||
|
||||
.bce_pag20 {
|
||||
display:flex;
|
||||
align-self: center;
|
||||
}
|
||||
.bce_pag10 {
|
||||
display:flex;
|
||||
}
|
||||
.bce_pag05 {
|
||||
display:flex;
|
||||
margin: 4px 0;
|
||||
}
|
||||
.bce_pagbtn {
|
||||
display: block;
|
||||
color: #000;
|
||||
text-decoration: none;
|
||||
min-width: 1.8em;
|
||||
padding: 0 5px;
|
||||
margin: 0 4px;
|
||||
border-radius: 2px;
|
||||
border: 1px solid #777;
|
||||
background: #AAA;
|
||||
text-align: center;
|
||||
}
|
||||
.bce_pagbtn_disabled {
|
||||
color: #888;
|
||||
background: #BBB;
|
||||
}
|
||||
.bce_pagbtn_active {
|
||||
color: #000;
|
||||
background: #666;
|
||||
border: 1px solid #000;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
@media(max-width:767px)
|
||||
{
|
||||
.bce_pagination { flex-direction: column; }
|
||||
.bce_pag20 { flex-direction: column; }
|
||||
.bce_pag10 { flex-direction: column; }
|
||||
.bce_pag05 { flex-direction: row; }
|
||||
}
|
||||
|
||||
@media(min-width:768px)
|
||||
{
|
||||
.bce_pagination { flex-direction: column; }
|
||||
.bce_pag20 { flex-direction: column; }
|
||||
.bce_pag10 { flex-direction: row; }
|
||||
.bce_pag05 { flex-direction: row; }
|
||||
}
|
||||
|
||||
|
||||
@media(min-width:992px)
|
||||
{
|
||||
.bce_pagination { flex-direction: column; }
|
||||
.bce_pag20 { flex-direction: column; }
|
||||
.bce_pag10 { flex-direction: row; }
|
||||
.bce_pag05 { flex-direction: row; }
|
||||
}
|
||||
|
||||
|
||||
@media(min-width:1200px)
|
||||
{
|
||||
.bce_pagination { flex-direction: column; }
|
||||
.bce_pag20 { flex-direction: row; }
|
||||
.bce_pag10 { flex-direction: row; }
|
||||
.bce_pag05 { flex-direction: row; }
|
||||
}
|
||||
|
||||
|
152
www/fragments/blogview_euler_single.php
Normal file
152
www/fragments/blogview_euler_single.php
Normal file
@ -0,0 +1,152 @@
|
||||
<?php
|
||||
require_once (__DIR__ . '/../internals/base.php');
|
||||
require_once (__DIR__ . '/../internals/blog.php');
|
||||
require_once (__DIR__ . '/../internals/euler.php');
|
||||
require_once (__DIR__ . '/../extern/Parsedown.php');
|
||||
|
||||
$subview = $OPTIONS['subview'];
|
||||
|
||||
$euler = Euler::listAll();
|
||||
$problem = Euler::getEulerProblem(intval(explode('-', $subview)[1]));
|
||||
|
||||
if ($post === NULL) httpError(404, 'problem not found');
|
||||
|
||||
$pd = new Parsedown();
|
||||
|
||||
|
||||
$arr = [];
|
||||
$max = 0;
|
||||
foreach ($euler as $elem)
|
||||
{
|
||||
$max = max($max, $elem['number']);
|
||||
$arr[$elem['number']] = $elem;
|
||||
}
|
||||
$max = ceil($max / 20) * 20;
|
||||
|
||||
?>
|
||||
|
||||
<div class="blogcontent bc_euler bc_markdown">
|
||||
|
||||
<div style="position: relative;">
|
||||
<a href="https://github.com/Mikescher/Project-Euler_Befunge" style="position: absolute; top: 0; right: 0; border: 0;">
|
||||
<img src="/data/images/github_band.png" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png">
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="bc_header">
|
||||
<?php echo $problem['date']; ?>
|
||||
</div>
|
||||
|
||||
<div class="bc_data">
|
||||
|
||||
<div class="bce_header"><h1><a href="<?php echo $problem['url_euler']; ?>">Problem <?php echo $problem['number3']; ?></a>: <?php echo htmlspecialchars($problem['title']); ?></h1></div>
|
||||
|
||||
<b>Description:</b>
|
||||
<div class="bce_description"><?php echo $pd->text(file_get_contents($problem['file_description'])); ?></div>
|
||||
<br/>
|
||||
|
||||
<?php if ($problem['abbreviated']): ?>
|
||||
|
||||
<b>Solution:</b>
|
||||
<div class="bce_code">
|
||||
<div class="bce_code_data"><?php echo htmlspecialchars(file_get_contents($problem['file_code'])); ?></div>
|
||||
<div class="bce_code_ctrl">
|
||||
<div class="ctrl_btn_right">
|
||||
<a class="ctrl_btn" href="<?php echo $problem['url_raw']; ?>" download target="_blank">Download</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<br/>
|
||||
|
||||
<?php else: ?>
|
||||
|
||||
<b>Solution:</b>
|
||||
<div class="bce_code">
|
||||
<div class="bce_code_data"><?php echo htmlspecialchars(file_get_contents($problem['file_code'])); ?></div>
|
||||
<div class="bce_code_ctrl">
|
||||
<div class="ctrl_btn_left">
|
||||
<div class="ctrl_btn">Start</div>
|
||||
<div class="ctrl_btn">Stop</div>
|
||||
<div class="ctrl_btn">Reset</div>
|
||||
</div>
|
||||
<div class="ctrl_btn_right">
|
||||
<a class="ctrl_btn" href="<?php echo $problem['url_raw']; ?>" download target="_blank">Download</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<br/>
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
<b>Explanation:</b>
|
||||
<div class="bce_explanation"><?php echo $pd->text(file_get_contents($problem['file_explanation'])); ?></div>
|
||||
<br/>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td><b>Interpreter steps:</b></td>
|
||||
<td><?php echo number_format($problem['steps'], 0, null, ' '); ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><b>Execution time</b> (<a href="/programs/view/BefunGen">BefunExec</a>):</td>
|
||||
<td><?php echo $problem['time'] . ' ms <i>(=' . number_format(($problem['steps']/$problem['time'])/1000, 2, '.', '') . ' MHz)</i>'; ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><b>Program size:</b></td>
|
||||
<td><?php echo $problem['width'] . ' x ' . $problem['height']; if ($problem['is93']) echo '<i> (fully conform befunge-93)</i>'; ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><b>Solution:</b></td>
|
||||
<td><?php echo $problem['value']; ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><b>Solved at:</b></td>
|
||||
<td><?php echo $problem['date']; ?></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<br />
|
||||
<br />
|
||||
|
||||
<div class="bce_pagination">
|
||||
|
||||
<?php
|
||||
$break = false;
|
||||
for($i1=0;;$i1++)
|
||||
{
|
||||
echo "<div class='bce_pag20'>";
|
||||
for($i2=0;$i2<2;$i2++)
|
||||
{
|
||||
echo "<div class='bce_pag10'>";
|
||||
for($i3=0;$i3<2;$i3++)
|
||||
{
|
||||
echo "<div class='bce_pag05'>";
|
||||
for($i4=0;$i4<5;$i4++)
|
||||
{
|
||||
$ii = $i1*20 + $i2*10 + $i3*5 + $i4 + 1;
|
||||
if ($ii > $max) {$break = true; break;}
|
||||
|
||||
$pii = str_pad($ii, 3, '0', STR_PAD_LEFT);
|
||||
|
||||
if ($ii == $problem['number'])
|
||||
echo "<div class='bce_pagbtn bce_pagbtn_active'>" . $pii . "</div>";
|
||||
else if (key_exists($ii, $arr))
|
||||
echo "<a class='bce_pagbtn' href='/blog/1/Project_Euler_with_Befunge/problem-" . $pii . "'>" . $pii . "</a>";
|
||||
else
|
||||
echo "<div class='bce_pagbtn bce_pagbtn_disabled'>" . $pii . "</div>";
|
||||
}
|
||||
echo "</div>";
|
||||
if ($break) break;
|
||||
}
|
||||
echo "</div>";
|
||||
if ($break) break;
|
||||
}
|
||||
echo "</div>";
|
||||
if ($break) break;
|
||||
}
|
||||
?>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
@ -3,6 +3,8 @@
|
||||
global $CONFIG;
|
||||
$CONFIG = require 'config.php';
|
||||
|
||||
$CSS_BASE = ($CONFIG['prod']) ? ('styles.min.css') : ('styles.css');
|
||||
|
||||
function startsWith($haystack, $needle)
|
||||
{
|
||||
$length = strlen($needle);
|
||||
|
@ -5,10 +5,25 @@ class Euler
|
||||
public static function readSingle($f)
|
||||
{
|
||||
$a = require $f;
|
||||
|
||||
$n3p = str_pad($a['number'], 3, '0', STR_PAD_LEFT);
|
||||
$a['number3'] = $n3p;
|
||||
|
||||
$a['rating'] = self::rateTime($a);
|
||||
$a['url'] = '/blog/1/Project_Euler_with_Befunge/problem-' . str_pad($a['number'], 3, '0', STR_PAD_LEFT);
|
||||
|
||||
$a['url'] = '/blog/1/Project_Euler_with_Befunge/problem-' . $n3p;
|
||||
$a['canonical'] = "https://www.mikescher.com" . $a['url'];
|
||||
|
||||
$a['is93'] = ($a['width'] <= 80 AND $a['height'] <= 25);
|
||||
|
||||
$a['url_euler'] = 'https://projecteuler.net/problem=' . $n3p;
|
||||
$a['url_raw'] = 'https://raw.githubusercontent.com/Mikescher/Project-Euler_Befunge/master/processed/Euler_Problem-' . $n3p . '.b93';
|
||||
$a['url_github'] = 'https://github.com/Mikescher/Project-Euler_Befunge';
|
||||
|
||||
$a['file_description'] = (__DIR__ . '/../statics/euler/Euler_Problem-'.$n3p.'_description.md');
|
||||
$a['file_code'] = (__DIR__ . '/../statics/euler/Euler_Problem-'.$n3p.'.b93');
|
||||
$a['file_explanation'] = (__DIR__ . '/../statics/euler/Euler_Problem-'.$n3p.'_explanation.md');
|
||||
|
||||
return $a;
|
||||
}
|
||||
|
||||
@ -20,6 +35,14 @@ class Euler
|
||||
return array_map('self::readSingle', $files);
|
||||
}
|
||||
|
||||
public static function getEulerProblem($num)
|
||||
{
|
||||
foreach (self::listAll() as $ep) {
|
||||
if ($ep['number'] == $num) return $ep;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
public static function rateTime($problem)
|
||||
{
|
||||
if ($problem['time'] < 100) // < 100ms
|
||||
|
@ -3,13 +3,8 @@
|
||||
return
|
||||
[
|
||||
'number' => 1,
|
||||
'date' => '2014-09-11',
|
||||
'title' => 'Multiples of 3 and 5',
|
||||
'description' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-001_description.md'); },
|
||||
'code' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-001.b93'); },
|
||||
'explanation' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-001_explanation.md'); },
|
||||
'url_euler' => 'http://projecteuler.net/problem=001',
|
||||
'url_raw' => 'https://raw.githubusercontent.com/Mikescher/Project-Euler_Befunge/master/processed/Euler_Problem-001.b93',
|
||||
'url_github' => 'https://github.com/Mikescher/Project-Euler_Befunge',
|
||||
'abbreviated' => false,
|
||||
'steps' => 47624,
|
||||
'time' => 62,
|
||||
|
@ -3,13 +3,8 @@
|
||||
return
|
||||
[
|
||||
'number' => 2,
|
||||
'date' => '2014-09-11',
|
||||
'title' => 'Even Fibonacci numbers',
|
||||
'description' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-002_description.md'); },
|
||||
'code' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-002.b93'); },
|
||||
'explanation' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-002_explanation.md'); },
|
||||
'url_euler' => 'http://projecteuler.net/problem=002',
|
||||
'url_raw' => 'https://raw.githubusercontent.com/Mikescher/Project-Euler_Befunge/master/processed/Euler_Problem-002.b93',
|
||||
'url_github' => 'https://github.com/Mikescher/Project-Euler_Befunge',
|
||||
'abbreviated' => false,
|
||||
'steps' => 1669,
|
||||
'time' => 62,
|
||||
|
@ -3,13 +3,8 @@
|
||||
return
|
||||
[
|
||||
'number' => 3,
|
||||
'date' => '2014-09-11',
|
||||
'title' => 'Largest prime factor',
|
||||
'description' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-003_description.md'); },
|
||||
'code' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-003.b93'); },
|
||||
'explanation' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-003_explanation.md'); },
|
||||
'url_euler' => 'http://projecteuler.net/problem=003',
|
||||
'url_raw' => 'https://raw.githubusercontent.com/Mikescher/Project-Euler_Befunge/master/processed/Euler_Problem-003.b93',
|
||||
'url_github' => 'https://github.com/Mikescher/Project-Euler_Befunge',
|
||||
'abbreviated' => false,
|
||||
'steps' => 31579516,
|
||||
'time' => 9547,
|
||||
|
@ -3,13 +3,8 @@
|
||||
return
|
||||
[
|
||||
'number' => 4,
|
||||
'date' => '2014-09-11',
|
||||
'title' => 'Largest palindrome product',
|
||||
'description' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-004_description.md'); },
|
||||
'code' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-004.b93'); },
|
||||
'explanation' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-004_explanation.md'); },
|
||||
'url_euler' => 'http://projecteuler.net/problem=004',
|
||||
'url_raw' => 'https://raw.githubusercontent.com/Mikescher/Project-Euler_Befunge/master/processed/Euler_Problem-004.b93',
|
||||
'url_github' => 'https://github.com/Mikescher/Project-Euler_Befunge',
|
||||
'abbreviated' => false,
|
||||
'steps' => 230611114,
|
||||
'time' => 77813,
|
||||
|
@ -3,13 +3,8 @@
|
||||
return
|
||||
[
|
||||
'number' => 5,
|
||||
'date' => '2014-09-11',
|
||||
'title' => 'Smallest multiple',
|
||||
'description' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-005_description.md'); },
|
||||
'code' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-005.b93'); },
|
||||
'explanation' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-005_explanation.md'); },
|
||||
'url_euler' => 'http://projecteuler.net/problem=005',
|
||||
'url_raw' => 'https://raw.githubusercontent.com/Mikescher/Project-Euler_Befunge/master/processed/Euler_Problem-005.b93',
|
||||
'url_github' => 'https://github.com/Mikescher/Project-Euler_Befunge',
|
||||
'abbreviated' => false,
|
||||
'steps' => 50166,
|
||||
'time' => 47,
|
||||
|
@ -3,13 +3,8 @@
|
||||
return
|
||||
[
|
||||
'number' => 6,
|
||||
'date' => '2014-09-11',
|
||||
'title' => 'Sum square difference',
|
||||
'description' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-006_description.md'); },
|
||||
'code' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-006.b93'); },
|
||||
'explanation' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-006_explanation.md'); },
|
||||
'url_euler' => 'http://projecteuler.net/problem=006',
|
||||
'url_raw' => 'https://raw.githubusercontent.com/Mikescher/Project-Euler_Befunge/master/processed/Euler_Problem-006.b93',
|
||||
'url_github' => 'https://github.com/Mikescher/Project-Euler_Befunge',
|
||||
'abbreviated' => false,
|
||||
'steps' => 18897151,
|
||||
'time' => 7347,
|
||||
|
@ -3,13 +3,8 @@
|
||||
return
|
||||
[
|
||||
'number' => 7,
|
||||
'date' => '2014-09-11',
|
||||
'title' => '10001st prime',
|
||||
'description' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-007_description.md'); },
|
||||
'code' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-007.b93'); },
|
||||
'explanation' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-007_explanation.md'); },
|
||||
'url_euler' => 'http://projecteuler.net/problem=007',
|
||||
'url_raw' => 'https://raw.githubusercontent.com/Mikescher/Project-Euler_Befunge/master/processed/Euler_Problem-007.b93',
|
||||
'url_github' => 'https://github.com/Mikescher/Project-Euler_Befunge',
|
||||
'abbreviated' => true,
|
||||
'steps' => 21915385,
|
||||
'time' => 7628,
|
||||
|
@ -3,13 +3,8 @@
|
||||
return
|
||||
[
|
||||
'number' => 8,
|
||||
'date' => '2014-09-11',
|
||||
'title' => 'Largest product in a series',
|
||||
'description' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-008_description.md'); },
|
||||
'code' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-008.b93'); },
|
||||
'explanation' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-008_explanation.md'); },
|
||||
'url_euler' => 'http://projecteuler.net/problem=008',
|
||||
'url_raw' => 'https://raw.githubusercontent.com/Mikescher/Project-Euler_Befunge/master/processed/Euler_Problem-008.b93',
|
||||
'url_github' => 'https://github.com/Mikescher/Project-Euler_Befunge',
|
||||
'abbreviated' => false,
|
||||
'steps' => 614295,
|
||||
'time' => 234,
|
||||
|
@ -3,13 +3,8 @@
|
||||
return
|
||||
[
|
||||
'number' => 9,
|
||||
'date' => '2014-09-11',
|
||||
'title' => 'Special Pythagorean triplet',
|
||||
'description' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-009_description.md'); },
|
||||
'code' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-009.b93'); },
|
||||
'explanation' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-009_explanation.md'); },
|
||||
'url_euler' => 'http://projecteuler.net/problem=009',
|
||||
'url_raw' => 'https://raw.githubusercontent.com/Mikescher/Project-Euler_Befunge/master/processed/Euler_Problem-009.b93',
|
||||
'url_github' => 'https://github.com/Mikescher/Project-Euler_Befunge',
|
||||
'abbreviated' => false,
|
||||
'steps' => 1397212134,
|
||||
'time' => 394277,
|
||||
|
@ -3,13 +3,8 @@
|
||||
return
|
||||
[
|
||||
'number' => 10,
|
||||
'date' => '2014-09-11',
|
||||
'title' => 'Summation of primes',
|
||||
'description' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-010_description.md'); },
|
||||
'code' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-010.b93'); },
|
||||
'explanation' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-010_explanation.md'); },
|
||||
'url_euler' => 'http://projecteuler.net/problem=010',
|
||||
'url_raw' => 'https://raw.githubusercontent.com/Mikescher/Project-Euler_Befunge/master/processed/Euler_Problem-010.b93',
|
||||
'url_github' => 'https://github.com/Mikescher/Project-Euler_Befunge',
|
||||
'abbreviated' => true,
|
||||
'steps' => 416776174,
|
||||
'time' => 67127,
|
||||
|
@ -3,13 +3,8 @@
|
||||
return
|
||||
[
|
||||
'number' => 11,
|
||||
'date' => '2014-09-11',
|
||||
'title' => 'Largest product in a grid',
|
||||
'description' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-011_description.md'); },
|
||||
'code' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-011.b93'); },
|
||||
'explanation' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-011_explanation.md'); },
|
||||
'url_euler' => 'http://projecteuler.net/problem=011',
|
||||
'url_raw' => 'https://raw.githubusercontent.com/Mikescher/Project-Euler_Befunge/master/processed/Euler_Problem-011.b93',
|
||||
'url_github' => 'https://github.com/Mikescher/Project-Euler_Befunge',
|
||||
'abbreviated' => false,
|
||||
'steps' => 323945,
|
||||
'time' => 78,
|
||||
|
@ -3,13 +3,8 @@
|
||||
return
|
||||
[
|
||||
'number' => 12,
|
||||
'date' => '2014-09-11',
|
||||
'title' => 'Highly divisible triangular number',
|
||||
'description' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-012_description.md'); },
|
||||
'code' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-012.b93'); },
|
||||
'explanation' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-012_explanation.md'); },
|
||||
'url_euler' => 'http://projecteuler.net/problem=012',
|
||||
'url_raw' => 'https://raw.githubusercontent.com/Mikescher/Project-Euler_Befunge/master/processed/Euler_Problem-012.b93',
|
||||
'url_github' => 'https://github.com/Mikescher/Project-Euler_Befunge',
|
||||
'abbreviated' => true,
|
||||
'steps' => 38855123,
|
||||
'time' => 7566,
|
||||
|
@ -3,13 +3,8 @@
|
||||
return
|
||||
[
|
||||
'number' => 13,
|
||||
'date' => '2014-09-11',
|
||||
'title' => 'Large sum',
|
||||
'description' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-013_description.md'); },
|
||||
'code' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-013.b93'); },
|
||||
'explanation' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-013_explanation.md'); },
|
||||
'url_euler' => 'http://projecteuler.net/problem=013',
|
||||
'url_raw' => 'https://raw.githubusercontent.com/Mikescher/Project-Euler_Befunge/master/processed/Euler_Problem-013.b93',
|
||||
'url_github' => 'https://github.com/Mikescher/Project-Euler_Befunge',
|
||||
'abbreviated' => true,
|
||||
'steps' => 244792,
|
||||
'time' => 78,
|
||||
|
@ -3,13 +3,8 @@
|
||||
return
|
||||
[
|
||||
'number' => 14,
|
||||
'date' => '2014-09-11',
|
||||
'title' => 'Longest Collatz sequence',
|
||||
'description' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-014_description.md'); },
|
||||
'code' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-014.b93'); },
|
||||
'explanation' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-014_explanation.md'); },
|
||||
'url_euler' => 'http://projecteuler.net/problem=014',
|
||||
'url_raw' => 'https://raw.githubusercontent.com/Mikescher/Project-Euler_Befunge/master/processed/Euler_Problem-014.b93',
|
||||
'url_github' => 'https://github.com/Mikescher/Project-Euler_Befunge',
|
||||
'abbreviated' => false,
|
||||
'steps' => 3877209672,
|
||||
'time' => 717713,
|
||||
|
@ -3,13 +3,8 @@
|
||||
return
|
||||
[
|
||||
'number' => 15,
|
||||
'date' => '2014-09-11',
|
||||
'title' => 'Lattice paths',
|
||||
'description' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-015_description.md'); },
|
||||
'code' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-015.b93'); },
|
||||
'explanation' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-015_explanation.md'); },
|
||||
'url_euler' => 'http://projecteuler.net/problem=015',
|
||||
'url_raw' => 'https://raw.githubusercontent.com/Mikescher/Project-Euler_Befunge/master/processed/Euler_Problem-015.b93',
|
||||
'url_github' => 'https://github.com/Mikescher/Project-Euler_Befunge',
|
||||
'abbreviated' => false,
|
||||
'steps' => 61202,
|
||||
'time' => 47,
|
||||
|
@ -3,13 +3,8 @@
|
||||
return
|
||||
[
|
||||
'number' => 16,
|
||||
'date' => '2014-09-11',
|
||||
'title' => 'Power digit sum',
|
||||
'description' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-016_description.md'); },
|
||||
'code' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-016.b93'); },
|
||||
'explanation' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-016_explanation.md'); },
|
||||
'url_euler' => 'http://projecteuler.net/problem=016',
|
||||
'url_raw' => 'https://raw.githubusercontent.com/Mikescher/Project-Euler_Befunge/master/processed/Euler_Problem-016.b93',
|
||||
'url_github' => 'https://github.com/Mikescher/Project-Euler_Befunge',
|
||||
'abbreviated' => false,
|
||||
'steps' => 27332672,
|
||||
'time' => 4228,
|
||||
|
@ -3,13 +3,8 @@
|
||||
return
|
||||
[
|
||||
'number' => 17,
|
||||
'date' => '2014-09-12',
|
||||
'title' => 'Number letter counts',
|
||||
'description' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-017_description.md'); },
|
||||
'code' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-017.b93'); },
|
||||
'explanation' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-017_explanation.md'); },
|
||||
'url_euler' => 'http://projecteuler.net/problem=017',
|
||||
'url_raw' => 'https://raw.githubusercontent.com/Mikescher/Project-Euler_Befunge/master/processed/Euler_Problem-017.b93',
|
||||
'url_github' => 'https://github.com/Mikescher/Project-Euler_Befunge',
|
||||
'abbreviated' => false,
|
||||
'steps' => 179076,
|
||||
'time' => 47,
|
||||
|
@ -3,13 +3,8 @@
|
||||
return
|
||||
[
|
||||
'number' => 18,
|
||||
'date' => '2014-09-13',
|
||||
'title' => 'Maximum path sum I',
|
||||
'description' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-018_description.md'); },
|
||||
'code' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-018.b93'); },
|
||||
'explanation' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-018_explanation.md'); },
|
||||
'url_euler' => 'http://projecteuler.net/problem=018',
|
||||
'url_raw' => 'https://raw.githubusercontent.com/Mikescher/Project-Euler_Befunge/master/processed/Euler_Problem-018.b93',
|
||||
'url_github' => 'https://github.com/Mikescher/Project-Euler_Befunge',
|
||||
'abbreviated' => false,
|
||||
'steps' => 15048,
|
||||
'time' => 16,
|
||||
|
@ -3,13 +3,8 @@
|
||||
return
|
||||
[
|
||||
'number' => 19,
|
||||
'date' => '2014-09-14',
|
||||
'title' => 'Counting Sundays',
|
||||
'description' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-019_description.md'); },
|
||||
'code' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-019.b93'); },
|
||||
'explanation' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-019_explanation.md'); },
|
||||
'url_euler' => 'http://projecteuler.net/problem=019',
|
||||
'url_raw' => 'https://raw.githubusercontent.com/Mikescher/Project-Euler_Befunge/master/processed/Euler_Problem-019.b93',
|
||||
'url_github' => 'https://github.com/Mikescher/Project-Euler_Befunge',
|
||||
'abbreviated' => false,
|
||||
'steps' => 3197878,
|
||||
'time' => 546,
|
||||
|
@ -3,13 +3,8 @@
|
||||
return
|
||||
[
|
||||
'number' => 20,
|
||||
'date' => '2014-09-14',
|
||||
'title' => 'Factorial digit sum',
|
||||
'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'); },
|
||||
'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',
|
||||
'abbreviated' => false,
|
||||
'steps' => 1546679,
|
||||
'time' => 265,
|
||||
|
@ -3,13 +3,8 @@
|
||||
return
|
||||
[
|
||||
'number' => 21,
|
||||
'date' => '2014-09-15',
|
||||
'title' => 'Amicable numbers',
|
||||
'description' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-021_description.md'); },
|
||||
'code' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-021.b93'); },
|
||||
'explanation' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-021_explanation.md'); },
|
||||
'url_euler' => 'http://projecteuler.net/problem=021',
|
||||
'url_raw' => 'https://raw.githubusercontent.com/Mikescher/Project-Euler_Befunge/master/processed/Euler_Problem-021.b93',
|
||||
'url_github' => 'https://github.com/Mikescher/Project-Euler_Befunge',
|
||||
'abbreviated' => true,
|
||||
'steps' => 601124986,
|
||||
'time' => 102399,
|
||||
|
@ -3,13 +3,8 @@
|
||||
return
|
||||
[
|
||||
'number' => 22,
|
||||
'date' => '2014-09-16',
|
||||
'title' => 'Names scores',
|
||||
'description' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-022_description.md'); },
|
||||
'code' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-022.b93'); },
|
||||
'explanation' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-022_explanation.md'); },
|
||||
'url_euler' => 'http://projecteuler.net/problem=022',
|
||||
'url_raw' => 'https://raw.githubusercontent.com/Mikescher/Project-Euler_Befunge/master/processed/Euler_Problem-022.b93',
|
||||
'url_github' => 'https://github.com/Mikescher/Project-Euler_Befunge',
|
||||
'abbreviated' => true,
|
||||
'steps' => 4703607994,
|
||||
'time' => 961793,
|
||||
|
@ -3,13 +3,8 @@
|
||||
return
|
||||
[
|
||||
'number' => 23,
|
||||
'date' => '2014-09-16',
|
||||
'title' => 'Non-abundant sums',
|
||||
'description' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-023_description.md'); },
|
||||
'code' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-023.b93'); },
|
||||
'explanation' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-023_explanation.md'); },
|
||||
'url_euler' => 'http://projecteuler.net/problem=023',
|
||||
'url_raw' => 'https://raw.githubusercontent.com/Mikescher/Project-Euler_Befunge/master/processed/Euler_Problem-023.b93',
|
||||
'url_github' => 'https://github.com/Mikescher/Project-Euler_Befunge',
|
||||
'abbreviated' => true,
|
||||
'steps' => 10667174483,
|
||||
'time' => 1967688,
|
||||
|
@ -3,13 +3,8 @@
|
||||
return
|
||||
[
|
||||
'number' => 24,
|
||||
'date' => '2014-09-16',
|
||||
'title' => 'Lexicographic permutations',
|
||||
'description' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-024_description.md'); },
|
||||
'code' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-024.b93'); },
|
||||
'explanation' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-024_explanation.md'); },
|
||||
'url_euler' => 'http://projecteuler.net/problem=024',
|
||||
'url_raw' => 'https://raw.githubusercontent.com/Mikescher/Project-Euler_Befunge/master/processed/Euler_Problem-024.b93',
|
||||
'url_github' => 'https://github.com/Mikescher/Project-Euler_Befunge',
|
||||
'abbreviated' => false,
|
||||
'steps' => 3499,
|
||||
'time' => 31,
|
||||
|
@ -3,13 +3,8 @@
|
||||
return
|
||||
[
|
||||
'number' => 25,
|
||||
'date' => '2014-09-17',
|
||||
'title' => '1000-digit Fibonacci number',
|
||||
'description' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-025_description.md'); },
|
||||
'code' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-025.b93'); },
|
||||
'explanation' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-025_explanation.md'); },
|
||||
'url_euler' => 'http://projecteuler.net/problem=025',
|
||||
'url_raw' => 'https://raw.githubusercontent.com/Mikescher/Project-Euler_Befunge/master/processed/Euler_Problem-025.b93',
|
||||
'url_github' => 'https://github.com/Mikescher/Project-Euler_Befunge',
|
||||
'abbreviated' => false,
|
||||
'steps' => 745055403,
|
||||
'time' => 116938,
|
||||
|
@ -3,13 +3,8 @@
|
||||
return
|
||||
[
|
||||
'number' => 26,
|
||||
'date' => '2014-09-17',
|
||||
'title' => 'Reciprocal cycles',
|
||||
'description' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-026_description.md'); },
|
||||
'code' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-026.b93'); },
|
||||
'explanation' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-026_explanation.md'); },
|
||||
'url_euler' => 'http://projecteuler.net/problem=026',
|
||||
'url_raw' => 'https://raw.githubusercontent.com/Mikescher/Project-Euler_Befunge/master/processed/Euler_Problem-026.b93',
|
||||
'url_github' => 'https://github.com/Mikescher/Project-Euler_Befunge',
|
||||
'abbreviated' => false,
|
||||
'steps' => 21266126,
|
||||
'time' => 4477,
|
||||
|
@ -3,13 +3,8 @@
|
||||
return
|
||||
[
|
||||
'number' => 27,
|
||||
'date' => '2014-09-21',
|
||||
'title' => 'Quadratic primes',
|
||||
'description' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-027_description.md'); },
|
||||
'code' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-027.b93'); },
|
||||
'explanation' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-027_explanation.md'); },
|
||||
'url_euler' => 'http://projecteuler.net/problem=027',
|
||||
'url_raw' => 'https://raw.githubusercontent.com/Mikescher/Project-Euler_Befunge/master/processed/Euler_Problem-027.b93',
|
||||
'url_github' => 'https://github.com/Mikescher/Project-Euler_Befunge',
|
||||
'abbreviated' => true,
|
||||
'steps' => 37842282,
|
||||
'time' => 6240,
|
||||
|
@ -3,13 +3,8 @@
|
||||
return
|
||||
[
|
||||
'number' => 28,
|
||||
'date' => '2014-09-18',
|
||||
'title' => 'Number spiral diagonals',
|
||||
'description' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-028_description.md'); },
|
||||
'code' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-028.b93'); },
|
||||
'explanation' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-028_explanation.md'); },
|
||||
'url_euler' => 'http://projecteuler.net/problem=028',
|
||||
'url_raw' => 'https://raw.githubusercontent.com/Mikescher/Project-Euler_Befunge/master/processed/Euler_Problem-028.b93',
|
||||
'url_github' => 'https://github.com/Mikescher/Project-Euler_Befunge',
|
||||
'abbreviated' => false,
|
||||
'steps' => 28514,
|
||||
'time' => 15,
|
||||
|
@ -3,13 +3,8 @@
|
||||
return
|
||||
[
|
||||
'number' => 29,
|
||||
'date' => '2014-09-20',
|
||||
'title' => 'Distinct powers',
|
||||
'description' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-029_description.md'); },
|
||||
'code' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-029.b93'); },
|
||||
'explanation' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-029_explanation.md'); },
|
||||
'url_euler' => 'http://projecteuler.net/problem=029',
|
||||
'url_raw' => 'https://raw.githubusercontent.com/Mikescher/Project-Euler_Befunge/master/processed/Euler_Problem-029.b93',
|
||||
'url_github' => 'https://github.com/Mikescher/Project-Euler_Befunge',
|
||||
'abbreviated' => true,
|
||||
'steps' => 6439429168,
|
||||
'time' => 1423681,
|
||||
|
@ -3,13 +3,8 @@
|
||||
return
|
||||
[
|
||||
'number' => 30,
|
||||
'date' => '2014-09-18',
|
||||
'title' => 'Digit fifth powers',
|
||||
'description' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-030_description.md'); },
|
||||
'code' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-030.b93'); },
|
||||
'explanation' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-030_explanation.md'); },
|
||||
'url_euler' => 'http://projecteuler.net/problem=030',
|
||||
'url_raw' => 'https://raw.githubusercontent.com/Mikescher/Project-Euler_Befunge/master/processed/Euler_Problem-030.b93',
|
||||
'url_github' => 'https://github.com/Mikescher/Project-Euler_Befunge',
|
||||
'abbreviated' => false,
|
||||
'steps' => 51019199,
|
||||
'time' => 7332,
|
||||
|
@ -3,13 +3,8 @@
|
||||
return
|
||||
[
|
||||
'number' => 31,
|
||||
'date' => '2014-09-18',
|
||||
'title' => 'Coin sums',
|
||||
'description' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-031_description.md'); },
|
||||
'code' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-031.b93'); },
|
||||
'explanation' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-031_explanation.md'); },
|
||||
'url_euler' => 'http://projecteuler.net/problem=031',
|
||||
'url_raw' => 'https://raw.githubusercontent.com/Mikescher/Project-Euler_Befunge/master/processed/Euler_Problem-031.b93',
|
||||
'url_github' => 'https://github.com/Mikescher/Project-Euler_Befunge',
|
||||
'abbreviated' => false,
|
||||
'steps' => 310409597,
|
||||
'time' => 47970,
|
||||
|
@ -3,13 +3,8 @@
|
||||
return
|
||||
[
|
||||
'number' => 32,
|
||||
'date' => '2014-09-22',
|
||||
'title' => 'Pandigital products',
|
||||
'description' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-032_description.md'); },
|
||||
'code' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-032.b93'); },
|
||||
'explanation' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-032_explanation.md'); },
|
||||
'url_euler' => 'http://projecteuler.net/problem=032',
|
||||
'url_raw' => 'https://raw.githubusercontent.com/Mikescher/Project-Euler_Befunge/master/processed/Euler_Problem-032.b93',
|
||||
'url_github' => 'https://github.com/Mikescher/Project-Euler_Befunge',
|
||||
'abbreviated' => false,
|
||||
'steps' => 42123428,
|
||||
'time' => 7191,
|
||||
|
@ -3,13 +3,8 @@
|
||||
return
|
||||
[
|
||||
'number' => 33,
|
||||
'date' => '2014-09-22',
|
||||
'title' => 'Digit canceling fractions',
|
||||
'description' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-033_description.md'); },
|
||||
'code' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-033.b93'); },
|
||||
'explanation' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-033_explanation.md'); },
|
||||
'url_euler' => 'http://projecteuler.net/problem=033',
|
||||
'url_raw' => 'https://raw.githubusercontent.com/Mikescher/Project-Euler_Befunge/master/processed/Euler_Problem-033.b93',
|
||||
'url_github' => 'https://github.com/Mikescher/Project-Euler_Befunge',
|
||||
'abbreviated' => false,
|
||||
'steps' => 661502,
|
||||
'time' => 109,
|
||||
|
@ -3,13 +3,8 @@
|
||||
return
|
||||
[
|
||||
'number' => 34,
|
||||
'date' => '2014-09-23',
|
||||
'title' => 'Digit factorials',
|
||||
'description' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-034_description.md'); },
|
||||
'code' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-034.b93'); },
|
||||
'explanation' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-034_explanation.md'); },
|
||||
'url_euler' => 'http://projecteuler.net/problem=034',
|
||||
'url_raw' => 'https://raw.githubusercontent.com/Mikescher/Project-Euler_Befunge/master/processed/Euler_Problem-034.b93',
|
||||
'url_github' => 'https://github.com/Mikescher/Project-Euler_Befunge',
|
||||
'abbreviated' => false,
|
||||
'steps' => 493980359,
|
||||
'time' => 80933,
|
||||
|
@ -3,13 +3,8 @@
|
||||
return
|
||||
[
|
||||
'number' => 35,
|
||||
'date' => '2014-09-23',
|
||||
'title' => 'Circular primes',
|
||||
'description' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-035_description.md'); },
|
||||
'code' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-035.b93'); },
|
||||
'explanation' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-035_explanation.md'); },
|
||||
'url_euler' => 'http://projecteuler.net/problem=035',
|
||||
'url_raw' => 'https://raw.githubusercontent.com/Mikescher/Project-Euler_Befunge/master/processed/Euler_Problem-035.b93',
|
||||
'url_github' => 'https://github.com/Mikescher/Project-Euler_Befunge',
|
||||
'abbreviated' => true,
|
||||
'steps' => 176748467,
|
||||
'time' => 27565,
|
||||
|
@ -3,13 +3,8 @@
|
||||
return
|
||||
[
|
||||
'number' => 36,
|
||||
'date' => '2014-09-23',
|
||||
'title' => 'Double-base palindromes',
|
||||
'description' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-036_description.md'); },
|
||||
'code' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-036.b93'); },
|
||||
'explanation' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-036_explanation.md'); },
|
||||
'url_euler' => 'http://projecteuler.net/problem=036',
|
||||
'url_raw' => 'https://raw.githubusercontent.com/Mikescher/Project-Euler_Befunge/master/processed/Euler_Problem-036.b93',
|
||||
'url_github' => 'https://github.com/Mikescher/Project-Euler_Befunge',
|
||||
'abbreviated' => false,
|
||||
'steps' => 969574,
|
||||
'time' => 172,
|
||||
|
@ -3,13 +3,8 @@
|
||||
return
|
||||
[
|
||||
'number' => 37,
|
||||
'date' => '2014-09-24',
|
||||
'title' => 'Truncatable primes',
|
||||
'description' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-037_description.md'); },
|
||||
'code' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-037.b93'); },
|
||||
'explanation' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-037_explanation.md'); },
|
||||
'url_euler' => 'http://projecteuler.net/problem=037',
|
||||
'url_raw' => 'https://raw.githubusercontent.com/Mikescher/Project-Euler_Befunge/master/processed/Euler_Problem-037.b93',
|
||||
'url_github' => 'https://github.com/Mikescher/Project-Euler_Befunge',
|
||||
'abbreviated' => true,
|
||||
'steps' => 128154558,
|
||||
'time' => 20717,
|
||||
|
@ -3,13 +3,8 @@
|
||||
return
|
||||
[
|
||||
'number' => 38,
|
||||
'date' => '2014-09-24',
|
||||
'title' => 'Pandigital multiples',
|
||||
'description' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-038_description.md'); },
|
||||
'code' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-038.b93'); },
|
||||
'explanation' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-038_explanation.md'); },
|
||||
'url_euler' => 'http://projecteuler.net/problem=038',
|
||||
'url_raw' => 'https://raw.githubusercontent.com/Mikescher/Project-Euler_Befunge/master/processed/Euler_Problem-038.b93',
|
||||
'url_github' => 'https://github.com/Mikescher/Project-Euler_Befunge',
|
||||
'abbreviated' => false,
|
||||
'steps' => 3567967,
|
||||
'time' => 624,
|
||||
|
@ -3,13 +3,8 @@
|
||||
return
|
||||
[
|
||||
'number' => 39,
|
||||
'date' => '2014-09-24',
|
||||
'title' => 'Integer right triangles',
|
||||
'description' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-039_description.md'); },
|
||||
'code' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-039.b93'); },
|
||||
'explanation' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-039_explanation.md'); },
|
||||
'url_euler' => 'http://projecteuler.net/problem=039',
|
||||
'url_raw' => 'https://raw.githubusercontent.com/Mikescher/Project-Euler_Befunge/master/processed/Euler_Problem-039.b93',
|
||||
'url_github' => 'https://github.com/Mikescher/Project-Euler_Befunge',
|
||||
'abbreviated' => false,
|
||||
'steps' => 3815878,
|
||||
'time' => 827,
|
||||
|
@ -3,13 +3,8 @@
|
||||
return
|
||||
[
|
||||
'number' => 40,
|
||||
'date' => '2014-09-24',
|
||||
'title' => 'Champernowne\'s constant',
|
||||
'description' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-040_description.md'); },
|
||||
'code' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-040.b93'); },
|
||||
'explanation' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-040_explanation.md'); },
|
||||
'url_euler' => 'http://projecteuler.net/problem=040',
|
||||
'url_raw' => 'https://raw.githubusercontent.com/Mikescher/Project-Euler_Befunge/master/processed/Euler_Problem-040.b93',
|
||||
'url_github' => 'https://github.com/Mikescher/Project-Euler_Befunge',
|
||||
'abbreviated' => false,
|
||||
'steps' => 1486,
|
||||
'time' => 16,
|
||||
|
@ -3,13 +3,8 @@
|
||||
return
|
||||
[
|
||||
'number' => 41,
|
||||
'date' => '2014-10-12',
|
||||
'title' => 'Pandigital prime',
|
||||
'description' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-041_description.md'); },
|
||||
'code' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-041.b93'); },
|
||||
'explanation' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-041_explanation.md'); },
|
||||
'url_euler' => 'http://projecteuler.net/problem=041',
|
||||
'url_raw' => 'https://raw.githubusercontent.com/Mikescher/Project-Euler_Befunge/master/processed/Euler_Problem-041.b93',
|
||||
'url_github' => 'https://github.com/Mikescher/Project-Euler_Befunge',
|
||||
'abbreviated' => false,
|
||||
'steps' => 83726,
|
||||
'time' => 31,
|
||||
|
@ -3,13 +3,8 @@
|
||||
return
|
||||
[
|
||||
'number' => 42,
|
||||
'date' => '2014-10-12',
|
||||
'title' => 'Coded triangle numbers',
|
||||
'description' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-042_description.md'); },
|
||||
'code' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-042.b93'); },
|
||||
'explanation' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-042_explanation.md'); },
|
||||
'url_euler' => 'http://projecteuler.net/problem=042',
|
||||
'url_raw' => 'https://raw.githubusercontent.com/Mikescher/Project-Euler_Befunge/master/processed/Euler_Problem-042.b93',
|
||||
'url_github' => 'https://github.com/Mikescher/Project-Euler_Befunge',
|
||||
'abbreviated' => true,
|
||||
'steps' => 526637,
|
||||
'time' => 406,
|
||||
|
@ -3,13 +3,8 @@
|
||||
return
|
||||
[
|
||||
'number' => 43,
|
||||
'date' => '2014-10-14',
|
||||
'title' => 'Sub-string divisibility',
|
||||
'description' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-043_description.md'); },
|
||||
'code' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-043.b93'); },
|
||||
'explanation' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-043_explanation.md'); },
|
||||
'url_euler' => 'http://projecteuler.net/problem=043',
|
||||
'url_raw' => 'https://raw.githubusercontent.com/Mikescher/Project-Euler_Befunge/master/processed/Euler_Problem-043.b93',
|
||||
'url_github' => 'https://github.com/Mikescher/Project-Euler_Befunge',
|
||||
'abbreviated' => false,
|
||||
'steps' => 821317,
|
||||
'time' => 140,
|
||||
|
@ -3,13 +3,8 @@
|
||||
return
|
||||
[
|
||||
'number' => 44,
|
||||
'date' => '2014-12-10',
|
||||
'title' => 'Pentagon numbers',
|
||||
'description' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-044_description.md'); },
|
||||
'code' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-044.b93'); },
|
||||
'explanation' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-044_explanation.md'); },
|
||||
'url_euler' => 'http://projecteuler.net/problem=044',
|
||||
'url_raw' => 'https://raw.githubusercontent.com/Mikescher/Project-Euler_Befunge/master/processed/Euler_Problem-044.b93',
|
||||
'url_github' => 'https://github.com/Mikescher/Project-Euler_Befunge',
|
||||
'abbreviated' => false,
|
||||
'steps' => 1509045439,
|
||||
'time' => 258993,
|
||||
|
@ -3,13 +3,8 @@
|
||||
return
|
||||
[
|
||||
'number' => 45,
|
||||
'date' => '2014-12-11',
|
||||
'title' => 'Triangular, pentagonal, and hexagonal',
|
||||
'description' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-045_description.md'); },
|
||||
'code' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-045.b93'); },
|
||||
'explanation' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-045_explanation.md'); },
|
||||
'url_euler' => 'http://projecteuler.net/problem=045',
|
||||
'url_raw' => 'https://raw.githubusercontent.com/Mikescher/Project-Euler_Befunge/master/processed/Euler_Problem-045.b93',
|
||||
'url_github' => 'https://github.com/Mikescher/Project-Euler_Befunge',
|
||||
'abbreviated' => false,
|
||||
'steps' => 25312679,
|
||||
'time' => 3494,
|
||||
|
@ -3,13 +3,8 @@
|
||||
return
|
||||
[
|
||||
'number' => 46,
|
||||
'date' => '2014-12-11',
|
||||
'title' => 'Goldbach\'s other conjecture',
|
||||
'description' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-046_description.md'); },
|
||||
'code' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-046.b93'); },
|
||||
'explanation' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-046_explanation.md'); },
|
||||
'url_euler' => 'http://projecteuler.net/problem=046',
|
||||
'url_raw' => 'https://raw.githubusercontent.com/Mikescher/Project-Euler_Befunge/master/processed/Euler_Problem-046.b93',
|
||||
'url_github' => 'https://github.com/Mikescher/Project-Euler_Befunge',
|
||||
'abbreviated' => true,
|
||||
'steps' => 77542913,
|
||||
'time' => 13899,
|
||||
|
@ -3,13 +3,8 @@
|
||||
return
|
||||
[
|
||||
'number' => 47,
|
||||
'date' => '2015-01-08',
|
||||
'title' => 'Distinct primes factors',
|
||||
'description' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-047_description.md'); },
|
||||
'code' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-047.b93'); },
|
||||
'explanation' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-047_explanation.md'); },
|
||||
'url_euler' => 'http://projecteuler.net/problem=047',
|
||||
'url_raw' => 'https://raw.githubusercontent.com/Mikescher/Project-Euler_Befunge/master/processed/Euler_Problem-047.b93',
|
||||
'url_github' => 'https://github.com/Mikescher/Project-Euler_Befunge',
|
||||
'abbreviated' => true,
|
||||
'steps' => 3227917351,
|
||||
'time' => 537798,
|
||||
|
@ -3,13 +3,8 @@
|
||||
return
|
||||
[
|
||||
'number' => 48,
|
||||
'date' => '2014-12-12',
|
||||
'title' => 'Self powers',
|
||||
'description' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-048_description.md'); },
|
||||
'code' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-048.b93'); },
|
||||
'explanation' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-048_explanation.md'); },
|
||||
'url_euler' => 'http://projecteuler.net/problem=048',
|
||||
'url_raw' => 'https://raw.githubusercontent.com/Mikescher/Project-Euler_Befunge/master/processed/Euler_Problem-048.b93',
|
||||
'url_github' => 'https://github.com/Mikescher/Project-Euler_Befunge',
|
||||
'abbreviated' => false,
|
||||
'steps' => 11530541,
|
||||
'time' => 3728,
|
||||
|
@ -3,13 +3,8 @@
|
||||
return
|
||||
[
|
||||
'number' => 49,
|
||||
'date' => '2015-01-09',
|
||||
'title' => 'Prime permutations',
|
||||
'description' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-049_description.md'); },
|
||||
'code' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-049.b93'); },
|
||||
'explanation' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-049_explanation.md'); },
|
||||
'url_euler' => 'http://projecteuler.net/problem=049',
|
||||
'url_raw' => 'https://raw.githubusercontent.com/Mikescher/Project-Euler_Befunge/master/processed/Euler_Problem-049.b93',
|
||||
'url_github' => 'https://github.com/Mikescher/Project-Euler_Befunge',
|
||||
'abbreviated' => false,
|
||||
'steps' => 378809,
|
||||
'time' => 124,
|
||||
|
@ -3,13 +3,8 @@
|
||||
return
|
||||
[
|
||||
'number' => 50,
|
||||
'date' => '2015-01-14',
|
||||
'title' => 'Consecutive prime sum',
|
||||
'description' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-050_description.md'); },
|
||||
'code' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-050.b93'); },
|
||||
'explanation' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-050_explanation.md'); },
|
||||
'url_euler' => 'http://projecteuler.net/problem=050',
|
||||
'url_raw' => 'https://raw.githubusercontent.com/Mikescher/Project-Euler_Befunge/master/processed/Euler_Problem-050.b93',
|
||||
'url_github' => 'https://github.com/Mikescher/Project-Euler_Befunge',
|
||||
'abbreviated' => true,
|
||||
'steps' => 180368553,
|
||||
'time' => 30904,
|
||||
|
@ -3,13 +3,8 @@
|
||||
return
|
||||
[
|
||||
'number' => 51,
|
||||
'date' => '2015-01-17',
|
||||
'title' => 'Prime digit replacements',
|
||||
'description' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-051_description.md'); },
|
||||
'code' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-051.b93'); },
|
||||
'explanation' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-051_explanation.md'); },
|
||||
'url_euler' => 'http://projecteuler.net/problem=051',
|
||||
'url_raw' => 'https://raw.githubusercontent.com/Mikescher/Project-Euler_Befunge/master/processed/Euler_Problem-051.b93',
|
||||
'url_github' => 'https://github.com/Mikescher/Project-Euler_Befunge',
|
||||
'abbreviated' => false,
|
||||
'steps' => 802550671,
|
||||
'time' => 113896,
|
||||
|
@ -3,13 +3,8 @@
|
||||
return
|
||||
[
|
||||
'number' => 52,
|
||||
'date' => '2015-01-17',
|
||||
'title' => 'Permuted multiples',
|
||||
'description' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-052_description.md'); },
|
||||
'code' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-052.b93'); },
|
||||
'explanation' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-052_explanation.md'); },
|
||||
'url_euler' => 'http://projecteuler.net/problem=052',
|
||||
'url_raw' => 'https://raw.githubusercontent.com/Mikescher/Project-Euler_Befunge/master/processed/Euler_Problem-052.b93',
|
||||
'url_github' => 'https://github.com/Mikescher/Project-Euler_Befunge',
|
||||
'abbreviated' => false,
|
||||
'steps' => 18887060,
|
||||
'time' => 2917,
|
||||
|
@ -3,13 +3,8 @@
|
||||
return
|
||||
[
|
||||
'number' => 53,
|
||||
'date' => '2015-01-22',
|
||||
'title' => 'Combinatoric selections',
|
||||
'description' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-053_description.md'); },
|
||||
'code' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-053.b93'); },
|
||||
'explanation' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-053_explanation.md'); },
|
||||
'url_euler' => 'http://projecteuler.net/problem=053',
|
||||
'url_raw' => 'https://raw.githubusercontent.com/Mikescher/Project-Euler_Befunge/master/processed/Euler_Problem-053.b93',
|
||||
'url_github' => 'https://github.com/Mikescher/Project-Euler_Befunge',
|
||||
'abbreviated' => false,
|
||||
'steps' => 372790,
|
||||
'time' => 125,
|
||||
|
@ -3,13 +3,8 @@
|
||||
return
|
||||
[
|
||||
'number' => 54,
|
||||
'date' => '2015-01-28',
|
||||
'title' => 'Poker hands',
|
||||
'description' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-054_description.md'); },
|
||||
'code' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-054.b93'); },
|
||||
'explanation' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-054_explanation.md'); },
|
||||
'url_euler' => 'http://projecteuler.net/problem=054',
|
||||
'url_raw' => 'https://raw.githubusercontent.com/Mikescher/Project-Euler_Befunge/master/processed/Euler_Problem-054.b93',
|
||||
'url_github' => 'https://github.com/Mikescher/Project-Euler_Befunge',
|
||||
'abbreviated' => true,
|
||||
'steps' => 5949695,
|
||||
'time' => 2543,
|
||||
|
@ -3,13 +3,8 @@
|
||||
return
|
||||
[
|
||||
'number' => 55,
|
||||
'date' => '2015-04-28',
|
||||
'title' => 'Lychrel numbers',
|
||||
'description' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-055_description.md'); },
|
||||
'code' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-055.b93'); },
|
||||
'explanation' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-055_explanation.md'); },
|
||||
'url_euler' => 'http://projecteuler.net/problem=055',
|
||||
'url_raw' => 'https://raw.githubusercontent.com/Mikescher/Project-Euler_Befunge/master/processed/Euler_Problem-055.b93',
|
||||
'url_github' => 'https://github.com/Mikescher/Project-Euler_Befunge',
|
||||
'abbreviated' => false,
|
||||
'steps' => 10470329,
|
||||
'time' => 2215,
|
||||
|
@ -3,13 +3,8 @@
|
||||
return
|
||||
[
|
||||
'number' => 56,
|
||||
'date' => '2015-04-29',
|
||||
'title' => 'Powerful digit sum',
|
||||
'description' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-056_description.md'); },
|
||||
'code' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-056.b93'); },
|
||||
'explanation' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-056_explanation.md'); },
|
||||
'url_euler' => 'http://projecteuler.net/problem=056',
|
||||
'url_raw' => 'https://raw.githubusercontent.com/Mikescher/Project-Euler_Befunge/master/processed/Euler_Problem-056.b93',
|
||||
'url_github' => 'https://github.com/Mikescher/Project-Euler_Befunge',
|
||||
'abbreviated' => false,
|
||||
'steps' => 62461749,
|
||||
'time' => 13915,
|
||||
|
@ -3,13 +3,8 @@
|
||||
return
|
||||
[
|
||||
'number' => 57,
|
||||
'date' => '2015-05-07',
|
||||
'title' => 'Square root convergents',
|
||||
'description' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-057_description.md'); },
|
||||
'code' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-057.b93'); },
|
||||
'explanation' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-057_explanation.md'); },
|
||||
'url_euler' => 'http://projecteuler.net/problem=057',
|
||||
'url_raw' => 'https://raw.githubusercontent.com/Mikescher/Project-Euler_Befunge/master/processed/Euler_Problem-057.b93',
|
||||
'url_github' => 'https://github.com/Mikescher/Project-Euler_Befunge',
|
||||
'abbreviated' => false,
|
||||
'steps' => 87464066,
|
||||
'time' => 15023,
|
||||
|
@ -3,13 +3,8 @@
|
||||
return
|
||||
[
|
||||
'number' => 58,
|
||||
'date' => '2015-05-13',
|
||||
'title' => 'Spiral primes',
|
||||
'description' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-058_description.md'); },
|
||||
'code' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-058.b93'); },
|
||||
'explanation' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-058_explanation.md'); },
|
||||
'url_euler' => 'http://projecteuler.net/problem=058',
|
||||
'url_raw' => 'https://raw.githubusercontent.com/Mikescher/Project-Euler_Befunge/master/processed/Euler_Problem-058.b93',
|
||||
'url_github' => 'https://github.com/Mikescher/Project-Euler_Befunge',
|
||||
'abbreviated' => false,
|
||||
'steps' => 78283096,
|
||||
'time' => 12199,
|
||||
|
@ -3,13 +3,8 @@
|
||||
return
|
||||
[
|
||||
'number' => 59,
|
||||
'date' => '2015-05-17',
|
||||
'title' => 'XOR decryption',
|
||||
'description' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-059_description.md'); },
|
||||
'code' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-059.b93'); },
|
||||
'explanation' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-059_explanation.md'); },
|
||||
'url_euler' => 'http://projecteuler.net/problem=059',
|
||||
'url_raw' => 'https://raw.githubusercontent.com/Mikescher/Project-Euler_Befunge/master/processed/Euler_Problem-059.b93',
|
||||
'url_github' => 'https://github.com/Mikescher/Project-Euler_Befunge',
|
||||
'abbreviated' => true,
|
||||
'steps' => 37085853,
|
||||
'time' => 6302,
|
||||
|
@ -3,13 +3,8 @@
|
||||
return
|
||||
[
|
||||
'number' => 60,
|
||||
'date' => '2015-06-06',
|
||||
'title' => 'Prime pair sets',
|
||||
'description' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-060_description.md'); },
|
||||
'code' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-060.b93'); },
|
||||
'explanation' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-060_explanation.md'); },
|
||||
'url_euler' => 'http://projecteuler.net/problem=060',
|
||||
'url_raw' => 'https://raw.githubusercontent.com/Mikescher/Project-Euler_Befunge/master/processed/Euler_Problem-060.b93',
|
||||
'url_github' => 'https://github.com/Mikescher/Project-Euler_Befunge',
|
||||
'abbreviated' => true,
|
||||
'steps' => 8609996835,
|
||||
'time' => 2032350,
|
||||
|
@ -3,13 +3,8 @@
|
||||
return
|
||||
[
|
||||
'number' => 61,
|
||||
'date' => '2015-07-04',
|
||||
'title' => 'Cyclical figurate numbers',
|
||||
'description' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-061_description.md'); },
|
||||
'code' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-061.b93'); },
|
||||
'explanation' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-061_explanation.md'); },
|
||||
'url_euler' => 'http://projecteuler.net/problem=061',
|
||||
'url_raw' => 'https://raw.githubusercontent.com/Mikescher/Project-Euler_Befunge/master/processed/Euler_Problem-061.b93',
|
||||
'url_github' => 'https://github.com/Mikescher/Project-Euler_Befunge',
|
||||
'abbreviated' => false,
|
||||
'steps' => 50105245,
|
||||
'time' => 14414,
|
||||
|
@ -3,13 +3,8 @@
|
||||
return
|
||||
[
|
||||
'number' => 62,
|
||||
'date' => '2015-07-07',
|
||||
'title' => 'Cubic permutations',
|
||||
'description' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-062_description.md'); },
|
||||
'code' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-062.b93'); },
|
||||
'explanation' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-062_explanation.md'); },
|
||||
'url_euler' => 'http://projecteuler.net/problem=062',
|
||||
'url_raw' => 'https://raw.githubusercontent.com/Mikescher/Project-Euler_Befunge/master/processed/Euler_Problem-062.b93',
|
||||
'url_github' => 'https://github.com/Mikescher/Project-Euler_Befunge',
|
||||
'abbreviated' => true,
|
||||
'steps' => 952323293,
|
||||
'time' => 363264,
|
||||
|
@ -3,13 +3,8 @@
|
||||
return
|
||||
[
|
||||
'number' => 63,
|
||||
'date' => '2015-07-08',
|
||||
'title' => 'Powerful digit counts',
|
||||
'description' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-063_description.md'); },
|
||||
'code' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-063.b93'); },
|
||||
'explanation' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-063_explanation.md'); },
|
||||
'url_euler' => 'http://projecteuler.net/problem=063',
|
||||
'url_raw' => 'https://raw.githubusercontent.com/Mikescher/Project-Euler_Befunge/master/processed/Euler_Problem-063.b93',
|
||||
'url_github' => 'https://github.com/Mikescher/Project-Euler_Befunge',
|
||||
'abbreviated' => false,
|
||||
'steps' => 8880369,
|
||||
'time' => 2762,
|
||||
|
@ -3,13 +3,8 @@
|
||||
return
|
||||
[
|
||||
'number' => 64,
|
||||
'date' => '2015-07-03',
|
||||
'title' => 'Odd period square roots',
|
||||
'description' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-064_description.md'); },
|
||||
'code' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-064.b93'); },
|
||||
'explanation' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-064_explanation.md'); },
|
||||
'url_euler' => 'http://projecteuler.net/problem=064',
|
||||
'url_raw' => 'https://raw.githubusercontent.com/Mikescher/Project-Euler_Befunge/master/processed/Euler_Problem-064.b93',
|
||||
'url_github' => 'https://github.com/Mikescher/Project-Euler_Befunge',
|
||||
'abbreviated' => false,
|
||||
'steps' => 24936143,
|
||||
'time' => 5804,
|
||||
|
@ -3,13 +3,8 @@
|
||||
return
|
||||
[
|
||||
'number' => 65,
|
||||
'date' => '2015-07-08',
|
||||
'title' => 'Convergents of e',
|
||||
'description' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-065_description.md'); },
|
||||
'code' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-065.b93'); },
|
||||
'explanation' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-065_explanation.md'); },
|
||||
'url_euler' => 'http://projecteuler.net/problem=065',
|
||||
'url_raw' => 'https://raw.githubusercontent.com/Mikescher/Project-Euler_Befunge/master/processed/Euler_Problem-065.b93',
|
||||
'url_github' => 'https://github.com/Mikescher/Project-Euler_Befunge',
|
||||
'abbreviated' => false,
|
||||
'steps' => 477489,
|
||||
'time' => 124,
|
||||
|
@ -3,13 +3,8 @@
|
||||
return
|
||||
[
|
||||
'number' => 66,
|
||||
'date' => '2015-07-14',
|
||||
'title' => 'Diophantine equation',
|
||||
'description' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-066_description.md'); },
|
||||
'code' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-066.b93'); },
|
||||
'explanation' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-066_explanation.md'); },
|
||||
'url_euler' => 'http://projecteuler.net/problem=066',
|
||||
'url_raw' => 'https://raw.githubusercontent.com/Mikescher/Project-Euler_Befunge/master/processed/Euler_Problem-066.b93',
|
||||
'url_github' => 'https://github.com/Mikescher/Project-Euler_Befunge',
|
||||
'abbreviated' => false,
|
||||
'steps' => 262481767,
|
||||
'time' => 55831,
|
||||
|
@ -3,13 +3,8 @@
|
||||
return
|
||||
[
|
||||
'number' => 67,
|
||||
'date' => '2014-09-13',
|
||||
'title' => 'Maximum path sum II',
|
||||
'description' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-067_description.md'); },
|
||||
'code' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-067.b93'); },
|
||||
'explanation' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-067_explanation.md'); },
|
||||
'url_euler' => 'http://projecteuler.net/problem=067',
|
||||
'url_raw' => 'https://raw.githubusercontent.com/Mikescher/Project-Euler_Befunge/master/processed/Euler_Problem-067.b93',
|
||||
'url_github' => 'https://github.com/Mikescher/Project-Euler_Befunge',
|
||||
'abbreviated' => true,
|
||||
'steps' => 650537,
|
||||
'time' => 266,
|
||||
|
@ -3,13 +3,8 @@
|
||||
return
|
||||
[
|
||||
'number' => 68,
|
||||
'date' => '2015-07-16',
|
||||
'title' => 'Magic 5-gon ring',
|
||||
'description' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-068_description.md'); },
|
||||
'code' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-068.b93'); },
|
||||
'explanation' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-068_explanation.md'); },
|
||||
'url_euler' => 'http://projecteuler.net/problem=068',
|
||||
'url_raw' => 'https://raw.githubusercontent.com/Mikescher/Project-Euler_Befunge/master/processed/Euler_Problem-068.b93',
|
||||
'url_github' => 'https://github.com/Mikescher/Project-Euler_Befunge',
|
||||
'abbreviated' => false,
|
||||
'steps' => 304112,
|
||||
'time' => 78,
|
||||
|
@ -3,13 +3,8 @@
|
||||
return
|
||||
[
|
||||
'number' => 69,
|
||||
'date' => '2015-07-20',
|
||||
'title' => 'Totient maximum',
|
||||
'description' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-069_description.md'); },
|
||||
'code' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-069.b93'); },
|
||||
'explanation' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-069_explanation.md'); },
|
||||
'url_euler' => 'http://projecteuler.net/problem=069',
|
||||
'url_raw' => 'https://raw.githubusercontent.com/Mikescher/Project-Euler_Befunge/master/processed/Euler_Problem-069.b93',
|
||||
'url_github' => 'https://github.com/Mikescher/Project-Euler_Befunge',
|
||||
'abbreviated' => false,
|
||||
'steps' => 35542,
|
||||
'time' => 16,
|
||||
|
@ -3,13 +3,8 @@
|
||||
return
|
||||
[
|
||||
'number' => 70,
|
||||
'date' => '2015-08-18',
|
||||
'title' => 'Totient permutation',
|
||||
'description' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-070_description.md'); },
|
||||
'code' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-070.b93'); },
|
||||
'explanation' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-070_explanation.md'); },
|
||||
'url_euler' => 'http://projecteuler.net/problem=070',
|
||||
'url_raw' => 'https://raw.githubusercontent.com/Mikescher/Project-Euler_Befunge/master/processed/Euler_Problem-070.b93',
|
||||
'url_github' => 'https://github.com/Mikescher/Project-Euler_Befunge',
|
||||
'abbreviated' => false,
|
||||
'steps' => 29380799,
|
||||
'time' => 3713,
|
||||
|
@ -3,13 +3,8 @@
|
||||
return
|
||||
[
|
||||
'number' => 71,
|
||||
'date' => '2015-08-19',
|
||||
'title' => 'Ordered fractions',
|
||||
'description' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-071_description.md'); },
|
||||
'code' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-071.b93'); },
|
||||
'explanation' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-071_explanation.md'); },
|
||||
'url_euler' => 'http://projecteuler.net/problem=071',
|
||||
'url_raw' => 'https://raw.githubusercontent.com/Mikescher/Project-Euler_Befunge/master/processed/Euler_Problem-071.b93',
|
||||
'url_github' => 'https://github.com/Mikescher/Project-Euler_Befunge',
|
||||
'abbreviated' => false,
|
||||
'steps' => 77428679,
|
||||
'time' => 11981,
|
||||
|
@ -3,13 +3,8 @@
|
||||
return
|
||||
[
|
||||
'number' => 72,
|
||||
'date' => '2015-08-21',
|
||||
'title' => 'Counting fractions',
|
||||
'description' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-072_description.md'); },
|
||||
'code' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-072.b93'); },
|
||||
'explanation' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-072_explanation.md'); },
|
||||
'url_euler' => 'http://projecteuler.net/problem=072',
|
||||
'url_raw' => 'https://raw.githubusercontent.com/Mikescher/Project-Euler_Befunge/master/processed/Euler_Problem-072.b93',
|
||||
'url_github' => 'https://github.com/Mikescher/Project-Euler_Befunge',
|
||||
'abbreviated' => true,
|
||||
'steps' => 339636085,
|
||||
'time' => 50606,
|
||||
|
@ -3,13 +3,8 @@
|
||||
return
|
||||
[
|
||||
'number' => 73,
|
||||
'date' => '2015-08-21',
|
||||
'title' => 'Counting fractions in a range',
|
||||
'description' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-073_description.md'); },
|
||||
'code' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-073.b93'); },
|
||||
'explanation' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-073_explanation.md'); },
|
||||
'url_euler' => 'http://projecteuler.net/problem=073',
|
||||
'url_raw' => 'https://raw.githubusercontent.com/Mikescher/Project-Euler_Befunge/master/processed/Euler_Problem-073.b93',
|
||||
'url_github' => 'https://github.com/Mikescher/Project-Euler_Befunge',
|
||||
'abbreviated' => true,
|
||||
'steps' => 1281174401,
|
||||
'time' => 202458,
|
||||
|
@ -3,13 +3,8 @@
|
||||
return
|
||||
[
|
||||
'number' => 74,
|
||||
'date' => '2015-08-25',
|
||||
'title' => 'Digit factorial chains',
|
||||
'description' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-074_description.md'); },
|
||||
'code' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-074.b93'); },
|
||||
'explanation' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-074_explanation.md'); },
|
||||
'url_euler' => 'http://projecteuler.net/problem=074',
|
||||
'url_raw' => 'https://raw.githubusercontent.com/Mikescher/Project-Euler_Befunge/master/processed/Euler_Problem-074.b93',
|
||||
'url_github' => 'https://github.com/Mikescher/Project-Euler_Befunge',
|
||||
'abbreviated' => true,
|
||||
'steps' => 376912541,
|
||||
'time' => 49187,
|
||||
|
@ -3,13 +3,8 @@
|
||||
return
|
||||
[
|
||||
'number' => 75,
|
||||
'date' => '2015-08-26',
|
||||
'title' => 'Singular integer right triangles',
|
||||
'description' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-075_description.md'); },
|
||||
'code' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-075.b93'); },
|
||||
'explanation' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-075_explanation.md'); },
|
||||
'url_euler' => 'http://projecteuler.net/problem=075',
|
||||
'url_raw' => 'https://raw.githubusercontent.com/Mikescher/Project-Euler_Befunge/master/processed/Euler_Problem-075.b93',
|
||||
'url_github' => 'https://github.com/Mikescher/Project-Euler_Befunge',
|
||||
'abbreviated' => true,
|
||||
'steps' => 293080647,
|
||||
'time' => 39951,
|
||||
|
@ -3,13 +3,8 @@
|
||||
return
|
||||
[
|
||||
'number' => 76,
|
||||
'date' => '2015-08-26',
|
||||
'title' => 'Counting summations',
|
||||
'description' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-076_description.md'); },
|
||||
'code' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-076.b93'); },
|
||||
'explanation' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-076_explanation.md'); },
|
||||
'url_euler' => 'http://projecteuler.net/problem=076',
|
||||
'url_raw' => 'https://raw.githubusercontent.com/Mikescher/Project-Euler_Befunge/master/processed/Euler_Problem-076.b93',
|
||||
'url_github' => 'https://github.com/Mikescher/Project-Euler_Befunge',
|
||||
'abbreviated' => false,
|
||||
'steps' => 296178,
|
||||
'time' => 32,
|
||||
|
@ -3,13 +3,8 @@
|
||||
return
|
||||
[
|
||||
'number' => 77,
|
||||
'date' => '2015-08-28',
|
||||
'title' => 'Prime summations',
|
||||
'description' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-077_description.md'); },
|
||||
'code' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-077.b93'); },
|
||||
'explanation' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-077_explanation.md'); },
|
||||
'url_euler' => 'http://projecteuler.net/problem=077',
|
||||
'url_raw' => 'https://raw.githubusercontent.com/Mikescher/Project-Euler_Befunge/master/processed/Euler_Problem-077.b93',
|
||||
'url_github' => 'https://github.com/Mikescher/Project-Euler_Befunge',
|
||||
'abbreviated' => false,
|
||||
'steps' => 312139,
|
||||
'time' => 47,
|
||||
|
@ -3,13 +3,8 @@
|
||||
return
|
||||
[
|
||||
'number' => 78,
|
||||
'date' => '2015-09-08',
|
||||
'title' => 'Coin partitions',
|
||||
'description' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-078_description.md'); },
|
||||
'code' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-078.b93'); },
|
||||
'explanation' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-078_explanation.md'); },
|
||||
'url_euler' => 'http://projecteuler.net/problem=078',
|
||||
'url_raw' => 'https://raw.githubusercontent.com/Mikescher/Project-Euler_Befunge/master/processed/Euler_Problem-078.b93',
|
||||
'url_github' => 'https://github.com/Mikescher/Project-Euler_Befunge',
|
||||
'abbreviated' => true,
|
||||
'steps' => 1191633332,
|
||||
'time' => 170946,
|
||||
|
@ -3,13 +3,8 @@
|
||||
return
|
||||
[
|
||||
'number' => 79,
|
||||
'date' => '2015-09-09',
|
||||
'title' => 'Passcode derivation',
|
||||
'description' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-079_description.md'); },
|
||||
'code' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-079.b93'); },
|
||||
'explanation' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-079_explanation.md'); },
|
||||
'url_euler' => 'http://projecteuler.net/problem=079',
|
||||
'url_raw' => 'https://raw.githubusercontent.com/Mikescher/Project-Euler_Befunge/master/processed/Euler_Problem-079.b93',
|
||||
'url_github' => 'https://github.com/Mikescher/Project-Euler_Befunge',
|
||||
'abbreviated' => false,
|
||||
'steps' => 12040,
|
||||
'time' => 0,
|
||||
|
@ -3,13 +3,8 @@
|
||||
return
|
||||
[
|
||||
'number' => 80,
|
||||
'date' => '2015-09-11',
|
||||
'title' => 'Square root digital expansion',
|
||||
'description' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-080_description.md'); },
|
||||
'code' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-080.b93'); },
|
||||
'explanation' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-080_explanation.md'); },
|
||||
'url_euler' => 'http://projecteuler.net/problem=080',
|
||||
'url_raw' => 'https://raw.githubusercontent.com/Mikescher/Project-Euler_Befunge/master/processed/Euler_Problem-080.b93',
|
||||
'url_github' => 'https://github.com/Mikescher/Project-Euler_Befunge',
|
||||
'abbreviated' => false,
|
||||
'steps' => 540417723,
|
||||
'time' => 116439,
|
||||
|
@ -3,13 +3,8 @@
|
||||
return
|
||||
[
|
||||
'number' => 81,
|
||||
'date' => '2015-09-12',
|
||||
'title' => 'Path sum: two ways',
|
||||
'description' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-081_description.md'); },
|
||||
'code' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-081.b93'); },
|
||||
'explanation' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-081_explanation.md'); },
|
||||
'url_euler' => 'http://projecteuler.net/problem=081',
|
||||
'url_raw' => 'https://raw.githubusercontent.com/Mikescher/Project-Euler_Befunge/master/processed/Euler_Problem-081.b93',
|
||||
'url_github' => 'https://github.com/Mikescher/Project-Euler_Befunge',
|
||||
'abbreviated' => true,
|
||||
'steps' => 1697244,
|
||||
'time' => 234,
|
||||
|
@ -3,13 +3,8 @@
|
||||
return
|
||||
[
|
||||
'number' => 82,
|
||||
'date' => '2015-09-12',
|
||||
'title' => 'Path sum: three ways',
|
||||
'description' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-082_description.md'); },
|
||||
'code' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-082.b93'); },
|
||||
'explanation' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-082_explanation.md'); },
|
||||
'url_euler' => 'http://projecteuler.net/problem=082',
|
||||
'url_raw' => 'https://raw.githubusercontent.com/Mikescher/Project-Euler_Befunge/master/processed/Euler_Problem-082.b93',
|
||||
'url_github' => 'https://github.com/Mikescher/Project-Euler_Befunge',
|
||||
'abbreviated' => true,
|
||||
'steps' => 13777233,
|
||||
'time' => 2106,
|
||||
|
@ -3,13 +3,8 @@
|
||||
return
|
||||
[
|
||||
'number' => 83,
|
||||
'date' => '2015-09-12',
|
||||
'title' => 'Path sum: four ways',
|
||||
'description' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-083_description.md'); },
|
||||
'code' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-083.b93'); },
|
||||
'explanation' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-083_explanation.md'); },
|
||||
'url_euler' => 'http://projecteuler.net/problem=083',
|
||||
'url_raw' => 'https://raw.githubusercontent.com/Mikescher/Project-Euler_Befunge/master/processed/Euler_Problem-083.b93',
|
||||
'url_github' => 'https://github.com/Mikescher/Project-Euler_Befunge',
|
||||
'abbreviated' => true,
|
||||
'steps' => 11718762,
|
||||
'time' => 1748,
|
||||
|
@ -3,13 +3,8 @@
|
||||
return
|
||||
[
|
||||
'number' => 84,
|
||||
'date' => '2015-09-16',
|
||||
'title' => 'Monopoly odds',
|
||||
'description' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-084_description.md'); },
|
||||
'code' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-084.b93'); },
|
||||
'explanation' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-084_explanation.md'); },
|
||||
'url_euler' => 'http://projecteuler.net/problem=084',
|
||||
'url_raw' => 'https://raw.githubusercontent.com/Mikescher/Project-Euler_Befunge/master/processed/Euler_Problem-084.b93',
|
||||
'url_github' => 'https://github.com/Mikescher/Project-Euler_Befunge',
|
||||
'abbreviated' => false,
|
||||
'steps' => 146519794,
|
||||
'time' => 19203,
|
||||
|
@ -3,13 +3,8 @@
|
||||
return
|
||||
[
|
||||
'number' => 85,
|
||||
'date' => '2015-10-03',
|
||||
'title' => 'Counting rectangles',
|
||||
'description' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-085_description.md'); },
|
||||
'code' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-085.b93'); },
|
||||
'explanation' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-085_explanation.md'); },
|
||||
'url_euler' => 'http://projecteuler.net/problem=085',
|
||||
'url_raw' => 'https://raw.githubusercontent.com/Mikescher/Project-Euler_Befunge/master/processed/Euler_Problem-085.b93',
|
||||
'url_github' => 'https://github.com/Mikescher/Project-Euler_Befunge',
|
||||
'abbreviated' => false,
|
||||
'steps' => 880151,
|
||||
'time' => 109,
|
||||
|
@ -3,13 +3,8 @@
|
||||
return
|
||||
[
|
||||
'number' => 86,
|
||||
'date' => '2015-10-30',
|
||||
'title' => 'Cuboid route',
|
||||
'description' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-086_description.md'); },
|
||||
'code' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-086.b93'); },
|
||||
'explanation' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-086_explanation.md'); },
|
||||
'url_euler' => 'http://projecteuler.net/problem=086',
|
||||
'url_raw' => 'https://raw.githubusercontent.com/Mikescher/Project-Euler_Befunge/master/processed/Euler_Problem-086.b93',
|
||||
'url_github' => 'https://github.com/Mikescher/Project-Euler_Befunge',
|
||||
'abbreviated' => false,
|
||||
'steps' => 599659030,
|
||||
'time' => 91822,
|
||||
|
@ -3,13 +3,8 @@
|
||||
return
|
||||
[
|
||||
'number' => 87,
|
||||
'date' => '2015-10-30',
|
||||
'title' => 'Prime power triples',
|
||||
'description' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-087_description.md'); },
|
||||
'code' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-087.b93'); },
|
||||
'explanation' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-087_explanation.md'); },
|
||||
'url_euler' => 'http://projecteuler.net/problem=087',
|
||||
'url_raw' => 'https://raw.githubusercontent.com/Mikescher/Project-Euler_Befunge/master/processed/Euler_Problem-087.b93',
|
||||
'url_github' => 'https://github.com/Mikescher/Project-Euler_Befunge',
|
||||
'abbreviated' => true,
|
||||
'steps' => 181436097,
|
||||
'time' => 27067,
|
||||
|
@ -3,13 +3,8 @@
|
||||
return
|
||||
[
|
||||
'number' => 88,
|
||||
'date' => '2015-12-18',
|
||||
'title' => 'Product-sum numbers',
|
||||
'description' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-088_description.md'); },
|
||||
'code' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-088.b93'); },
|
||||
'explanation' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-088_explanation.md'); },
|
||||
'url_euler' => 'http://projecteuler.net/problem=088',
|
||||
'url_raw' => 'https://raw.githubusercontent.com/Mikescher/Project-Euler_Befunge/master/processed/Euler_Problem-088.b93',
|
||||
'url_github' => 'https://github.com/Mikescher/Project-Euler_Befunge',
|
||||
'abbreviated' => true,
|
||||
'steps' => 141097978,
|
||||
'time' => 23852,
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user