donplehanov

fastoutput

May 24th, 2019
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.35 KB | None | 0 0
  1. #include <bits/stdc++.h>
  2. //#include<iostream>
  3. //using namespace std;
  4.  
  5. int main()
  6. {
  7.     //ios::sync_with_stdio(0);
  8.     //cin.tie(0);
  9.     long long n = 1;
  10.     long long k = 0;
  11.     //scanf("%lld %d", &n, &k );
  12.     while (k  <50)
  13.     {
  14.         printf("%lld ", n); //0.017
  15.         //cout<<n<<" ";  //0.025, fastcout == 0.15
  16.         n*=2;
  17.         k++;
  18.     }
  19. }
Advertisement
Add Comment
Please, Sign In to add comment