Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <bits/stdc++.h>
- //#include<iostream>
- //using namespace std;
- int main()
- {
- //ios::sync_with_stdio(0);
- //cin.tie(0);
- long long n = 1;
- long long k = 0;
- //scanf("%lld %d", &n, &k );
- while (k <50)
- {
- printf("%lld ", n); //0.017
- //cout<<n<<" "; //0.025, fastcout == 0.15
- n*=2;
- k++;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment