Warning: Invalid argument supplied for foreach() in /home/.renaissance/talim/rubylearning.com/cn/blog/wp-content/plugins/17fav-bookmark-share/bookmark-share.php on line 176

Warning: Invalid argument supplied for foreach() in /home/.renaissance/talim/rubylearning.com/cn/blog/wp-content/plugins/17fav-bookmark-share/bookmark-share.php on line 176

Warning: Invalid argument supplied for foreach() in /home/.renaissance/talim/rubylearning.com/cn/blog/wp-content/plugins/17fav-bookmark-share/bookmark-share.php on line 176

Warning: Invalid argument supplied for foreach() in /home/.renaissance/talim/rubylearning.com/cn/blog/wp-content/plugins/17fav-bookmark-share/bookmark-share.php on line 176

Warning: Invalid argument supplied for foreach() in /home/.renaissance/talim/rubylearning.com/cn/blog/wp-content/plugins/17fav-bookmark-share/bookmark-share.php on line 176

Warning: Invalid argument supplied for foreach() in /home/.renaissance/talim/rubylearning.com/cn/blog/wp-content/plugins/17fav-bookmark-share/bookmark-share.php on line 176

Warning: Invalid argument supplied for foreach() in /home/.renaissance/talim/rubylearning.com/cn/blog/wp-content/plugins/17fav-bookmark-share/bookmark-share.php on line 176

Warning: Invalid argument supplied for foreach() in /home/.renaissance/talim/rubylearning.com/cn/blog/wp-content/plugins/17fav-bookmark-share/bookmark-share.php on line 176

Problen4-Project Euler

A palindromic number reads the same both ways. The largest palindrome made from the product of two 2-digit numbers is 9009 = 91 × 99.

Find the largest palindrome made from the product of two 3-digit numbers.

(999*999).downto(100*100) do |i|
	break puts i   if i.to_s == i.to_s.reverse
	end
17fav 收藏本文

Leave a Reply

Formatting: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">



Warning: Invalid argument supplied for foreach() in /home/.renaissance/talim/rubylearning.com/cn/blog/wp-content/plugins/17fav-bookmark-share/bookmark-share.php on line 176

Warning: Invalid argument supplied for foreach() in /home/.renaissance/talim/rubylearning.com/cn/blog/wp-content/plugins/17fav-bookmark-share/bookmark-share.php on line 176

Warning: Invalid argument supplied for foreach() in /home/.renaissance/talim/rubylearning.com/cn/blog/wp-content/plugins/17fav-bookmark-share/bookmark-share.php on line 176

Warning: Invalid argument supplied for foreach() in /home/.renaissance/talim/rubylearning.com/cn/blog/wp-content/plugins/17fav-bookmark-share/bookmark-share.php on line 176

Warning: Invalid argument supplied for foreach() in /home/.renaissance/talim/rubylearning.com/cn/blog/wp-content/plugins/17fav-bookmark-share/bookmark-share.php on line 176

Warning: Invalid argument supplied for foreach() in /home/.renaissance/talim/rubylearning.com/cn/blog/wp-content/plugins/17fav-bookmark-share/bookmark-share.php on line 176

Warning: Invalid argument supplied for foreach() in /home/.renaissance/talim/rubylearning.com/cn/blog/wp-content/plugins/17fav-bookmark-share/bookmark-share.php on line 176

Warning: Invalid argument supplied for foreach() in /home/.renaissance/talim/rubylearning.com/cn/blog/wp-content/plugins/17fav-bookmark-share/bookmark-share.php on line 176

收藏 & 分享

Powered by 17fav.com