Advertisement
ismail5g

Summer Solution

Mar 24th, 2018
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.33 KB | None | 0 0
  1. #include<stdio.h>
  2. int main()
  3. {
  4.     int t, n;
  5.     scanf("%d", &t);
  6.     while(t--){
  7.         scanf("%d", &n);
  8.         n=n-(n-((n/2)-1));
  9.         n=n-(n-((n/2)-1));
  10.         n=n-(n-((n/2)-1));
  11.         if(n==1)
  12.             printf("Greetings from Hablu\n");
  13.         else
  14.             printf("GoodBye\n");
  15.     }
  16.     return 0;
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement