diff --git a/data/css_compress/compress.py b/data/css_compress/compress.py new file mode 100644 index 0000000..76dedf5 --- /dev/null +++ b/data/css_compress/compress.py @@ -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) \ No newline at end of file diff --git a/data/css_compress/yuicompressor.jar b/data/css_compress/yuicompressor.jar new file mode 100644 index 0000000..a1cf0a0 Binary files /dev/null and b/data/css_compress/yuicompressor.jar differ diff --git a/www/data/css/.gitignore b/www/data/css/.gitignore index 5147ea5..86f23d8 100644 --- a/www/data/css/.gitignore +++ b/www/data/css/.gitignore @@ -1,3 +1,4 @@ *.css.map *.css -!*styles.css \ No newline at end of file +!*styles.css +!*styles.min.css \ No newline at end of file diff --git a/www/data/css/styles.css b/www/data/css/styles.css index fca8797..f042f34 100644 --- a/www/data/css/styles.css +++ b/www/data/css/styles.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 */ diff --git a/www/data/css/styles.min.css b/www/data/css/styles.min.css new file mode 100644 index 0000000..94dfa61 --- /dev/null +++ b/www/data/css/styles.min.css @@ -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} +} diff --git a/www/data/css/styles.scss b/www/data/css/styles.scss index fd1ed1b..d5c6b05 100644 --- a/www/data/css/styles.scss +++ b/www/data/css/styles.scss @@ -5,6 +5,8 @@ @import 'styles_main'; @import 'styles_bloglist'; @import 'styles_blogview'; +@import 'styles_blogview_befunge'; @import 'styles_eulerpanel'; -@import 'styles_bfjoustrunner'; \ No newline at end of file +@import 'styles_bfjoustrunner'; +@import 'styles_befungerunner'; \ No newline at end of file diff --git a/www/data/css/styles_befungerunner.scss b/www/data/css/styles_befungerunner.scss new file mode 100644 index 0000000..f9933d1 --- /dev/null +++ b/www/data/css/styles_befungerunner.scss @@ -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; } + } +} \ No newline at end of file diff --git a/www/data/css/styles_blogview.scss b/www/data/css/styles_blogview.scss index 86ffe3d..b511b07 100644 --- a/www/data/css/styles_blogview.scss +++ b/www/data/css/styles_blogview.scss @@ -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; } -} \ No newline at end of file diff --git a/www/data/css/styles_blogview_befunge.scss b/www/data/css/styles_blogview_befunge.scss new file mode 100644 index 0000000..704f54d --- /dev/null +++ b/www/data/css/styles_blogview_befunge.scss @@ -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; } +} + + diff --git a/www/fragments/blogview_euler_single.php b/www/fragments/blogview_euler_single.php new file mode 100644 index 0000000..5914ac3 --- /dev/null +++ b/www/fragments/blogview_euler_single.php @@ -0,0 +1,152 @@ + + +
+ +
+ + Fork me on GitHub + +
+ +
+ +
+ +
+ + + + Description: +
text(file_get_contents($problem['file_description'])); ?>
+
+ + + + Solution: +
+
+
+
+ Download +
+
+
+
+ + + + Solution: +
+
+
+
+
Start
+
Stop
+
Reset
+
+
+ Download +
+
+
+
+ + + + Explanation: +
text(file_get_contents($problem['file_explanation'])); ?>
+
+ + + + + + + + + + + + + + + + + + + + + + +
Interpreter steps:
Execution time (BefunExec):(=' . number_format(($problem['steps']/$problem['time'])/1000, 2, '.', '') . ' MHz)'; ?>
Program size: (fully conform befunge-93)'; ?>
Solution:
Solved at:
+ +
+
+ +
+ + "; + for($i2=0;$i2<2;$i2++) + { + echo "
"; + for($i3=0;$i3<2;$i3++) + { + echo "
"; + 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 "
" . $pii . "
"; + else if (key_exists($ii, $arr)) + echo "" . $pii . ""; + else + echo "
" . $pii . "
"; + } + echo "
"; + if ($break) break; + } + echo "
"; + if ($break) break; + } + echo "
"; + if ($break) break; + } + ?> + +
+ +
+ \ No newline at end of file diff --git a/www/internals/base.php b/www/internals/base.php index 3d82eb2..c055d95 100644 --- a/www/internals/base.php +++ b/www/internals/base.php @@ -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); diff --git a/www/internals/euler.php b/www/internals/euler.php index 436a270..8b19ae7 100644 --- a/www/internals/euler.php +++ b/www/internals/euler.php @@ -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 diff --git a/www/statics/euler/Euler_Problem-001.php b/www/statics/euler/Euler_Problem-001.php index 5fdcaa3..31b58a7 100644 --- a/www/statics/euler/Euler_Problem-001.php +++ b/www/statics/euler/Euler_Problem-001.php @@ -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, diff --git a/www/statics/euler/Euler_Problem-002.php b/www/statics/euler/Euler_Problem-002.php index f60fb5f..92b11f0 100644 --- a/www/statics/euler/Euler_Problem-002.php +++ b/www/statics/euler/Euler_Problem-002.php @@ -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, diff --git a/www/statics/euler/Euler_Problem-003.php b/www/statics/euler/Euler_Problem-003.php index ee92c6d..01e9ebc 100644 --- a/www/statics/euler/Euler_Problem-003.php +++ b/www/statics/euler/Euler_Problem-003.php @@ -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, diff --git a/www/statics/euler/Euler_Problem-004.php b/www/statics/euler/Euler_Problem-004.php index 59ee7e3..53523ab 100644 --- a/www/statics/euler/Euler_Problem-004.php +++ b/www/statics/euler/Euler_Problem-004.php @@ -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, diff --git a/www/statics/euler/Euler_Problem-005.php b/www/statics/euler/Euler_Problem-005.php index 09bf714..7103762 100644 --- a/www/statics/euler/Euler_Problem-005.php +++ b/www/statics/euler/Euler_Problem-005.php @@ -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, diff --git a/www/statics/euler/Euler_Problem-006.php b/www/statics/euler/Euler_Problem-006.php index b5558d5..d02b251 100644 --- a/www/statics/euler/Euler_Problem-006.php +++ b/www/statics/euler/Euler_Problem-006.php @@ -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, diff --git a/www/statics/euler/Euler_Problem-007.php b/www/statics/euler/Euler_Problem-007.php index 12e0e7c..50b7e28 100644 --- a/www/statics/euler/Euler_Problem-007.php +++ b/www/statics/euler/Euler_Problem-007.php @@ -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, diff --git a/www/statics/euler/Euler_Problem-008.php b/www/statics/euler/Euler_Problem-008.php index 511324d..d7a0a7d 100644 --- a/www/statics/euler/Euler_Problem-008.php +++ b/www/statics/euler/Euler_Problem-008.php @@ -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, diff --git a/www/statics/euler/Euler_Problem-009.php b/www/statics/euler/Euler_Problem-009.php index 9a414ec..b69af4a 100644 --- a/www/statics/euler/Euler_Problem-009.php +++ b/www/statics/euler/Euler_Problem-009.php @@ -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, diff --git a/www/statics/euler/Euler_Problem-010.php b/www/statics/euler/Euler_Problem-010.php index 526c96d..3a9e301 100644 --- a/www/statics/euler/Euler_Problem-010.php +++ b/www/statics/euler/Euler_Problem-010.php @@ -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, diff --git a/www/statics/euler/Euler_Problem-011.php b/www/statics/euler/Euler_Problem-011.php index e34bd54..3bfb5c7 100644 --- a/www/statics/euler/Euler_Problem-011.php +++ b/www/statics/euler/Euler_Problem-011.php @@ -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, diff --git a/www/statics/euler/Euler_Problem-012.php b/www/statics/euler/Euler_Problem-012.php index c763f15..7ae090e 100644 --- a/www/statics/euler/Euler_Problem-012.php +++ b/www/statics/euler/Euler_Problem-012.php @@ -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, diff --git a/www/statics/euler/Euler_Problem-013.php b/www/statics/euler/Euler_Problem-013.php index 6ef1929..29c3cbc 100644 --- a/www/statics/euler/Euler_Problem-013.php +++ b/www/statics/euler/Euler_Problem-013.php @@ -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, diff --git a/www/statics/euler/Euler_Problem-014.php b/www/statics/euler/Euler_Problem-014.php index 9e3b337..c0c7ab4 100644 --- a/www/statics/euler/Euler_Problem-014.php +++ b/www/statics/euler/Euler_Problem-014.php @@ -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, diff --git a/www/statics/euler/Euler_Problem-015.php b/www/statics/euler/Euler_Problem-015.php index 4252fd0..b7fb1bf 100644 --- a/www/statics/euler/Euler_Problem-015.php +++ b/www/statics/euler/Euler_Problem-015.php @@ -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, diff --git a/www/statics/euler/Euler_Problem-016.php b/www/statics/euler/Euler_Problem-016.php index 4b1481b..cb049ef 100644 --- a/www/statics/euler/Euler_Problem-016.php +++ b/www/statics/euler/Euler_Problem-016.php @@ -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, diff --git a/www/statics/euler/Euler_Problem-017.php b/www/statics/euler/Euler_Problem-017.php index 2c2e521..025d214 100644 --- a/www/statics/euler/Euler_Problem-017.php +++ b/www/statics/euler/Euler_Problem-017.php @@ -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, diff --git a/www/statics/euler/Euler_Problem-018.php b/www/statics/euler/Euler_Problem-018.php index f4ff1bc..4b2d164 100644 --- a/www/statics/euler/Euler_Problem-018.php +++ b/www/statics/euler/Euler_Problem-018.php @@ -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, diff --git a/www/statics/euler/Euler_Problem-019.php b/www/statics/euler/Euler_Problem-019.php index 9588906..f4401fe 100644 --- a/www/statics/euler/Euler_Problem-019.php +++ b/www/statics/euler/Euler_Problem-019.php @@ -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, diff --git a/www/statics/euler/Euler_Problem-020.php b/www/statics/euler/Euler_Problem-020.php index a2d9f8f..7cec775 100644 --- a/www/statics/euler/Euler_Problem-020.php +++ b/www/statics/euler/Euler_Problem-020.php @@ -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, diff --git a/www/statics/euler/Euler_Problem-021.php b/www/statics/euler/Euler_Problem-021.php index c73b477..def3640 100644 --- a/www/statics/euler/Euler_Problem-021.php +++ b/www/statics/euler/Euler_Problem-021.php @@ -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, diff --git a/www/statics/euler/Euler_Problem-022.php b/www/statics/euler/Euler_Problem-022.php index ed2a356..7ed3e60 100644 --- a/www/statics/euler/Euler_Problem-022.php +++ b/www/statics/euler/Euler_Problem-022.php @@ -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, diff --git a/www/statics/euler/Euler_Problem-023.php b/www/statics/euler/Euler_Problem-023.php index 4f72141..3020b8c 100644 --- a/www/statics/euler/Euler_Problem-023.php +++ b/www/statics/euler/Euler_Problem-023.php @@ -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, diff --git a/www/statics/euler/Euler_Problem-024.php b/www/statics/euler/Euler_Problem-024.php index 91148d1..f1bcf58 100644 --- a/www/statics/euler/Euler_Problem-024.php +++ b/www/statics/euler/Euler_Problem-024.php @@ -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, diff --git a/www/statics/euler/Euler_Problem-025.php b/www/statics/euler/Euler_Problem-025.php index d4aea1d..ef19006 100644 --- a/www/statics/euler/Euler_Problem-025.php +++ b/www/statics/euler/Euler_Problem-025.php @@ -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, diff --git a/www/statics/euler/Euler_Problem-026.php b/www/statics/euler/Euler_Problem-026.php index 5102f96..d76ef56 100644 --- a/www/statics/euler/Euler_Problem-026.php +++ b/www/statics/euler/Euler_Problem-026.php @@ -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, diff --git a/www/statics/euler/Euler_Problem-027.php b/www/statics/euler/Euler_Problem-027.php index e69a9ea..ffee665 100644 --- a/www/statics/euler/Euler_Problem-027.php +++ b/www/statics/euler/Euler_Problem-027.php @@ -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, diff --git a/www/statics/euler/Euler_Problem-028.php b/www/statics/euler/Euler_Problem-028.php index 5ed96d3..6d41b00 100644 --- a/www/statics/euler/Euler_Problem-028.php +++ b/www/statics/euler/Euler_Problem-028.php @@ -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, diff --git a/www/statics/euler/Euler_Problem-029.php b/www/statics/euler/Euler_Problem-029.php index 01885da..1266844 100644 --- a/www/statics/euler/Euler_Problem-029.php +++ b/www/statics/euler/Euler_Problem-029.php @@ -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, diff --git a/www/statics/euler/Euler_Problem-030.php b/www/statics/euler/Euler_Problem-030.php index f24d8cb..9fa6edc 100644 --- a/www/statics/euler/Euler_Problem-030.php +++ b/www/statics/euler/Euler_Problem-030.php @@ -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, diff --git a/www/statics/euler/Euler_Problem-031.php b/www/statics/euler/Euler_Problem-031.php index b26db2f..d28c07d 100644 --- a/www/statics/euler/Euler_Problem-031.php +++ b/www/statics/euler/Euler_Problem-031.php @@ -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, diff --git a/www/statics/euler/Euler_Problem-032.php b/www/statics/euler/Euler_Problem-032.php index 8097af3..fa22bea 100644 --- a/www/statics/euler/Euler_Problem-032.php +++ b/www/statics/euler/Euler_Problem-032.php @@ -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, diff --git a/www/statics/euler/Euler_Problem-033.php b/www/statics/euler/Euler_Problem-033.php index 50ffc68..cd0d4c9 100644 --- a/www/statics/euler/Euler_Problem-033.php +++ b/www/statics/euler/Euler_Problem-033.php @@ -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, diff --git a/www/statics/euler/Euler_Problem-034.php b/www/statics/euler/Euler_Problem-034.php index 6216ba7..fd7ee27 100644 --- a/www/statics/euler/Euler_Problem-034.php +++ b/www/statics/euler/Euler_Problem-034.php @@ -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, diff --git a/www/statics/euler/Euler_Problem-035.php b/www/statics/euler/Euler_Problem-035.php index 4b88204..2f7bd02 100644 --- a/www/statics/euler/Euler_Problem-035.php +++ b/www/statics/euler/Euler_Problem-035.php @@ -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, diff --git a/www/statics/euler/Euler_Problem-036.php b/www/statics/euler/Euler_Problem-036.php index 65fa8f2..840ced9 100644 --- a/www/statics/euler/Euler_Problem-036.php +++ b/www/statics/euler/Euler_Problem-036.php @@ -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, diff --git a/www/statics/euler/Euler_Problem-037.php b/www/statics/euler/Euler_Problem-037.php index e62b6c9..65e8802 100644 --- a/www/statics/euler/Euler_Problem-037.php +++ b/www/statics/euler/Euler_Problem-037.php @@ -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, diff --git a/www/statics/euler/Euler_Problem-038.php b/www/statics/euler/Euler_Problem-038.php index 1ae9607..c145c4a 100644 --- a/www/statics/euler/Euler_Problem-038.php +++ b/www/statics/euler/Euler_Problem-038.php @@ -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, diff --git a/www/statics/euler/Euler_Problem-039.php b/www/statics/euler/Euler_Problem-039.php index ec45118..7222e4b 100644 --- a/www/statics/euler/Euler_Problem-039.php +++ b/www/statics/euler/Euler_Problem-039.php @@ -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, diff --git a/www/statics/euler/Euler_Problem-040.php b/www/statics/euler/Euler_Problem-040.php index 3075147..9e93540 100644 --- a/www/statics/euler/Euler_Problem-040.php +++ b/www/statics/euler/Euler_Problem-040.php @@ -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, diff --git a/www/statics/euler/Euler_Problem-041.php b/www/statics/euler/Euler_Problem-041.php index 9bc8a15..d2af9fe 100644 --- a/www/statics/euler/Euler_Problem-041.php +++ b/www/statics/euler/Euler_Problem-041.php @@ -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, diff --git a/www/statics/euler/Euler_Problem-042.php b/www/statics/euler/Euler_Problem-042.php index af11ed9..2da1091 100644 --- a/www/statics/euler/Euler_Problem-042.php +++ b/www/statics/euler/Euler_Problem-042.php @@ -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, diff --git a/www/statics/euler/Euler_Problem-043.php b/www/statics/euler/Euler_Problem-043.php index 5df5c89..1d58e53 100644 --- a/www/statics/euler/Euler_Problem-043.php +++ b/www/statics/euler/Euler_Problem-043.php @@ -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, diff --git a/www/statics/euler/Euler_Problem-044.php b/www/statics/euler/Euler_Problem-044.php index 4ee025e..2cac114 100644 --- a/www/statics/euler/Euler_Problem-044.php +++ b/www/statics/euler/Euler_Problem-044.php @@ -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, diff --git a/www/statics/euler/Euler_Problem-045.php b/www/statics/euler/Euler_Problem-045.php index de74e5d..c00044b 100644 --- a/www/statics/euler/Euler_Problem-045.php +++ b/www/statics/euler/Euler_Problem-045.php @@ -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, diff --git a/www/statics/euler/Euler_Problem-046.php b/www/statics/euler/Euler_Problem-046.php index a0fbd85..1dcaeb9 100644 --- a/www/statics/euler/Euler_Problem-046.php +++ b/www/statics/euler/Euler_Problem-046.php @@ -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, diff --git a/www/statics/euler/Euler_Problem-047.php b/www/statics/euler/Euler_Problem-047.php index 5378c29..f9208c3 100644 --- a/www/statics/euler/Euler_Problem-047.php +++ b/www/statics/euler/Euler_Problem-047.php @@ -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, diff --git a/www/statics/euler/Euler_Problem-048.php b/www/statics/euler/Euler_Problem-048.php index 5a46100..b9818bb 100644 --- a/www/statics/euler/Euler_Problem-048.php +++ b/www/statics/euler/Euler_Problem-048.php @@ -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, diff --git a/www/statics/euler/Euler_Problem-049.php b/www/statics/euler/Euler_Problem-049.php index 126a66e..87fddd0 100644 --- a/www/statics/euler/Euler_Problem-049.php +++ b/www/statics/euler/Euler_Problem-049.php @@ -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, diff --git a/www/statics/euler/Euler_Problem-050.php b/www/statics/euler/Euler_Problem-050.php index e49a763..e852a79 100644 --- a/www/statics/euler/Euler_Problem-050.php +++ b/www/statics/euler/Euler_Problem-050.php @@ -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, diff --git a/www/statics/euler/Euler_Problem-051.php b/www/statics/euler/Euler_Problem-051.php index f6086af..cc7c38b 100644 --- a/www/statics/euler/Euler_Problem-051.php +++ b/www/statics/euler/Euler_Problem-051.php @@ -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, diff --git a/www/statics/euler/Euler_Problem-052.php b/www/statics/euler/Euler_Problem-052.php index 13d9f8b..1f6991c 100644 --- a/www/statics/euler/Euler_Problem-052.php +++ b/www/statics/euler/Euler_Problem-052.php @@ -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, diff --git a/www/statics/euler/Euler_Problem-053.php b/www/statics/euler/Euler_Problem-053.php index 9b48a07..5ea6400 100644 --- a/www/statics/euler/Euler_Problem-053.php +++ b/www/statics/euler/Euler_Problem-053.php @@ -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, diff --git a/www/statics/euler/Euler_Problem-054.php b/www/statics/euler/Euler_Problem-054.php index 8c7d6cb..79feff4 100644 --- a/www/statics/euler/Euler_Problem-054.php +++ b/www/statics/euler/Euler_Problem-054.php @@ -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, diff --git a/www/statics/euler/Euler_Problem-055.php b/www/statics/euler/Euler_Problem-055.php index 677620c..ced0d47 100644 --- a/www/statics/euler/Euler_Problem-055.php +++ b/www/statics/euler/Euler_Problem-055.php @@ -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, diff --git a/www/statics/euler/Euler_Problem-056.php b/www/statics/euler/Euler_Problem-056.php index 033a769..d0700fb 100644 --- a/www/statics/euler/Euler_Problem-056.php +++ b/www/statics/euler/Euler_Problem-056.php @@ -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, diff --git a/www/statics/euler/Euler_Problem-057.php b/www/statics/euler/Euler_Problem-057.php index 2d84e2d..b738203 100644 --- a/www/statics/euler/Euler_Problem-057.php +++ b/www/statics/euler/Euler_Problem-057.php @@ -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, diff --git a/www/statics/euler/Euler_Problem-058.php b/www/statics/euler/Euler_Problem-058.php index 669aa16..cbfb134 100644 --- a/www/statics/euler/Euler_Problem-058.php +++ b/www/statics/euler/Euler_Problem-058.php @@ -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, diff --git a/www/statics/euler/Euler_Problem-059.php b/www/statics/euler/Euler_Problem-059.php index adc0ef6..db0d906 100644 --- a/www/statics/euler/Euler_Problem-059.php +++ b/www/statics/euler/Euler_Problem-059.php @@ -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, diff --git a/www/statics/euler/Euler_Problem-060.php b/www/statics/euler/Euler_Problem-060.php index 6ff60de..4ca49e2 100644 --- a/www/statics/euler/Euler_Problem-060.php +++ b/www/statics/euler/Euler_Problem-060.php @@ -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, diff --git a/www/statics/euler/Euler_Problem-061.php b/www/statics/euler/Euler_Problem-061.php index 52f384f..3489871 100644 --- a/www/statics/euler/Euler_Problem-061.php +++ b/www/statics/euler/Euler_Problem-061.php @@ -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, diff --git a/www/statics/euler/Euler_Problem-062.php b/www/statics/euler/Euler_Problem-062.php index 159c678..edb0419 100644 --- a/www/statics/euler/Euler_Problem-062.php +++ b/www/statics/euler/Euler_Problem-062.php @@ -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, diff --git a/www/statics/euler/Euler_Problem-063.php b/www/statics/euler/Euler_Problem-063.php index 813239b..191adc3 100644 --- a/www/statics/euler/Euler_Problem-063.php +++ b/www/statics/euler/Euler_Problem-063.php @@ -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, diff --git a/www/statics/euler/Euler_Problem-064.php b/www/statics/euler/Euler_Problem-064.php index ba8e5d6..fa355ef 100644 --- a/www/statics/euler/Euler_Problem-064.php +++ b/www/statics/euler/Euler_Problem-064.php @@ -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, diff --git a/www/statics/euler/Euler_Problem-065.php b/www/statics/euler/Euler_Problem-065.php index 2a0f5a1..97e2b5b 100644 --- a/www/statics/euler/Euler_Problem-065.php +++ b/www/statics/euler/Euler_Problem-065.php @@ -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, diff --git a/www/statics/euler/Euler_Problem-066.php b/www/statics/euler/Euler_Problem-066.php index 360b9d1..45f07be 100644 --- a/www/statics/euler/Euler_Problem-066.php +++ b/www/statics/euler/Euler_Problem-066.php @@ -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, diff --git a/www/statics/euler/Euler_Problem-067.php b/www/statics/euler/Euler_Problem-067.php index f4fbca2..ed3efab 100644 --- a/www/statics/euler/Euler_Problem-067.php +++ b/www/statics/euler/Euler_Problem-067.php @@ -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, diff --git a/www/statics/euler/Euler_Problem-068.php b/www/statics/euler/Euler_Problem-068.php index b539c03..0ef35c8 100644 --- a/www/statics/euler/Euler_Problem-068.php +++ b/www/statics/euler/Euler_Problem-068.php @@ -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, diff --git a/www/statics/euler/Euler_Problem-069.php b/www/statics/euler/Euler_Problem-069.php index 4444edc..6069179 100644 --- a/www/statics/euler/Euler_Problem-069.php +++ b/www/statics/euler/Euler_Problem-069.php @@ -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, diff --git a/www/statics/euler/Euler_Problem-070.php b/www/statics/euler/Euler_Problem-070.php index 6ae64b8..dc6114d 100644 --- a/www/statics/euler/Euler_Problem-070.php +++ b/www/statics/euler/Euler_Problem-070.php @@ -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, diff --git a/www/statics/euler/Euler_Problem-071.php b/www/statics/euler/Euler_Problem-071.php index a64fa92..e548af2 100644 --- a/www/statics/euler/Euler_Problem-071.php +++ b/www/statics/euler/Euler_Problem-071.php @@ -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, diff --git a/www/statics/euler/Euler_Problem-072.php b/www/statics/euler/Euler_Problem-072.php index 410016d..2de4106 100644 --- a/www/statics/euler/Euler_Problem-072.php +++ b/www/statics/euler/Euler_Problem-072.php @@ -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, diff --git a/www/statics/euler/Euler_Problem-073.php b/www/statics/euler/Euler_Problem-073.php index 9471a8a..891d61d 100644 --- a/www/statics/euler/Euler_Problem-073.php +++ b/www/statics/euler/Euler_Problem-073.php @@ -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, diff --git a/www/statics/euler/Euler_Problem-074.php b/www/statics/euler/Euler_Problem-074.php index a1e9817..0b5d6d8 100644 --- a/www/statics/euler/Euler_Problem-074.php +++ b/www/statics/euler/Euler_Problem-074.php @@ -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, diff --git a/www/statics/euler/Euler_Problem-075.php b/www/statics/euler/Euler_Problem-075.php index 00cd9e2..af30bcb 100644 --- a/www/statics/euler/Euler_Problem-075.php +++ b/www/statics/euler/Euler_Problem-075.php @@ -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, diff --git a/www/statics/euler/Euler_Problem-076.php b/www/statics/euler/Euler_Problem-076.php index 1a80d5e..d2ba53b 100644 --- a/www/statics/euler/Euler_Problem-076.php +++ b/www/statics/euler/Euler_Problem-076.php @@ -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, diff --git a/www/statics/euler/Euler_Problem-077.php b/www/statics/euler/Euler_Problem-077.php index 41d255d..2dbc604 100644 --- a/www/statics/euler/Euler_Problem-077.php +++ b/www/statics/euler/Euler_Problem-077.php @@ -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, diff --git a/www/statics/euler/Euler_Problem-078.php b/www/statics/euler/Euler_Problem-078.php index 3e0f647..6a33574 100644 --- a/www/statics/euler/Euler_Problem-078.php +++ b/www/statics/euler/Euler_Problem-078.php @@ -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, diff --git a/www/statics/euler/Euler_Problem-079.php b/www/statics/euler/Euler_Problem-079.php index d23cb1f..c0b84cb 100644 --- a/www/statics/euler/Euler_Problem-079.php +++ b/www/statics/euler/Euler_Problem-079.php @@ -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, diff --git a/www/statics/euler/Euler_Problem-080.php b/www/statics/euler/Euler_Problem-080.php index 6080c65..49816e1 100644 --- a/www/statics/euler/Euler_Problem-080.php +++ b/www/statics/euler/Euler_Problem-080.php @@ -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, diff --git a/www/statics/euler/Euler_Problem-081.php b/www/statics/euler/Euler_Problem-081.php index 50e899a..f3cca39 100644 --- a/www/statics/euler/Euler_Problem-081.php +++ b/www/statics/euler/Euler_Problem-081.php @@ -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, diff --git a/www/statics/euler/Euler_Problem-082.php b/www/statics/euler/Euler_Problem-082.php index d52c781..f820061 100644 --- a/www/statics/euler/Euler_Problem-082.php +++ b/www/statics/euler/Euler_Problem-082.php @@ -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, diff --git a/www/statics/euler/Euler_Problem-083.php b/www/statics/euler/Euler_Problem-083.php index e368307..6928d89 100644 --- a/www/statics/euler/Euler_Problem-083.php +++ b/www/statics/euler/Euler_Problem-083.php @@ -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, diff --git a/www/statics/euler/Euler_Problem-084.php b/www/statics/euler/Euler_Problem-084.php index f529cc7..693fbf0 100644 --- a/www/statics/euler/Euler_Problem-084.php +++ b/www/statics/euler/Euler_Problem-084.php @@ -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, diff --git a/www/statics/euler/Euler_Problem-085.php b/www/statics/euler/Euler_Problem-085.php index 760c42a..e348682 100644 --- a/www/statics/euler/Euler_Problem-085.php +++ b/www/statics/euler/Euler_Problem-085.php @@ -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, diff --git a/www/statics/euler/Euler_Problem-086.php b/www/statics/euler/Euler_Problem-086.php index 3cfcd4d..b05c67f 100644 --- a/www/statics/euler/Euler_Problem-086.php +++ b/www/statics/euler/Euler_Problem-086.php @@ -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, diff --git a/www/statics/euler/Euler_Problem-087.php b/www/statics/euler/Euler_Problem-087.php index d106f37..45a8a6f 100644 --- a/www/statics/euler/Euler_Problem-087.php +++ b/www/statics/euler/Euler_Problem-087.php @@ -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, diff --git a/www/statics/euler/Euler_Problem-088.php b/www/statics/euler/Euler_Problem-088.php index 702372e..1b0eb9d 100644 --- a/www/statics/euler/Euler_Problem-088.php +++ b/www/statics/euler/Euler_Problem-088.php @@ -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, diff --git a/www/statics/euler/Euler_Problem-089.php b/www/statics/euler/Euler_Problem-089.php index 9d63ecb..9d10a32 100644 --- a/www/statics/euler/Euler_Problem-089.php +++ b/www/statics/euler/Euler_Problem-089.php @@ -3,13 +3,8 @@ return [ 'number' => 89, + 'date' => '2015-12-25', 'title' => 'Roman numerals', - 'description' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-089_description.md'); }, - 'code' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-089.b93'); }, - 'explanation' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-089_explanation.md'); }, - 'url_euler' => 'http://projecteuler.net/problem=089', - 'url_raw' => 'https://raw.githubusercontent.com/Mikescher/Project-Euler_Befunge/master/processed/Euler_Problem-089.b93', - 'url_github' => 'https://github.com/Mikescher/Project-Euler_Befunge', 'abbreviated' => true, 'steps' => 569231, 'time' => 78, diff --git a/www/statics/euler/Euler_Problem-090.php b/www/statics/euler/Euler_Problem-090.php index 9357263..fa8005d 100644 --- a/www/statics/euler/Euler_Problem-090.php +++ b/www/statics/euler/Euler_Problem-090.php @@ -3,13 +3,8 @@ return [ 'number' => 90, + 'date' => '2016-05-21', 'title' => 'Cube digit pairs', - 'description' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-090_description.md'); }, - 'code' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-090.b93'); }, - 'explanation' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-090_explanation.md'); }, - 'url_euler' => 'http://projecteuler.net/problem=090', - 'url_raw' => 'https://raw.githubusercontent.com/Mikescher/Project-Euler_Befunge/master/processed/Euler_Problem-090.b93', - 'url_github' => 'https://github.com/Mikescher/Project-Euler_Befunge', 'abbreviated' => false, 'steps' => 335326352, 'time' => 54366, diff --git a/www/statics/euler/Euler_Problem-091.php b/www/statics/euler/Euler_Problem-091.php index 56f45d9..4c20616 100644 --- a/www/statics/euler/Euler_Problem-091.php +++ b/www/statics/euler/Euler_Problem-091.php @@ -3,13 +3,8 @@ return [ 'number' => 91, + 'date' => '2016-05-26', 'title' => 'Right triangles with integer coordinates', - 'description' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-091_description.md'); }, - 'code' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-091.b93'); }, - 'explanation' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-091_explanation.md'); }, - 'url_euler' => 'http://projecteuler.net/problem=091', - 'url_raw' => 'https://raw.githubusercontent.com/Mikescher/Project-Euler_Befunge/master/processed/Euler_Problem-091.b93', - 'url_github' => 'https://github.com/Mikescher/Project-Euler_Befunge', 'abbreviated' => false, 'steps' => 3072923, 'time' => 343, diff --git a/www/statics/euler/Euler_Problem-092.php b/www/statics/euler/Euler_Problem-092.php index a0e7ff7..5735852 100644 --- a/www/statics/euler/Euler_Problem-092.php +++ b/www/statics/euler/Euler_Problem-092.php @@ -3,13 +3,8 @@ return [ 'number' => 92, + 'date' => '2016-08-25', 'title' => 'Square digit chains', - 'description' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-092_description.md'); }, - 'code' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-092.b93'); }, - 'explanation' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-092_explanation.md'); }, - 'url_euler' => 'http://projecteuler.net/problem=092', - 'url_raw' => 'https://raw.githubusercontent.com/Mikescher/Project-Euler_Befunge/master/processed/Euler_Problem-092.b93', - 'url_github' => 'https://github.com/Mikescher/Project-Euler_Befunge', 'abbreviated' => false, 'steps' => 2959813630, 'time' => 379925, diff --git a/www/statics/euler/Euler_Problem-093.php b/www/statics/euler/Euler_Problem-093.php index ad6374d..f5a200c 100644 --- a/www/statics/euler/Euler_Problem-093.php +++ b/www/statics/euler/Euler_Problem-093.php @@ -3,13 +3,8 @@ return [ 'number' => 93, + 'date' => '2016-08-26', 'title' => 'Arithmetic expressions', - 'description' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-093_description.md'); }, - 'code' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-093.b93'); }, - 'explanation' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-093_explanation.md'); }, - 'url_euler' => 'http://projecteuler.net/problem=093', - 'url_raw' => 'https://raw.githubusercontent.com/Mikescher/Project-Euler_Befunge/master/processed/Euler_Problem-093.b93', - 'url_github' => 'https://github.com/Mikescher/Project-Euler_Befunge', 'abbreviated' => false, 'steps' => 305514916, 'time' => 42167, diff --git a/www/statics/euler/Euler_Problem-094.php b/www/statics/euler/Euler_Problem-094.php index d8643d2..4c913ad 100644 --- a/www/statics/euler/Euler_Problem-094.php +++ b/www/statics/euler/Euler_Problem-094.php @@ -3,13 +3,8 @@ return [ 'number' => 94, + 'date' => '2016-09-01', 'title' => 'Almost equilateral triangles', - 'description' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-094_description.md'); }, - 'code' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-094.b93'); }, - 'explanation' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-094_explanation.md'); }, - 'url_euler' => 'http://projecteuler.net/problem=094', - 'url_raw' => 'https://raw.githubusercontent.com/Mikescher/Project-Euler_Befunge/master/processed/Euler_Problem-094.b93', - 'url_github' => 'https://github.com/Mikescher/Project-Euler_Befunge', 'abbreviated' => false, 'steps' => 2009, 'time' => 0, diff --git a/www/statics/euler/Euler_Problem-095.php b/www/statics/euler/Euler_Problem-095.php index 88db935..44692b4 100644 --- a/www/statics/euler/Euler_Problem-095.php +++ b/www/statics/euler/Euler_Problem-095.php @@ -3,13 +3,8 @@ return [ 'number' => 95, + 'date' => '2016-09-18', 'title' => 'Amicable chains', - 'description' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-095_description.md'); }, - 'code' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-095.b93'); }, - 'explanation' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-095_explanation.md'); }, - 'url_euler' => 'http://projecteuler.net/problem=095', - 'url_raw' => 'https://raw.githubusercontent.com/Mikescher/Project-Euler_Befunge/master/processed/Euler_Problem-095.b93', - 'url_github' => 'https://github.com/Mikescher/Project-Euler_Befunge', 'abbreviated' => true, 'steps' => 1053466251, 'time' => 242737, diff --git a/www/statics/euler/Euler_Problem-096.php b/www/statics/euler/Euler_Problem-096.php index ec6ed49..cd6f270 100644 --- a/www/statics/euler/Euler_Problem-096.php +++ b/www/statics/euler/Euler_Problem-096.php @@ -3,13 +3,8 @@ return [ 'number' => 96, + 'date' => '2016-10-25', 'title' => 'Su Doku', - 'description' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-096_description.md'); }, - 'code' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-096.b93'); }, - 'explanation' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-096_explanation.md'); }, - 'url_euler' => 'http://projecteuler.net/problem=096', - 'url_raw' => 'https://raw.githubusercontent.com/Mikescher/Project-Euler_Befunge/master/processed/Euler_Problem-096.b93', - 'url_github' => 'https://github.com/Mikescher/Project-Euler_Befunge', 'abbreviated' => false, 'steps' => 583893708, 'time' => 90918, diff --git a/www/statics/euler/Euler_Problem-097.php b/www/statics/euler/Euler_Problem-097.php index c9674b2..fe075a4 100644 --- a/www/statics/euler/Euler_Problem-097.php +++ b/www/statics/euler/Euler_Problem-097.php @@ -3,13 +3,8 @@ return [ 'number' => 97, + 'date' => '2016-10-28', 'title' => 'Large non-Mersenne prime', - 'description' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-097_description.md'); }, - 'code' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-097.b93'); }, - 'explanation' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-097_explanation.md'); }, - 'url_euler' => 'http://projecteuler.net/problem=097', - 'url_raw' => 'https://raw.githubusercontent.com/Mikescher/Project-Euler_Befunge/master/processed/Euler_Problem-097.b93', - 'url_github' => 'https://github.com/Mikescher/Project-Euler_Befunge', 'abbreviated' => false, 'steps' => 164439636, 'time' => 21091, diff --git a/www/statics/euler/Euler_Problem-098.php b/www/statics/euler/Euler_Problem-098.php index 2736d63..0efaa24 100644 --- a/www/statics/euler/Euler_Problem-098.php +++ b/www/statics/euler/Euler_Problem-098.php @@ -3,13 +3,8 @@ return [ 'number' => 98, + 'date' => '2016-12-11', 'title' => 'Anagramic squares', - 'description' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-098_description.md'); }, - 'code' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-098.b93'); }, - 'explanation' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-098_explanation.md'); }, - 'url_euler' => 'http://projecteuler.net/problem=098', - 'url_raw' => 'https://raw.githubusercontent.com/Mikescher/Project-Euler_Befunge/master/processed/Euler_Problem-098.b93', - 'url_github' => 'https://github.com/Mikescher/Project-Euler_Befunge', 'abbreviated' => true, 'steps' => 145592567, 'time' => 22714, diff --git a/www/statics/euler/Euler_Problem-099.php b/www/statics/euler/Euler_Problem-099.php index 3062a9e..39c2e61 100644 --- a/www/statics/euler/Euler_Problem-099.php +++ b/www/statics/euler/Euler_Problem-099.php @@ -3,13 +3,8 @@ return [ 'number' => 99, + 'date' => '2017-01-13', 'title' => 'Largest exponential', - 'description' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-099_description.md'); }, - 'code' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-099.b93'); }, - 'explanation' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-099_explanation.md'); }, - 'url_euler' => 'http://projecteuler.net/problem=099', - 'url_raw' => 'https://raw.githubusercontent.com/Mikescher/Project-Euler_Befunge/master/processed/Euler_Problem-099.b93', - 'url_github' => 'https://github.com/Mikescher/Project-Euler_Befunge', 'abbreviated' => true, 'steps' => 5072021, 'time' => 1107, diff --git a/www/statics/euler/Euler_Problem-100.php b/www/statics/euler/Euler_Problem-100.php index e2000a1..7506de5 100644 --- a/www/statics/euler/Euler_Problem-100.php +++ b/www/statics/euler/Euler_Problem-100.php @@ -3,13 +3,8 @@ return [ 'number' => 100, + 'date' => '2017-05-03', 'title' => 'Arranged probability', - 'description' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-100_description.md'); }, - 'code' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-100.b93'); }, - 'explanation' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-100_explanation.md'); }, - 'url_euler' => 'http://projecteuler.net/problem=100', - 'url_raw' => 'https://raw.githubusercontent.com/Mikescher/Project-Euler_Befunge/master/processed/Euler_Problem-100.b93', - 'url_github' => 'https://github.com/Mikescher/Project-Euler_Befunge', 'abbreviated' => false, 'steps' => 1649, 'time' => 0, diff --git a/www/statics/euler/Euler_Problem-101.php b/www/statics/euler/Euler_Problem-101.php index 6d2960c..fc5e8a3 100644 --- a/www/statics/euler/Euler_Problem-101.php +++ b/www/statics/euler/Euler_Problem-101.php @@ -3,13 +3,8 @@ return [ 'number' => 101, + 'date' => '2017-11-19', 'title' => 'Optimum polynomial', - 'description' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-101_description.md'); }, - 'code' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-101.b93'); }, - 'explanation' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-101_explanation.md'); }, - 'url_euler' => 'http://projecteuler.net/problem=101', - 'url_raw' => 'https://raw.githubusercontent.com/Mikescher/Project-Euler_Befunge/master/processed/Euler_Problem-101.b93', - 'url_github' => 'https://github.com/Mikescher/Project-Euler_Befunge', 'abbreviated' => false, 'steps' => 1825656, 'time' => 250, diff --git a/www/statics/euler/Euler_Problem-102.php b/www/statics/euler/Euler_Problem-102.php index 69e549f..031417a 100644 --- a/www/statics/euler/Euler_Problem-102.php +++ b/www/statics/euler/Euler_Problem-102.php @@ -3,13 +3,8 @@ return [ 'number' => 102, + 'date' => '2017-11-20', 'title' => 'Triangle containment', - 'description' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-102_description.md'); }, - 'code' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-102.b93'); }, - 'explanation' => function(){ return file_get_contents(__DIR__ . '/Euler_Problem-102_explanation.md'); }, - 'url_euler' => 'http://projecteuler.net/problem=102', - 'url_raw' => 'https://raw.githubusercontent.com/Mikescher/Project-Euler_Befunge/master/processed/Euler_Problem-102.b93', - 'url_github' => 'https://github.com/Mikescher/Project-Euler_Befunge', 'abbreviated' => true, 'steps' => 1995449, 'time' => 281,