結果

問題 No.251 大きな桁の復習問題(1)
ユーザー norioc
提出日時 2024-07-02 11:07:36
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 100 ms / 5,000 ms
コード長 125 bytes
コンパイル時間 279 ms
コンパイル使用メモリ 82,432 KB
実行使用メモリ 71,680 KB
最終ジャッジ日時 2024-07-02 11:07:45
合計ジャッジ時間 3,257 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 21
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
sys.set_int_max_str_digits(0)

MOD = 129402307
N = input()
M = input()

ans = pow(int(N), int(M), MOD)
print(ans)
0