An open API service indexing awesome lists of open source software.

https://github.com/seungwonpark/projecteuler

My solutions to ProjectEuler
https://github.com/seungwonpark/projecteuler

problem-solving projecteuler

Last synced: 3 months ago
JSON representation

My solutions to ProjectEuler

Awesome Lists containing this project

README

        

# ProjectEuler

My solution to [ProjectEuler](https://projecteuler.net/)

I think it is good way to learn new language!

- Languages : C++, Python, **TeX**, PHP, Javascript

----------

## Basic Instructions for Novices

### Editor

I recommend [Notepad++](https://notepad-plus-plus.org)

### Compiling C++

* Install [MinGW](http://mingw.org/)
* Add MinGW to path. [Instruction](https://kr.mathworks.com/matlabcentral/answers/94933-how-do-i-set-my-system-path-under-windows?requestedDomain=www.mathworks.com)
* Go to directory where source file exists. Same for all languages.
* `g++ -Wall xxx.cpp -o xxx` will create xxx.exe
* `xxx`

### Interpreting Python

* Install python. Don't forget to add python to path, too!
* `python xxx.py`

### Compiling TeX

* Download latest [TeXlive](https://www.tug.org/texlive/acquire-iso.html) via torrent [Guide in Korean](https://github.com/gshslatexintro/An-Introduction-to-LaTeX/blob/master/Installation.md)
* To install TeXlive, unzip the iso file and execute `install-tl-windows.bat`
* `pdflatex xxx.tex`

### Interpreting PHP (locally)

* Install [MAMP](https://www.mamp.info)
* Execute MAMP
* Preferences - Web Server - Document root (Select)
* Go to localhost:xx/xxx.php at your web browser

### Interpreting Javascript (locally)

* Install [Node.js](https://nodejs.org)
* `node xxx.js`