結果

問題 No.2186 冪乗の片側極限
ユーザー flygonflygon
提出日時 2023-01-13 21:50:37
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 94 ms / 2,000 ms
コード長 300 bytes
コンパイル時間 286 ms
コンパイル使用メモリ 87,000 KB
実行使用メモリ 71,916 KB
最終ジャッジ日時 2023-08-26 03:34:36
合計ジャッジ時間 7,340 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 82 ms
71,916 KB
testcase_01 AC 81 ms
71,656 KB
testcase_02 AC 81 ms
71,628 KB
testcase_03 AC 87 ms
71,564 KB
testcase_04 AC 93 ms
71,440 KB
testcase_05 AC 86 ms
71,732 KB
testcase_06 AC 85 ms
71,592 KB
testcase_07 AC 83 ms
71,424 KB
testcase_08 AC 83 ms
71,732 KB
testcase_09 AC 85 ms
71,640 KB
testcase_10 AC 86 ms
71,440 KB
testcase_11 AC 84 ms
71,668 KB
testcase_12 AC 81 ms
71,732 KB
testcase_13 AC 80 ms
71,420 KB
testcase_14 AC 85 ms
71,552 KB
testcase_15 AC 85 ms
71,884 KB
testcase_16 AC 80 ms
71,708 KB
testcase_17 AC 81 ms
71,416 KB
testcase_18 AC 80 ms
71,440 KB
testcase_19 AC 80 ms
71,632 KB
testcase_20 AC 82 ms
71,504 KB
testcase_21 AC 79 ms
71,416 KB
testcase_22 AC 83 ms
71,616 KB
testcase_23 AC 81 ms
71,672 KB
testcase_24 AC 92 ms
71,640 KB
testcase_25 AC 79 ms
71,880 KB
testcase_26 AC 78 ms
71,668 KB
testcase_27 AC 82 ms
71,748 KB
testcase_28 AC 80 ms
71,636 KB
testcase_29 AC 83 ms
71,824 KB
testcase_30 AC 83 ms
71,824 KB
testcase_31 AC 79 ms
71,880 KB
testcase_32 AC 79 ms
71,636 KB
testcase_33 AC 83 ms
71,440 KB
testcase_34 AC 84 ms
71,664 KB
testcase_35 AC 81 ms
71,480 KB
testcase_36 AC 77 ms
71,416 KB
testcase_37 AC 84 ms
71,844 KB
testcase_38 AC 84 ms
71,416 KB
testcase_39 AC 83 ms
71,828 KB
testcase_40 AC 80 ms
71,632 KB
testcase_41 AC 85 ms
71,612 KB
testcase_42 AC 84 ms
71,824 KB
testcase_43 AC 84 ms
71,912 KB
testcase_44 AC 80 ms
71,528 KB
testcase_45 AC 82 ms
71,800 KB
testcase_46 AC 87 ms
71,656 KB
testcase_47 AC 83 ms
71,536 KB
testcase_48 AC 94 ms
71,748 KB
testcase_49 AC 84 ms
71,744 KB
testcase_50 AC 84 ms
71,864 KB
testcase_51 AC 87 ms
71,588 KB
testcase_52 AC 85 ms
71,520 KB
testcase_53 AC 85 ms
71,548 KB
testcase_54 AC 80 ms
71,532 KB
testcase_55 AC 80 ms
71,796 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
sys.setrecursionlimit(5*10**5)
input = sys.stdin.readline
from collections import defaultdict, deque, Counter
from heapq import heappop, heappush
from bisect import bisect_left, bisect_right
from math import gcd

a = int(input())
b = int(input())

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