Бодолт илгээх | Бүх бодолтууд | Шилдэг бодолтууд | Жагсаалт руу буцах |
RGB7208 - 2-ын n зэрэг |
2-ын өгөгдсөн тоон зэргийг ол. /2-ын n зэрэг гэдэг нь 2*2*...*2. Жишээ нь 2-ын 3 зэрэг 2*2*2=8 /
Input
Int төрлийн нэг тоо өгөгдөнө. Тэр тоо нь 2-ыг хэдэн удаа үржүүлэхийг заана.
Output
2-ын өгөгдсөн тоон зэрэг.
Example
Input:
5
Output:
32
Нэмсэн: | Bataa |
Огноо: | 2011-06-13 |
Хугацааны хязгаарлалт: | 0.206s |
Эх кодын хэмжээний хязгаарлалт: | 50000B |
Memory limit: | 1536MB |
Cluster: | Cube (Intel G860) |
Програмчлалын хэлүүд: | ADA95 ASM32 BASH BF C NCSHARP CSHARP C++ 4.3.2 CPP C99 CLPS LISP sbcl LISP clisp D ERL FORTRAN HASK ICON ICK JAVA JS-RHINO JULIA LUA NEM NICE OCAML PAS-GPC PAS-FPC PERL PHP PIKE PRLG-swi PYTHON PYPY3 PYTHON3 RUBY SCALA SCM guile ST TCL WHITESPACE |
hide comments
|
|||||||||
2023-02-02 13:33:34
n = int(input()) print(2 ** n) Delgerekh** |
|||||||||
2022-12-22 15:37:39
Zya aheogo bolon nakadashi Last edit: 2022-12-22 15:37:57 |
|||||||||
2022-11-25 03:03:49
fuck you rick astley |
|||||||||
2022-11-14 03:53:06
I don't want a lot for Christmas There is just one thing I need I don't care about the presents Underneath the Christmas tree I just want you for my own More than you could ever know Make my wish come true All I want for Christmas is you, yeah I don't want a lot for Christmas There is just one thing I need And I don't care about the presents Underneath the Christmas tree I don't need to hang my stocking There upon the fireplace Santa Claus won't make me happy With a toy on Christmas Day I just want you for my own More than you could ever know Make my wish come true All I want for Christmas is you You, baby Oh, I won't ask for much this Christmas I won't even wish for snow And I'm just gonna keep on waiting Underneath the mistletoe I won't make a list and send it To the North Pole for Saint Nick I won't even stay awake to Hear those magic reindeer click 'Cause I just want you here tonight Holding on to me so tight What more can I do? Baby, all I want for Christmas is you You, baby Oh, all the lights are shining so brightly everywhere And the sound of children's laughter fills the air And everyone is singing I hear those sleigh bells ringing Santa, won't you bring me the one I really need? Won't you please bring my baby to me? Oh, I don't want a lot for Christmas This is all I'm asking for I just wanna see my baby Standing right outside my door Oh, I just want you for my own More than you could ever know Make my wish come true Baby, all I want for Christmas is you You, baby All I want for Christmas is you, baby [repeat with ad-libs until fade] |
|||||||||
2022-11-14 03:52:12
sain bnu mongolcuudaaaa |
|||||||||
2022-11-14 03:51:49
ksksdssg |
|||||||||
2022-10-18 08:50:18
mergeen uuniig hull #include <iostream> using namespace std; main(){ int a,b,c,d,h,i,n,s; cin>>n; s=1; for(i=1;i<=n;i++) s=s*2; cout<<s; } #include <iostream> using namespace std; main(){ int a,b,c,d,h,i,n,s; cin>>n; s=1; for(i=1;i<=n;i++) s=s*2; cout<<s; } |
|||||||||
2022-10-13 04:05:51
#include<stdio.h> int main() { int l=2, k, n, i; scanf("%d", &n); for(i=1; i<n; i++) {l=l*2;} printf("%d",l); return 0; } |
|||||||||
2022-10-13 03:55:04
#include<stdio.h> int main() { int l=2, k, n, i; scanf("%d", &n); for(i=1; i<n; i++) {l=l*2;} printf("%d",l); return 0; } |
|||||||||
2022-10-13 03:38:02
We're no strangers to love You know the rules and so do I (do I) A full commitment's what I'm thinking of You wouldn't get this from any other guy I just wanna tell you how I'm feeling Gotta make you understand Never gonna give you up Never gonna let you down Never gonna run around and desert you Never gonna make you cry Never gonna say goodbye Never gonna tell a lie and hurt you We've known each other for so long Your heart's been aching, but you're too shy to say it (say it) Inside, we both know what's been going on (going on) We know the game and we're gonna play it And if you ask me how I'm feeling Don't tell me you're too blind to see Never gonna give you up Never gonna let you down Never gonna run around and desert you Never gonna make you cry Never gonna say goodbye Never gonna tell a lie and hurt you Never gonna give you up Never gonna let you down Never gonna run around and desert you Never gonna make you cry Never gonna say goodbye Never gonna tell a lie and hurt you We've known each other for so long Your heart's been aching, but you're too shy to say it (to say it) Inside, we both know what's been going on (going on) We know the game and we're gonna play it I just wanna tell you how I'm feeling Gotta make you understand Never gonna give you up Never gonna let you down Never gonna run around and desert you Never gonna make you cry Never gonna say goodbye Never gonna tell a lie and hurt you Never gonna give you up Never gonna let you down Never gonna run around and desert you Never gonna make you cry Never gonna say goodbye Never gonna tell a lie and hurt you Never gonna give you up Never gonna let you down Never gonna run around and desert you Never gonna make you cry Never gonna say goodbye Never gonna tell a lie and hurt you 2022-07-14 22:42:34 ha 2022-06-30 05:44:36 caught 4k 2022-05-06 06:42:49 a=int(input()) b=1 c=1 for c in range(1,a+1,1): b=b*2 print(b) sansar suga ala mai 2022-05-06 05:56:46 tgd tusalval tuslachde 2022-05-02 08:49:02 a=int(input()) b=1 c=1 for c in range(1,a+1,1): b=b*2 print(b) rgb7208 aluda zl psta \ v dffg gb v v v v v v v v v 2022-04-01 03:31:53 lots of love to kai kamal huening 2022-03-24 09:56:45 #include<stdio.h> int main() { int l=2, k, n, i; scanf("%d", &n); for(i=1; i<n; i++) {l=l*2;} printf("%d",l); return 0; } HENTII GANGGG PUKA 2022-03-15 08:33:57 eegii suga 2022-02-10 12:49:13 #include<stdio.h> int main() { int a,b=2; scanf("%d",&a); while(a>1) { b=b*2; --a;} printf("%d\n",b); return 0; } |