summaryrefslogtreecommitdiff
path: root/p7/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'p7/main.c')
-rw-r--r--p7/main.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/p7/main.c b/p7/main.c
new file mode 100644
index 0000000..ef215ed
--- /dev/null
+++ b/p7/main.c
@@ -0,0 +1,11 @@
+#include <stdio.h>
+#include <stdlib.h>
+#include <math.h>
+
+#include "primes_1000000.h"
+
+int main(int argc, char **argv)
+{
+ printf("%ld\n", prime_table[10000]);
+ return 0;
+} \ No newline at end of file