diff options
author | mjfernez <mjfernez@gmail.com> | 2020-02-09 15:43:30 -0500 |
---|---|---|
committer | mjfernez <mjfernez@gmail.com> | 2020-02-09 15:43:30 -0500 |
commit | c9a6a1b8a3ec380adaf74f0ce8d650e97e38f474 (patch) | |
tree | b1baaa8a1ffd000624a4a349f177a55b4a3ccbbb /reworking | |
parent | 4009c876bb8f942e1a52429061b46cc34bf7bf16 (diff) | |
download | Project_Euler_Solutions-c9a6a1b8a3ec380adaf74f0ce8d650e97e38f474.tar.gz |
added Power Digit Sum solution in C
Diffstat (limited to 'reworking')
-rw-r--r-- | reworking/WARNING | 1 | ||||
-rw-r--r-- | reworking/sumexp.c | 15 |
2 files changed, 1 insertions, 15 deletions
diff --git a/reworking/WARNING b/reworking/WARNING new file mode 100644 index 0000000..5ddb825 --- /dev/null +++ b/reworking/WARNING @@ -0,0 +1 @@ +The code here doesn't work. Please don't expect it to. diff --git a/reworking/sumexp.c b/reworking/sumexp.c deleted file mode 100644 index 8078909..0000000 --- a/reworking/sumexp.c +++ /dev/null @@ -1,15 +0,0 @@ -#include <stdio.h> -#include <stdlib.h> -#include <gmp.h> - -// Compile Notes: use `gcc <program>.c -lgmp` - -mpz_t num; - -int main(){ - - // From docs, this assigns num the value of (op1*2) ^ op2 - mpz_mul_2exp(num, ) - return 0; -} - |