結果

問題 No.251 大きな桁の復習問題(1)
ユーザー ShirotsumeShirotsume
提出日時 2021-12-09 23:29:00
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 107 bytes
コンパイル時間 319 ms
コンパイル使用メモリ 86,800 KB
実行使用メモリ 78,968 KB
最終ジャッジ日時 2023-09-24 15:43:05
合計ジャッジ時間 4,583 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 70 ms
71,260 KB
testcase_01 WA -
testcase_02 AC 71 ms
71,276 KB
testcase_03 AC 73 ms
71,196 KB
testcase_04 AC 69 ms
71,088 KB
testcase_05 AC 71 ms
71,220 KB
testcase_06 AC 70 ms
71,088 KB
testcase_07 AC 71 ms
71,068 KB
testcase_08 AC 70 ms
70,964 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 69 ms
70,972 KB
testcase_21 AC 69 ms
71,216 KB
testcase_22 AC 71 ms
71,096 KB
testcase_23 AC 70 ms
71,168 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

mod = 129402307
n = int(input()) % mod
m = int(input()) % (mod - 1)

print(pow(n, m, mod) if n != 0 else 0)
0