結果

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

ソースコード

diff #

#include "bits/stdc++.h"

using namespace std;

void solve()
{
	long a, b;
	cin >> a >> b;
	string ans = to_string((long)pow(b, a));
	reverse(ans.begin(), ans.end());
	cout << ans << endl;
}

int main()
{
	solve();
	//cout << "yui(*-v・)yui" << endl;
	return 0;
}
0