Submission #37514700


Source Code Expand

#include <bits/stdc++.h>
using namespace std;
 
typedef long long int lli;

lli N = 1000000007;
//vector <vector <lli>> arr(N,);
//double eps = 1e-9;
 
void solve()
{
	lli a, b, ans;
	cin>>a>>b;
	ans=pow(a, b);
	cout<<ans;
}
 
void usaco()
{
	//freopen("diamond.in","r",stdin);
  	//freopen("diamond.out","w",stdout);
}
 
int main()
{
	ios_base::sync_with_stdio(false);
	cin.tie(NULL);
	solve();
}

Submission Info

Submission Time
Task A - Power
User Pesto
Language C++ (GCC 9.2.1)
Score 100
Code Size 425 Byte
Status AC
Exec Time 7 ms
Memory 3984 KiB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 100 / 100
Status
AC × 3
AC × 10
Set Name Test Cases
Sample example0.txt, example1.txt, example2.txt
All example0.txt, example1.txt, example2.txt, hand0.txt, hand1.txt, hand2.txt, hand3.txt, hand4.txt, max0.txt, min0.txt
Case Name Status Exec Time Memory
example0.txt AC 6 ms 3984 KiB
example1.txt AC 7 ms 3828 KiB
example2.txt AC 4 ms 3476 KiB
hand0.txt AC 3 ms 3760 KiB
hand1.txt AC 2 ms 3484 KiB
hand2.txt AC 2 ms 3820 KiB
hand3.txt AC 3 ms 3932 KiB
hand4.txt AC 3 ms 3832 KiB
max0.txt AC 3 ms 3828 KiB
min0.txt AC 3 ms 3432 KiB