Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $><<'public static boolean isPowerOfTen(long input) {
- return
- '+(0..19).map{|i|" input == #{10**i}L"}*"
- ||"+";
- }"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement