結果

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

ソースコード

diff #

#include <iostream>
#include <vector>
#include <map>
#include <set>
#include <queue>
#include <string>
#include <iomanip>
#include <algorithm>
#include <cmath>
#include <stdio.h>
using namespace std;
#define int long long
int MOD = 1000000007;
signed main() {
	cin.tie(0);
	ios::sync_with_stdio(false);
	int N, M;
	cin >> N >> M;
	int res = 1;
	for (int i = 0; i < N; i++) {
		res *= M;
	}

	cout << res << endl;
}
0