Submission details
Task:Exponentiation
Sender:aalto26jw_004
Submission time:2026-11-11 20:03:30 +0200
Language:Python3 (PyPy3)
Status:READY
Result:
Test results
testverdicttime
#10.06 sdetails
#20.06 sdetails
#30.06 sdetails

Code

import math
import sys
a,b=map(int,input().split())
sys.set_int_max_str_digits(0)
print((a**b)%(10**+9))

Test details

Test 1

Verdict:

input
10201
0 0
0 1
0 2
0 3
...

correct output
1
0
0
0
0
...

user output
(empty)

Error:
Traceback (most recent call last):
  File "/box/input/code.py", line 3, in <module>
    a,b=map(int,input().split())
ValueError: not enough values to unpack (expected 2, got 1)

Test 2

Verdict:

input
200000
129612095 411099530
241615980 487174929
60862511 511830781
758816482 982657640
...

correct output
276067146
838400234
148093882
546897305
467086232
...

user output
(empty)

Error:
Traceback (most recent call last):
  File "/box/input/code.py", line 3, in <module>
    a,b=map(int,input().split())
ValueError: not enough values to unpack (expected 2, got 1)

Test 3

Verdict:

input
200000
692427692 536870911
252480658 536870911
505090334 536870911
27194853 536870911
...

correct output
940305728
707431813
917260341
908974199
375947818
...

user output
(empty)

Error:
Traceback (most recent call last):
  File "/box/input/code.py", line 3, in <module>
    a,b=map(int,input().split())
ValueError: not enough values to unpack (expected 2, got 1)