結果

問題 No.3047 Riddle of Cards
ユーザー CuriousFairy315CuriousFairy315
提出日時 2019-04-01 22:19:33
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 27 ms / 2,000 ms
コード長 387 bytes
コンパイル時間 77 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 10,752 KB
最終ジャッジ日時 2024-05-05 08:09:06
合計ジャッジ時間 808 ms
ジャッジサーバーID
(参考情報)
judge5 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 25 ms
10,624 KB
testcase_01 AC 25 ms
10,752 KB
testcase_02 AC 26 ms
10,624 KB
testcase_03 AC 26 ms
10,624 KB
testcase_04 AC 27 ms
10,624 KB
testcase_05 AC 26 ms
10,752 KB
testcase_06 AC 27 ms
10,624 KB
testcase_07 AC 26 ms
10,752 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N, M = map(int, input().split())
print(pow(M, N))
# 問題文
# There are N cards on the table.
# Each cards are numbered from 1 to N.
# Mr.yuki should write an integer, which is no less than 1 and on more than M, on each cards.
# How many ways to write?
# 制約
# N, M are intgers between 1 and 61.
# 出力
# Output the answer in single line.
# ということで、pow(M, N)が答え
0