SHARE
TWEET

Untitled

a guest Oct 21st, 2019 59 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <stdlib.h>
  2. #include <stdio.h>
  3. #include <stdbool.h>
  4.  
  5. int main()
  6. {
  7.    int arr[100000];
  8.    arr[0] = 0;
  9.    for (int i = 1; i < 100000; ++i)
  10.    {
  11.       arr[i] = arr[i - 1] + 3;
  12.    }
  13.  
  14.    for (int i = 0; i < 100000; ++i)
  15.    {
  16.       if (!(arr[i] & 7))
  17.       {
  18.          printf_s("%d\n", arr[i]);
  19.       }
  20.       else
  21.       {
  22.          printf_s("Not a divider!\t");
  23.       }
  24.    }
  25.    printf_s("Program is done.");
  26.    getchar();
  27. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top