結果

問題 No.8047 Riddle of Cards
ユーザー nicklaw296
提出日時 2019-04-01 22:56:54
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 258 bytes
コンパイル時間 1,518 ms
コンパイル使用メモリ 165,844 KB
実行使用メモリ 6,820 KB
最終ジャッジ日時 2024-11-27 03:51:46
合計ジャッジ時間 1,846 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other AC * 6 WA * 1
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<bits/stdc++.h>
using namespace std;

using i64 = int64_t;

i64 power(i64 n, i64 m){
    i64 res = 1;
    for(int i=0;i<m;++i)res *= n;
    return res;
}

int main(){
    i64 n, m;
    cin >> n >> m;
    cout << power(m, n) << endl;

    return 0;
}
0