Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<iostream>
- using namespace std;
- int main()
- {
- int a, b;
- cin >> a >> b;
- int ans = 1;
- if(a > b)
- {
- for(int i = 0; i < (a-b); i++)
- {
- ans *= 32;
- }
- }
- else
- {
- for(int i = 0; i < (b-a); i++)
- {
- ans *= 32;
- }
- }
- cout << ans << endl;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement