結果

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

ソースコード

diff #

#include "bits/stdc++.h"

using namespace std;

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

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