結果

問題 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  
実行時間 16 ms / 2,000 ms
コード長 387 bytes
コンパイル時間 115 ms
コンパイル使用メモリ 10,676 KB
実行使用メモリ 7,876 KB
最終ジャッジ日時 2023-08-18 01:25:41
合計ジャッジ時間 841 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 15 ms
7,764 KB
testcase_01 AC 16 ms
7,820 KB
testcase_02 AC 16 ms
7,712 KB
testcase_03 AC 16 ms
7,784 KB
testcase_04 AC 16 ms
7,876 KB
testcase_05 AC 15 ms
7,792 KB
testcase_06 AC 16 ms
7,764 KB
testcase_07 AC 16 ms
7,792 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