Advertisement
Guest User

Untitled

a guest
Feb 3rd, 2016
174
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ruby 0.12 KB | None | 0 0
  1. $><<'public static boolean isPowerOfTen(long input) {
  2.  return
  3.   '+(0..19).map{|i|" input == #{10**i}L"}*"
  4.  ||"+";
  5. }"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement