History

README.md created

enzu.ru committed 7 years ago

Commit 3f33dbd1 parent 4a29b331 file · +11 −0Browse files

Unified · Split

README.md+11−0
@@ -0,0 +1,11 @@
1+# euler
2+
3+These are answers for [Project Euler](https://projecteuler.net/) mathematical problems in the [Plan 9](https://en.wikipedia.org/wiki/Plan_9_from_Bell_Labs) dialect of C.
4+
5+I have written these using the [9front](http://9front.org/) OS, but there is no reason that they shouldn't compile on vanilla Plan 9 or [Plan 9 from User Space](https://9fans.github.io/plan9port/).
6+
7+The original math problem's wording is on the top of each `.c` file as a comment.
8+
9+I abuse `u64int` where it is not needed because I'm not very concerned with picking optimal data types for numbers in such small programs.
10+
11+Running `mk` in each directory should compile an executable which determines the problem's answer. I usually test the answer's speed using the `time` command on the resulting executable.