kalisjoshua / euler Goto Github PK
View Code? Open in Web Editor NEWProject Euler solutions; they ask people not publish their answers but I want to be able to look at and share my solutions.
Project Euler solutions; they ask people not publish their answers but I want to be able to look at and share my solutions.
Now that PHP is included in the project we should be consistent and have a Makefile target to execute those solutions the same as the JavaScript and Haskell.
26 seconds is an eternity. Must fix.
If we have a common output format for all solutions then parsing or otherwise using the result of a solution attempt will be easier.
I added an assets folder for things like the names.txt file used in Problem 22. Let's use that instead of cramming it into the solution code.
If possible in a reasonable amount of effort we need to get fsharp to comply with the rest of the languages in being able to be run from the command line and through the Makefile.
$ make fsharp 001
PHP - Project Euler Problem 010
PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 72 bytes) in /Users/jkalis/Pro/github/euler/php/euler010.php on line 40
PHP Stack trace:
PHP 1. {main}() /Users/jkalis/Pro/github/euler/php/euler010.php:0
PHP 2. array_fill() /Users/jkalis/Pro/github/euler/php/euler010.php:40
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 72 bytes) in /Users/jkalis/Pro/github/euler/php/euler010.php on line 40
Call Stack:
0.0005 233360 1. {main}() /Users/jkalis/Pro/github/euler/php/euler010.php:0
0.0008 237080 2. array_fill() /Users/jkalis/Pro/github/euler/php/euler010.php:40
make: *** [php] Error 255
PHP - Project Euler Problem 014
PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 650 bytes) in /Users/jkalis/Pro/github/euler/php/euler014.php on line 45
PHP Stack trace:
PHP 1. {main}() /Users/jkalis/Pro/github/euler/php/euler014.php:0
PHP 2. genChain() /Users/jkalis/Pro/github/euler/php/euler014.php:64
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 650 bytes) in /Users/jkalis/Pro/github/euler/php/euler014.php on line 45
Call Stack:
0.0005 236056 1. {main}() /Users/jkalis/Pro/github/euler/php/euler014.php:0
2.7210 133290424 2. genChain() /Users/jkalis/Pro/github/euler/php/euler014.php:64
make: *** [php] Error 255
PHP - Project Euler Problem 014
PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 650 bytes) in /Users/jkalis/Pro/github/euler/php/euler014.php on line 45
PHP Stack trace:
PHP 1. {main}() /Users/jkalis/Pro/github/euler/php/euler014.php:0
PHP 2. genChain() /Users/jkalis/Pro/github/euler/php/euler014.php:66
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 650 bytes) in /Users/jkalis/Pro/github/euler/php/euler014.php on line 45
Call Stack:
0.0005 236632 1. {main}() /Users/jkalis/Pro/github/euler/php/euler014.php:0
2.4592 133287440 2. genChain() /Users/jkalis/Pro/github/euler/php/euler014.php:66
make: *** [php] Error 255
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.