Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*******************************************************************************\
- |*********S*** ****** ************* ************* ************** * ******|
- |*********** ******** ************ ************ *********** ** ******|
- |********* ********** *********** *** *********** * ********* *** ******|
- |******** *********** *I******** **** ********** *** ***** ***** ******|
- |******** *********** ********* ****** ********* ***** ** ****** ******|
- |********** ********* ******** ***A**** ******** ******* ******** ******|
- |*********** ******** ******* ********** ******* ***************** ******|
- |********** ********* ****** ************ ****** ***************** ******|
- |******** *********** ***** ************** ***** ********M******** ******|
- |***** ************** **** **************** **** ***************** ******|
- |*******************************************************************************|
- |**************BSMRSTU********************************CSE***********************|
- \*******************************************************************************/
- #include<stdio.h>
- #include<string.h>
- #include<math.h>
- #include<conio.h>
- #include<stdlib.h>
- #define ll long long
- #define B break
- #define C continue
- #define sf scanf
- #define pf printf
- #define byebye return 0
- int main()
- {
- ll i,x,a,b,c[100];
- sf("%lld",&b);
- if(b<0)
- byebye;
- if(b>=0 && b<13)
- {
- x=1<<b;
- pf("%lld",x);
- byebye;
- }
- a=pow(2,13)-100;
- for(i=13; i<=40; i++)
- {
- c[i]=a;
- a=a*2;
- }
- pf("%lld",c[b]);
- byebye;
- }
Advertisement
Add Comment
Please, Sign In to add comment