17
naex io
Last seen 10 years ago
Member for 10 years, 12 months, 2 days
Difficulty Normal
Software hacker since '85
Developer
Mainly skilled in C, Python, bash, loves low-level programming.
Security consultant
Postmortem, incident response, reverse engineering, penetration testing.
Sysadmin
Specialized on Linux only. Gentoo is my digital homeplace.
Living on the french riviera.
return [data.index(x) for x in hull] would work, you don't need to convert to string :)
More
Well done !
Two remarks though:
on line 12, you don't need to use math.fabs(), you could have used abs()
on line 18, range(2**len(data)-1) would be simpler :)
More
Nice one !
I tested it, and it seems to need 5 probes for ore on cells (8, 4), (7, 0) and (7, 1)...
More