10_2<sairate@sina.cn>

This commit is contained in:
10_2 2024-07-14 10:38:30 +08:00
parent 90d43f5101
commit ee980689c9
2 changed files with 7 additions and 0 deletions

7
2024-7-14-1.py Normal file
View File

@ -0,0 +1,7 @@
a=int(input())
b=int(input())
if a**b>1000000000:
print(-1)
else:
print(a**b)