2 solutions
- 1
Information
- ID
- 6878
- Time
- 1000ms
- Memory
- 128MiB
- Difficulty
- 1
- Tags
- # Submissions
- 11
- Accepted
- 7
- Uploaded By
#include<bits/stdc++.h>
#define ll long long
using namespace std;
int main(){
ll a, n = 1;
cin >> a;
for(int i = 0; i < a; i++){
n *= 2;
}
cout << n;
return 0;
}
By signing up a ZXOJ universal account, you can submit code and join discussions in all online judging services provided by us.