| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 109278 | 爱新觉罗·赵文卿·传统美德 | 快速幂运算 | C++ | Accepted | 100 | 0 MS | 240 KB | 227 | 2023-11-08 13:19:49 |
#include<bits/stdc++.h> using namespace std; #define int long long int n,m; signed main(){ cin>>n>>m; if(n==1||n==0) cout<<n<<endl; else{ int ans=1; for(int i=1;i<=m;i++) ans*=n; cout<<ans; } return 0; }