Submission #37551772
Source Code Expand
#include <bits/stdc++.h>
#define ll long long
using namespace std;
//ameetea
int main(){
int a,b;cin>>a>>b;
int mul=1;
for(int i=0;i<b;i++){
mul*=a;
}
cout<<mul;
}
/*
*/
Submission Info
| Submission Time | |
|---|---|
| Task | A - Power |
| User | kev132 |
| Language | C++ (GCC 9.2.1) |
| Score | 100 |
| Code Size | 196 Byte |
| Status | AC |
| Exec Time | 7 ms |
| Memory | 3564 KiB |
Judge Result
| Set Name | Sample | All | ||||
|---|---|---|---|---|---|---|
| Score / Max Score | 0 / 0 | 100 / 100 | ||||
| Status |
|
|
| 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 | 7 ms | 3552 KiB |
| example1.txt | AC | 2 ms | 3560 KiB |
| example2.txt | AC | 2 ms | 3480 KiB |
| hand0.txt | AC | 2 ms | 3368 KiB |
| hand1.txt | AC | 2 ms | 3556 KiB |
| hand2.txt | AC | 2 ms | 3368 KiB |
| hand3.txt | AC | 2 ms | 3552 KiB |
| hand4.txt | AC | 2 ms | 3552 KiB |
| max0.txt | AC | 2 ms | 3504 KiB |
| min0.txt | AC | 2 ms | 3564 KiB |