Find top-n integers in a file, written in Nim
Requires Nim 0.10.3 or greater
Install required libraries:
nimble install random strfmt@#devel
Usage:
nim c -d:release topn.nim
./topn -n=<topn> -i=<filename>
Generate random numbers:
nim c -d:release gen_data.nim
./gen_data