3 ms·
I tested with negative integers, but didn't think to test with real numbers unfortunately. (Still got it right, but I should've tested that.) That said, I did
by tjohns 11y ago
I tested with negative integers, but didn't think to test with real numbers unfortunately. (Still got it right, but I should've tested that.)
That said, I did make sure to test all the edge cases I could think of. I was actually going to guess (n^1, n^2, n^3) at first, until it failed for (1, 1, 1).
10 "yes" tests, 6 "no" tests.