- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
#include <iostream>
using namespace std;
int main(){
int n = 60;
int a = 1 << n;
cout << a << endl;
n = 33;
a = 1 << n;
cout << a << endl;
unsigned m = 33;
unsigned b = 1u << m;
cout << b << endl;
// a = 1 << 32;
// cout << a << endl;
return 0;
}
1024-- 17.03.2016 20:04 # +2
guest 18.03.2016 03:03 # 0
guest 19.03.2016 18:09 # 0