Advertisement
Guest User

Child Example

a guest
Jun 22nd, 2017
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3.  
  4. int timeWastingFunction (long long n) {
  5.     if ((n % 2) == 0) {
  6.         return 1;
  7.     }
  8.     for (int i = 1; i < (n / 2); i += 2) {
  9.         if ((n % i) == 0) {
  10.             return 1;
  11.         }
  12.     }
  13.     return 0;
  14. }
  15.  
  16. int main (void) {
  17.     int start = 687217000;
  18.    
  19.     while (start--) {
  20.         timeWastingFunction(start);
  21.     }
  22.     fprintf(stdout, "Hello!");
  23.     return 0;
  24. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement