結果

問題 No.2186 冪乗の片側極限
ユーザー MasKoaTSMasKoaTS
提出日時 2023-01-13 21:37:14
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 201 ms / 2,000 ms
コード長 807 bytes
コンパイル時間 282 ms
コンパイル使用メモリ 86,996 KB
実行使用メモリ 80,872 KB
最終ジャッジ日時 2023-08-26 03:16:57
合計ジャッジ時間 13,483 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 195 ms
80,680 KB
testcase_01 AC 193 ms
80,824 KB
testcase_02 AC 193 ms
80,552 KB
testcase_03 AC 201 ms
80,788 KB
testcase_04 AC 195 ms
80,648 KB
testcase_05 AC 197 ms
80,716 KB
testcase_06 AC 191 ms
80,800 KB
testcase_07 AC 192 ms
80,812 KB
testcase_08 AC 201 ms
80,688 KB
testcase_09 AC 193 ms
80,828 KB
testcase_10 AC 193 ms
80,844 KB
testcase_11 AC 194 ms
80,740 KB
testcase_12 AC 192 ms
80,808 KB
testcase_13 AC 194 ms
80,820 KB
testcase_14 AC 196 ms
80,504 KB
testcase_15 AC 196 ms
80,504 KB
testcase_16 AC 196 ms
80,640 KB
testcase_17 AC 199 ms
80,836 KB
testcase_18 AC 195 ms
80,508 KB
testcase_19 AC 198 ms
80,660 KB
testcase_20 AC 196 ms
80,688 KB
testcase_21 AC 198 ms
80,556 KB
testcase_22 AC 195 ms
80,872 KB
testcase_23 AC 196 ms
80,556 KB
testcase_24 AC 197 ms
80,640 KB
testcase_25 AC 198 ms
80,656 KB
testcase_26 AC 197 ms
80,864 KB
testcase_27 AC 190 ms
80,692 KB
testcase_28 AC 193 ms
80,680 KB
testcase_29 AC 190 ms
80,796 KB
testcase_30 AC 192 ms
80,788 KB
testcase_31 AC 194 ms
80,680 KB
testcase_32 AC 195 ms
80,552 KB
testcase_33 AC 192 ms
80,784 KB
testcase_34 AC 192 ms
80,716 KB
testcase_35 AC 191 ms
80,600 KB
testcase_36 AC 192 ms
80,472 KB
testcase_37 AC 195 ms
80,596 KB
testcase_38 AC 193 ms
80,656 KB
testcase_39 AC 193 ms
80,548 KB
testcase_40 AC 193 ms
80,644 KB
testcase_41 AC 193 ms
80,728 KB
testcase_42 AC 194 ms
80,688 KB
testcase_43 AC 196 ms
80,820 KB
testcase_44 AC 192 ms
80,744 KB
testcase_45 AC 194 ms
80,792 KB
testcase_46 AC 196 ms
80,720 KB
testcase_47 AC 196 ms
80,728 KB
testcase_48 AC 198 ms
80,836 KB
testcase_49 AC 197 ms
80,716 KB
testcase_50 AC 194 ms
80,632 KB
testcase_51 AC 192 ms
80,732 KB
testcase_52 AC 193 ms
80,632 KB
testcase_53 AC 195 ms
80,480 KB
testcase_54 AC 192 ms
80,600 KB
testcase_55 AC 195 ms
80,504 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(0)
else:
	print(a ** b)
0