We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- Smart Number 2
- Discussions
Smart Number 2
Smart Number 2
Sort by
recency
|
37 Discussions
|
Please Login in order to post a comment
I have been stuck in this question for almost 2-3 hours then i realized that i should change the lanuage (c++) to another language then i tried (java7) and i succed.. You dont have to change more then 1 line..
Doesn't work in ruby, no initial solution.
def is_smart_number(num):
Only square numbers have odd factors.
Java 7