結果

問題 No.2186 冪乗の片側極限
ユーザー MasKoaTSMasKoaTS
提出日時 2023-01-13 21:36:38
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 807 bytes
コンパイル時間 445 ms
コンパイル使用メモリ 86,752 KB
実行使用メモリ 80,908 KB
最終ジャッジ日時 2023-08-26 03:15:48
合計ジャッジ時間 13,824 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 194 ms
80,808 KB
testcase_01 AC 195 ms
80,480 KB
testcase_02 AC 195 ms
80,616 KB
testcase_03 AC 196 ms
80,692 KB
testcase_04 AC 191 ms
80,688 KB
testcase_05 AC 191 ms
80,680 KB
testcase_06 AC 192 ms
80,804 KB
testcase_07 AC 191 ms
80,736 KB
testcase_08 AC 194 ms
80,828 KB
testcase_09 AC 191 ms
80,476 KB
testcase_10 WA -
testcase_11 AC 194 ms
80,736 KB
testcase_12 AC 193 ms
80,620 KB
testcase_13 AC 193 ms
80,772 KB
testcase_14 AC 192 ms
80,908 KB
testcase_15 AC 192 ms
80,684 KB
testcase_16 AC 196 ms
80,780 KB
testcase_17 AC 192 ms
80,676 KB
testcase_18 AC 194 ms
80,848 KB
testcase_19 AC 195 ms
80,720 KB
testcase_20 AC 202 ms
80,668 KB
testcase_21 AC 201 ms
80,780 KB
testcase_22 AC 198 ms
80,732 KB
testcase_23 AC 195 ms
80,716 KB
testcase_24 AC 194 ms
80,804 KB
testcase_25 AC 196 ms
80,820 KB
testcase_26 AC 199 ms
80,732 KB
testcase_27 AC 197 ms
80,636 KB
testcase_28 AC 196 ms
80,476 KB
testcase_29 AC 199 ms
80,612 KB
testcase_30 AC 198 ms
80,844 KB
testcase_31 AC 203 ms
80,784 KB
testcase_32 AC 195 ms
80,784 KB
testcase_33 AC 196 ms
80,688 KB
testcase_34 AC 206 ms
80,564 KB
testcase_35 AC 195 ms
80,784 KB
testcase_36 AC 193 ms
80,648 KB
testcase_37 AC 196 ms
80,680 KB
testcase_38 AC 193 ms
80,680 KB
testcase_39 AC 196 ms
80,740 KB
testcase_40 AC 196 ms
80,560 KB
testcase_41 AC 195 ms
80,560 KB
testcase_42 AC 194 ms
80,848 KB
testcase_43 AC 195 ms
80,552 KB
testcase_44 AC 201 ms
80,636 KB
testcase_45 AC 196 ms
80,668 KB
testcase_46 AC 195 ms
80,456 KB
testcase_47 AC 196 ms
80,824 KB
testcase_48 AC 199 ms
80,476 KB
testcase_49 AC 194 ms
80,808 KB
testcase_50 AC 193 ms
80,676 KB
testcase_51 AC 192 ms
80,552 KB
testcase_52 AC 196 ms
80,700 KB
testcase_53 AC 196 ms
80,460 KB
testcase_54 AC 196 ms
80,572 KB
testcase_55 AC 195 ms
80,556 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import itertools as iter
import collections as coll
import heapq as hq
import bisect as bis
from decimal import Decimal as dec
from functools import cmp_to_key
import math
import sys
#import pypyjit
#pypyjit.set_param('max_unroll_recursion=-1')
sys.setrecursionlimit(10 ** 6)
inp = sys.stdin.readline
input = lambda : inp().rstrip()
getN = lambda : int(inp())
getNs = lambda : map(int, inp().split())
getList = lambda :list(map(int, inp().split()))
getStrs = lambda n : [input() for _ in [0] * n]
def yexit(): print("Yes"); exit(0)
def nexit(): print("No"); exit(0)
pi = 3.141592653589793
mod = 1000000007
MOD = 998244353
INF = 4611686018427387903
dx = [1, 0, -1, 0];	dy = [0, 1, 0, -1]
#di = coll.defaultdict(int)


"""
Main Code
"""

a = getN()
b = getN()

if(a == b == 0):
	print(1)
else:
	print(a ** b)
0