Algorithms_in_C 1.0.0
Set of algorithms implemented in C.
|
Problem 5 solution - Naive algorithm (slowest) More...
#include <stdio.h>
#include <stdlib.h>
Functions | |
static char | check_number (unsigned long long n) |
Pretty naive implementation. More... | |
int | main (void) |
Main function. More... | |
Problem 5 solution - Naive algorithm (slowest)
|
static |
Pretty naive implementation.
Just checks every number if it's devisable by 1 through 20
n | number to check |
int main | ( | void | ) |
Main function.