Can you solve it in few seconds

What is the last two digit of 19 ^ {266}


The answer is 81.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

2 solutions

Mohit Gupta
Sep 2, 2015

Cracked it in 20 seconds

Cracked it in 1sec

A Former Brilliant Member - 2 years, 9 months ago
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
import time
start_time = time.time()

ans = 1

i = 1
while i < 267:
    ans *= 19
    ans %= 100
    i += 1

print ans   

print("--- %s seconds ---" % (time.time() - start_time))

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...