Skip to content

Lonartie/tt_fb_primes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Trainee tasks - find bug - primes

Your task is to find all bugs in this code.
Try to find as many bugs as you can.
Minimize your changes, no rewrites necessary.
And keep an eye on code style and potential memory issues!

Requirements:

  • You are only allowed to change the code in the PrimeVector class (header + source file)

Expected output:
2
3
5
7
11
13
17
19
23
29
31

Happy coding!