結果

問題 No.1287 えぬけー
ユーザー NatsubiSoganNatsubiSogan
提出日時 2020-11-13 23:28:52
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 1,250 ms / 2,000 ms
コード長 104 bytes
コンパイル時間 231 ms
コンパイル使用メモリ 10,624 KB
実行使用メモリ 7,932 KB
最終ジャッジ日時 2023-09-30 04:19:36
合計ジャッジ時間 6,092 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 16 ms
7,832 KB
testcase_01 AC 17 ms
7,812 KB
testcase_02 AC 17 ms
7,868 KB
testcase_03 AC 17 ms
7,932 KB
testcase_04 AC 17 ms
7,924 KB
testcase_05 AC 1,175 ms
7,788 KB
testcase_06 AC 1,198 ms
7,888 KB
testcase_07 AC 1,250 ms
7,824 KB
testcase_08 AC 1,131 ms
7,868 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

p=10**9+7
for _ in range(int(input())):x,k=map(int,input().split());print(pow(x,pow(k,5*10**8+1,p-1),p))
0