結果

問題 No.251 大きな桁の復習問題(1)
ユーザー ShirotsumeShirotsume
提出日時 2021-12-09 23:30:15
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 100 bytes
コンパイル時間 481 ms
コンパイル使用メモリ 86,888 KB
実行使用メモリ 79,340 KB
最終ジャッジ日時 2023-09-24 15:44:46
合計ジャッジ時間 4,450 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 71 ms
71,296 KB
testcase_01 WA -
testcase_02 AC 72 ms
71,232 KB
testcase_03 AC 73 ms
71,024 KB
testcase_04 AC 73 ms
70,952 KB
testcase_05 AC 70 ms
71,348 KB
testcase_06 AC 71 ms
71,316 KB
testcase_07 AC 71 ms
71,076 KB
testcase_08 AC 73 ms
71,152 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,112 KB
testcase_21 AC 73 ms
71,336 KB
testcase_22 AC 73 ms
71,260 KB
testcase_23 AC 73 ms
71,384 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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

print(pow(n, m, mod))
0