結果

問題 No.8047 Riddle of Cards
ユーザー 👑 obakyan
提出日時 2019-04-01 22:32:03
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 349 bytes
コンパイル時間 495 ms
コンパイル使用メモリ 71,596 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-11-27 03:27:55
合計ジャッジ時間 907 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other AC * 6 WA * 1
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <cstdio>
#include <cstdlib>
#include <cstddef>
#include <vector>
#include <algorithm>
#include <cmath>
#include <string>
#include <iostream>
#include <iomanip>

int main(void)
{
	long a, b;
	std::cin >> a >> b;
    long res = 1;
    for(long i = 0; i < a; i++){
        res = res * b;
    }
    std::cout << res << std::endl;
	return 0;
}

0