From ee980689c9acac37d8c8ad37ed965e5f2e81b46a Mon Sep 17 00:00:00 2001 From: 10_2 Date: Sun, 14 Jul 2024 10:38:30 +0800 Subject: [PATCH] 10_2 --- 2024-7-14-1.py | 7 +++++++ 2024-7-13-1.py => 2024-7-14-2.py | 0 2 files changed, 7 insertions(+) create mode 100644 2024-7-14-1.py rename 2024-7-13-1.py => 2024-7-14-2.py (100%) diff --git a/2024-7-14-1.py b/2024-7-14-1.py new file mode 100644 index 0000000..af71d9a --- /dev/null +++ b/2024-7-14-1.py @@ -0,0 +1,7 @@ +a=int(input()) +b=int(input()) + +if a**b>1000000000: + print(-1) +else: + print(a**b) \ No newline at end of file diff --git a/2024-7-13-1.py b/2024-7-14-2.py similarity index 100% rename from 2024-7-13-1.py rename to 2024-7-14-2.py