mhdew

1169

Jan 8th, 2018
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <math.h>
  3.  
  4. int main(){
  5. int n, x, i;
  6.  
  7. scanf("%d", &n);
  8. for(i = 0; i < n; i++){
  9. scanf("%d", &x);
  10. printf("%lld kg\n", (long long)(pow(2,x)/12000));
  11. }
  12.  
  13. return 0;
  14. }
Add Comment
Please, Sign In to add comment