結果

問題 No.251 大きな桁の復習問題(1)
ユーザー vwxyzvwxyz
提出日時 2021-08-01 16:55:03
言語 PyPy3
(7.3.15)
結果
RE  
(最新)
AC  
(最初)
実行時間 -
コード長 730 bytes
コンパイル時間 411 ms
コンパイル使用メモリ 87,052 KB
実行使用メモリ 95,348 KB
最終ジャッジ日時 2023-10-14 18:49:31
合計ジャッジ時間 8,587 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 272 ms
91,816 KB
testcase_01 AC 271 ms
91,608 KB
testcase_02 AC 271 ms
91,396 KB
testcase_03 AC 276 ms
91,280 KB
testcase_04 AC 272 ms
91,632 KB
testcase_05 AC 272 ms
91,628 KB
testcase_06 AC 274 ms
91,564 KB
testcase_07 AC 276 ms
91,536 KB
testcase_08 AC 273 ms
91,720 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 267 ms
91,420 KB
testcase_21 AC 272 ms
91,600 KB
testcase_22 AC 269 ms
91,564 KB
testcase_23 AC 265 ms
91,540 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import bisect
import copy
import decimal
import fractions
import heapq
import itertools
import math
import random
import sys
from collections import Counter,deque,defaultdict
from functools import lru_cache,reduce
from heapq import heappush,heappop,heapify,heappushpop,_heappop_max,_heapify_max
def _heappush_max(heap,item):
    heap.append(item)
    heapq._siftdown_max(heap, 0, len(heap)-1)
def _heappushpop_max(heap, item):
    if heap and item < heap[0]:
        item, heap[0] = heap[0], item
        heapq._siftup_max(heap, 0)
    return item
from math import gcd as GCD, modf
read=sys.stdin.read
readline=sys.stdin.readline
readlines=sys.stdin.readlines

N,M=map(int,read().split())
mod=129402307
ans=pow(N,M,mod)
print(ans)
0