Commit Graph

16 Commits

Author SHA1 Message Date
nortega 9d84ce14b2 Added comments documenting code conditionals. 2021-05-07 17:36:38 +02:00
nortega 202c289d47 Refractored code to handle import files better. 2021-05-05 18:17:37 +02:00
nortega 76275660e3 Removed unnecessary variables. 2021-03-04 12:50:25 +01:00
nortega c68d75cb8c Add help information to --help option. 2021-03-03 13:24:53 +01:00
nortega 196f7b9ca9 Change name of argument for -i option. 2021-03-03 12:57:46 +01:00
nortega 6f3324e624 Add feature for imports. 2021-03-03 11:41:52 +01:00
nortega c10c79dcfd Removed unnecessary comments for old argument parsing. 2021-03-03 11:18:52 +01:00
nortega 4e83d73810 Changed options structure and added verbose option. 2021-03-02 18:09:24 +01:00
nortega 343a89e89f Switch to tabs (not spaces).
Stupid default options for NeoVim think it's a good idea to switch my
indentation type without asking me.
2021-03-01 19:40:02 +01:00
nortega 3f089ad0a4 Better iteration over elements. 2021-03-01 19:21:35 +01:00
nortega 7a755f7b05 Fixed bug. 2021-03-01 18:51:53 +01:00
nortega e8d4a876ef Added license. 2021-03-01 16:18:13 +01:00
nortega 9defe837e8 Use a vector to store known primes. 2021-03-01 16:12:23 +01:00
nortega 5538ac7515 Optimize the algorithm 2021-02-26 18:27:16 +01:00
nortega eb4405e1c3 Basic prime number calculation. 2021-02-26 18:22:20 +01:00
nortega 01f3f6ddf6 Initial commit. 2021-02-26 17:58:58 +01:00