problem 10 done, and problem 7 rewritten (new is_prime algorithm)
This commit is contained in:
parent
8498165fef
commit
2ba8a8aaeb
4 changed files with 64 additions and 36 deletions
10
lib/prime.h
Normal file
10
lib/prime.h
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
|
||||
#ifndef __PRIME_H
|
||||
|
||||
#define __PRIME_H
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
int is_prime(uint32_t p);
|
||||
|
||||
#endif /* __PRIME_H */
|
||||
Loading…
Add table
Add a link
Reference in a new issue