結果

問題 No.251 大きな桁の復習問題(1)
ユーザー convexineqconvexineq
提出日時 2020-12-11 06:19:10
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 96 bytes
コンパイル時間 192 ms
コンパイル使用メモリ 81,840 KB
実行使用メモリ 66,004 KB
最終ジャッジ日時 2023-10-20 01:17:21
合計ジャッジ時間 2,573 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 36 ms
53,244 KB
testcase_01 WA -
testcase_02 AC 36 ms
53,244 KB
testcase_03 AC 36 ms
53,244 KB
testcase_04 AC 36 ms
53,244 KB
testcase_05 AC 37 ms
53,244 KB
testcase_06 AC 36 ms
53,244 KB
testcase_07 AC 37 ms
53,244 KB
testcase_08 AC 37 ms
53,244 KB
testcase_09 RE -
testcase_10 RE -
testcase_11 RE -
testcase_12 RE -
testcase_13 RE -
testcase_14 RE -
testcase_15 RE -
testcase_16 RE -
testcase_17 RE -
testcase_18 RE -
testcase_19 RE -
testcase_20 AC 37 ms
53,244 KB
testcase_21 AC 37 ms
53,244 KB
testcase_22 AC 37 ms
53,244 KB
testcase_23 AC 37 ms
53,244 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

MOD = 129402307
MOD2 = MOD-1
n = int(input())%MOD
m = int(input())%MOD2+MOD2
print(pow(n,m,MOD))
0