You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
282 B

import re
import fileinput
r = re.compile("REG ([0-9A-F]+)");
regs = list()
for line in fileinput.input():
m =
if m:
regs.append(int(, 16))
#print("%016X"% int(, 16))
print("%x" % hash(tuple(regs)))