Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- int timeWastingFunction (long long n) {
- if ((n % 2) == 0) {
- return 1;
- }
- for (int i = 1; i < (n / 2); i += 2) {
- if ((n % i) == 0) {
- return 1;
- }
- }
- return 0;
- }
- int main (void) {
- int start = 687217000;
- while (start--) {
- timeWastingFunction(start);
- }
- fprintf(stdout, "Hello!");
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement