Woops had a erroneous function in problem 066
This commit is contained in:
@@ -45,18 +45,6 @@ int gcd(int a, int b, int c){
|
||||
return gcd(a, gcd(b, c));
|
||||
}
|
||||
|
||||
int p(int n, int p0, int p1){
|
||||
if(n == 0){
|
||||
return p0;
|
||||
} else if(n == 1){
|
||||
return p1;
|
||||
} else if(n > 1){
|
||||
return
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Code yanked from problem 64
|
||||
vector<int> findCF(int n){
|
||||
float x = sqrt((float)n);
|
||||
|
||||
Reference in New Issue
Block a user