結果

問題 No.1287 えぬけー
ユーザー chineristACchineristAC
提出日時 2020-09-30 20:52:23
言語 PyPy3
(7.3.15)
結果
RE  
実行時間 -
コード長 93 bytes
コンパイル時間 399 ms
コンパイル使用メモリ 87,120 KB
実行使用メモリ 79,292 KB
最終ジャッジ日時 2023-09-21 01:04:30
合計ジャッジ時間 2,714 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 RE -
testcase_01 RE -
testcase_02 RE -
testcase_03 RE -
testcase_04 RE -
testcase_05 RE -
testcase_06 RE -
testcase_07 RE -
testcase_08 RE -
権限があれば一括ダウンロードができます

ソースコード

diff #

X,K = map(int,input().split())
mod = 10**9+7

Q = pow(K,5*10**8+1,mod-1)
print(pow(X,Q,mod))
0