Problem hidden
|This problem was hidden by Editorial Board member probably because it has incorrect language|version or invalid test data, or description of the problem is not clear.|

RGB7209 - a тооны n зэрэг

Өгөгдсөн тооны n зэргийг ол.

Input

Нэг мөрөнд Int төрлийн эерэг 2  тоо зайгаар тусгаарлагдан өгөгдөнө.

Output

an

Example

Input:
3 4

Output:
81

Нэмсэн:Bataa
Огноо:2011-06-16
Хугацааны хязгаарлалт:1s
Эх кодын хэмжээний хязгаарлалт: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-08-09 07:26:59
#include <iostream>
#include <cmath>
using namespace std;
int main(){
int a,i,s,n;
cin >>a>>n;
s=1;
for(i=1; i<=n; i++){
s=s*a;
}
cout<<s;
}
2023-07-23 06:04:36
#include<stdio.h>

main(){

int a,b,c=1;

scanf("%d%d",&a,&b);

while(b!=0){
c=c*a;
--b;
}
printf("%d",c);
}

//ogogdson toonii zeregiig ol: gej bn teguul eniig ingej oilgon
//neg morond int torliin ereg 2 too zaigaar tusgaarlagdsan ogogdon gej baiwal

//jisheen 3 4 ba gej baiwal tegsh toon medeej 4 teguul a,b gej huwiarlwal b-een tegsh too bolj bgaa biz tegsh toonii dood dun medeej 0
//teguul a-aan 3 yum bol while dotor b-tei tentsehiig bichne harin urjwer deer medeej ehend while daraa bicheegui useg bol a teguul a urjwert oruulhan bn jishee bodii
//a urjhen 1 medeej 3*1=3-L garna while ooroo nemeed yawdag garsan 3iig chin 4t urjin niit hariu 21 garna garsan hariug dahiad 3 urjin geh jisheeniii
2023-03-23 10:05:44
come moon goat coding
2023-03-16 15:45:48
#include <stdio.h>
int main(){

int a, n, i = 1;
scanf("%d %d", &a, &n);

while(n!= 0){
i *= a;
--n;
}
printf("%d", i);
return 0;

} copy<3
2023-03-13 08:30:20


Last edit: 2023-03-13 08:31:32
2022-12-22 15:40:32
Zyag bi huuhdetei bolgono
2022-12-12 04:37:37
siu
2022-11-18 01:49:40
Last Christmas I gave you my heart
But the very next day you gave it away
This year, to save me from tears
I'll give it to someone special
Last Christmas I gave you my heart
But the very next day you gave it away
This year, to save me from tears
I'll give it to someone special
Once bitten and twice shy
I keep my distance, but you still catch my eye
Tell me baby, do you recognize me?
Well, it's been a year, it doesn't surprise me
Happy Christmas, I wrapped it up and sent it
With a note saying "I love you", I meant it
Now I know what a fool I've been
But if you kissed me now, I know you'd fool me again
Last Christmas I gave you my heart
But the very next day you gave it away
This year, to save me from tears
I'll give it to someone special
Last Christmas I gave you my heart
But the very next day you gave it away
This year, to save me from tears
I'll give it to someone special
Ooh
Oh, oh, baby
A crowded room, friends with tired eyes
I'm hiding from you and your soul of ice
My God, I thought you were someone to rely on
Me? I guess I was a shoulder to cry on
A face on a lover with a fire in his heart
A man under cover, but you tore me apart
Oh, oh now I've found a real love
You'll never fool me again
Last Christmas I gave you my heart
But the very next day you gave it away
This year, to save me from tears
I'll give it to someone special, special
Last Christmas I gave you my heart
But the very next day you gave it away
This year, to save me from tears
I'll give it to someone special
Special
A face on a lover with a fire in his heart (I gave you mine)
A man under cover but you tore him apart
Maybe next year I'll give it to someone
I'll give it to someone special
Special
So long
2022-11-14 03:53:29
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-09 02:15:28

int main(){
int a,n,i,m,k;
cin>>a>>n;
k=a;
for(i=1; i<=n; i++)
k=k*a;
m=k/a;
cout<<m<<endl;
return 0;
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.