結果

問題 No.251 大きな桁の復習問題(1)
ユーザー tassei903tassei903
提出日時 2021-10-25 00:30:34
言語 PyPy3
(7.3.15)
結果
RE  
(最新)
AC  
(最初)
実行時間 -
コード長 435 bytes
コンパイル時間 217 ms
コンパイル使用メモリ 82,272 KB
実行使用メモリ 67,572 KB
最終ジャッジ日時 2024-04-10 05:54:03
合計ジャッジ時間 2,631 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 41 ms
52,212 KB
testcase_01 AC 41 ms
52,800 KB
testcase_02 AC 41 ms
52,436 KB
testcase_03 AC 42 ms
53,200 KB
testcase_04 AC 41 ms
53,056 KB
testcase_05 AC 40 ms
53,000 KB
testcase_06 AC 44 ms
53,364 KB
testcase_07 AC 44 ms
52,064 KB
testcase_08 AC 42 ms
52,732 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 41 ms
53,484 KB
testcase_21 AC 44 ms
53,704 KB
testcase_22 AC 42 ms
53,088 KB
testcase_23 AC 43 ms
52,740 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
input = lambda :sys.stdin.readline()[:-1]
ni = lambda :int(input())
na = lambda :list(map(int,input().split()))
sys.setrecursionlimit(10**7)
yes = lambda :print("yes");Yes = lambda :print("Yes");YES = lambda : print("YES")
no = lambda :print("no");No = lambda :print("No");NO = lambda : print("NO")
#######################################################################
n  = ni()
m = ni()
p = 129402307
print(pow(n%p,m,p))
0