Skip to content

Latest commit

 

History

History
18 lines (11 loc) · 309 Bytes

README.md

File metadata and controls

18 lines (11 loc) · 309 Bytes

nim-topn

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