waltermilner

Untitled

Mar 20th, 2016
209
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.30 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <math.h>
  3.  
  4.  
  5.  
  6.  
  7. int main()
  8. {
  9.     for (int x=1; x<10000; x++)
  10.         for (int y=1; y<10000; y++)
  11.         {
  12.             if (3109+ pow(2,y) == pow(x,5) && (pow(4,x)+pow(y,3) == 1088))
  13.                 printf("x = %d and y = %d\n",x,y);
  14.         }
  15.  
  16.     return 0;
  17.  
  18. }
Advertisement
Add Comment
Please, Sign In to add comment