7 lines
201 B
Python
7 lines
201 B
Python
import time
|
|
|
|
|
|
def hash_(s):
|
|
days = int(time.strftime("%d", time.localtime(time.time()))) + 31 * int(
|
|
time.strftime("%m", time.localtime(time.time()))) + 77
|
|
return (days * hash(s)) >> 8
|