結果

問題 No.251 大きな桁の復習問題(1)
ユーザー maspy
提出日時 2020-01-01 14:34:35
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 225 bytes
コンパイル時間 167 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 11,008 KB
最終ジャッジ日時 2024-11-22 03:52:55
合計ジャッジ時間 2,232 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 8 WA * 2 RE * 11
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines

N,M = map(int,read().split())

MOD = 129402307

N %= MOD; M %= (MOD - 1)
answer = pow(N,M,MOD)
print(answer)
0