Advertisement
PGhosh

Problem

Apr 7th, 2014
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.34 KB | None | 0 0
  1. #include <stdio.h>
  2.  
  3. int main()
  4. {
  5.     double x,y,T, sum,z,n=2;
  6.     scanf("%lf", &T);
  7.     while(T>0){
  8.         T--;
  9.         scanf("%lf %lf", &x, &y);
  10.         z=sum-(x+y);
  11.         for(n<=sum ; n++;){
  12.         while(sum%sum==0 && sum/1==sum && sum%n !=0){
  13.                 printf("%lf", z);
  14.         }
  15.         }
  16.  
  17.     }
  18.     return 0;
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement