Advertisement
rahat62

Toph-Mount Everest

Jan 31st, 2019
244
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.18 KB | None | 0 0
  1. #include<stdio.h>
  2. int main()
  3. {
  4.     int n,i,h,b,t=8848;
  5.     scanf("%d",&n);
  6.     for(i=0;i<n;i++)
  7.     {
  8.         scanf("%d",&h);
  9.         b=t-h;
  10.         printf("%d\n",b);
  11.     }
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement