結果

問題 No.251 大きな桁の復習問題(1)
ユーザー shotoyooshotoyoo
提出日時 2021-06-14 23:14:51
言語 PyPy3
(7.3.15)
結果
RE  
(最新)
AC  
(最初)
実行時間 -
コード長 304 bytes
コンパイル時間 1,438 ms
コンパイル使用メモリ 86,652 KB
実行使用メモリ 79,196 KB
最終ジャッジ日時 2023-08-26 09:36:35
合計ジャッジ時間 4,692 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 75 ms
71,296 KB
testcase_01 AC 74 ms
71,092 KB
testcase_02 AC 75 ms
71,128 KB
testcase_03 AC 75 ms
71,228 KB
testcase_04 AC 73 ms
71,096 KB
testcase_05 AC 76 ms
71,084 KB
testcase_06 AC 76 ms
71,048 KB
testcase_07 AC 74 ms
71,044 KB
testcase_08 AC 74 ms
71,248 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 74 ms
71,036 KB
testcase_21 AC 74 ms
71,128 KB
testcase_22 AC 75 ms
71,180 KB
testcase_23 AC 77 ms
71,120 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
input = lambda : sys.stdin.readline().rstrip()

sys.setrecursionlimit(2*10**5+10)
write = lambda x: sys.stdout.write(x+"\n")
debug = lambda x: sys.stderr.write(x+"\n")
writef = lambda x: print("{:.12f}".format(x))


n = int(input())
m = int(input())
p = 129402307
val = pow(n, m, p)
print(val)
0