3 ms·
A year ago a similar challenge did the rounds on Twitter but just restricting the modulo operator (not division). My solution was essentially based around b = i
by petercooper 13y ago
A year ago a similar challenge did the rounds on Twitter but just restricting the modulo operator (not division). My solution was essentially based around b = i * 8 / 5 & 7 and (i + 2) * 6 / 9 & 1 == 1: https://gist.github.com/peterc/2060adac0f9cf5fb9cf3 https://gist.github.com/peterc/2060adac0f9cf5fb9cf3