commit d43303ce4aaa5e21c99deaec2aa0fcde213aad75
parent a3f7899c0e8ecd1ecd3a031c921e64939cb47c44
Author: dwrz <dwrz@dwrz.net>
Date: Mon, 22 Apr 2019 01:16:56 +0000
Remove grains/validSquare
Diffstat:
1 file changed, 0 insertions(+), 5 deletions(-)
diff --git a/c/grains/src/grains.c b/c/grains/src/grains.c
@@ -1,10 +1,5 @@
#include "grains.h"
-static int validSquare(int n) {
- if (n >= 1 && n <= 64) return 1;
- return 0;
-}
-
unsigned long long square(int n) {
if (!validSquare(n)) return 0;
if (n == 1) return 1;