top of page
Writer's pictureDr. Harish Ravi

Chess cube clock

#chess clock


import time

import random

a=input()

tz=0

tz2=0

tx=time.time()

for i in range(10):

a=input()

ty=time.time()

tz+=ty-tx

print(tz,tz2,'seconds')

b=input()

tx=time.time()

tz2=tx-ty

print(tz,tz2,'seconds')


1.595635175704956 0 seconds


1.595635175704956 2.0320425033569336 seconds


7.294598340988159 2.0320425033569336 seconds


7.294598340988159 3.937506675720215 seconds


10.66051197052002 3.937506675720215 seconds


10.66051197052002 3.463472604751587 seconds


#Cube clock


import time

import random

for i in range(10):

a=input()

start=time.time()

b=input()

stop=time.time()

t=(stop-start)

print(t,'seconds')

print((2**(stop-start))*100*random.random())


1.4127075672149658 seconds

90.41737179540368


0.9768683910369873 seconds

155.6437141858973


1.4243574142456055 seconds

217.7051905334125


9.13411831855774 seconds

7378.7428014433035

1 view0 comments

Recent Posts

See All

Recent cube history

Broke 3x3 sudoku somewhere in 2018 and relied on PC for puzzles. There was some PC issue as explained in another lawsuit blog. Bought 5x5...

Speed solving

2x2 R U R' U R U2 R', R U2 R' U' R U' R', U F (R U R' U') F', R2 U2 R U2 R2, R U2 R2 U' R2 U' R2 U2 R, F R U' R' U' R U R' F', L' U' L U...

Chess game AI Vs AI

[Termination "(null)"] 1.e4 e6 2.Nf3 d5 3.exd5 exd5 4.Qe2+ Ne7 5.Nc3 c6 6.d4 Bg4 7.Qe3 Bf5 8.Bd3 Bxd3 9.cxd3 Nd7 10.Nd1 f6 11.O-O Rb8...

Comments


bottom of page