結果

問題 No.1287 えぬけー
ユーザー tyawanmusityawanmusi
提出日時 2020-11-13 21:16:07
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 471 ms / 2,000 ms
コード長 97 bytes
コンパイル時間 339 ms
コンパイル使用メモリ 87,032 KB
実行使用メモリ 79,780 KB
最終ジャッジ日時 2023-09-30 02:29:33
合計ジャッジ時間 4,987 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 74 ms
71,288 KB
testcase_01 AC 78 ms
71,556 KB
testcase_02 AC 75 ms
71,336 KB
testcase_03 AC 75 ms
71,360 KB
testcase_04 AC 74 ms
71,024 KB
testcase_05 AC 471 ms
79,540 KB
testcase_06 AC 459 ms
79,532 KB
testcase_07 AC 467 ms
79,780 KB
testcase_08 AC 434 ms
79,504 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

m=10**9+7
for _ in[0]*int(input()):x,k=map(int,input().split());print(pow(x,pow(k,m//2-2,m-1),m))
0