5 ms·
nit: ^, not *. ** for Python, but never *
by xdavidliu 3y ago
nit: ^, not *. ** for Python, but never *
- dekhn 3y agoUnfortunately Hacker News editor converts double-asterisk to single which is what caused the problem. I never use ^ for "to the power of" due to its use in C for bitwise OR.