1st Oct 2017, 6:41 AM
Ekansh
1st Oct 2017, 1:56 AM
Krishna Teja Yeluripati
Krishna Teja Yeluripati - avatar
+ 14
Nice challenge but I found my C# approach is very similar to most implementations here after finished the code and I believe Python or Ruby can do it much better. Anyway here you go: https://code.sololearn.com/cZo4V24ERPS8/?ref=app
1st Oct 2017, 4:57 AM
Zephyr Koo
Zephyr Koo - avatar
+ 12
2 line code with checking the correct user input... https://code.sololearn.com/ctEoT725FyrW/#java
1st Oct 2017, 2:18 PM
Vukan
Vukan - avatar
+ 10
https://code.sololearn.com/cPhvh3nRvOgs/?ref=app
1st Oct 2017, 3:52 AM
Kartikey Sahu
Kartikey Sahu - avatar
1st Oct 2017, 1:52 AM
cHiRaG GhOsH
cHiRaG GhOsH - avatar
1st Oct 2017, 1:55 AM
ysraelcon
ysraelcon - avatar
+ 8
Number.prototype.rip = function() { var a = this+''.split(''); var n = Number(a[0]+a[1]) + Number(a[2]+a[3]); return this==n*n?true:false; } https://code.sololearn.com/WhAIwCuYAmyo/?ref=app
1st Oct 2017, 2:40 AM
Calviղ
Calviղ - avatar
1st Oct 2017, 3:28 AM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
+ 6
I made too much Python codes. Gotta do it in a new language
1st Oct 2017, 3:20 AM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
+ 6
125 characters amazing Karthikey?
1st Oct 2017, 3:54 AM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
+ 6
ok guys .... less than 70 characters :-)) including a kind of readable answer (thanks to pre-work of the challenger) https://code.sololearn.com/cpkf7jHGXfNG
1st Oct 2017, 11:40 AM
Oma Falk
Oma Falk - avatar
1st Oct 2017, 12:35 PM
David Akhihiero
David Akhihiero - avatar
+ 5
I updated code, thanka for reminding Ace
1st Oct 2017, 3:34 AM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
+ 5
@Ven It will be more shorter than you if I remove 2nd line
1st Oct 2017, 3:56 AM
Kartikey Sahu
Kartikey Sahu - avatar
+ 5
Lol mine is 121 characters perfectly 11^2 lol
1st Oct 2017, 4:00 AM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
+ 5
@Ekansh You have to take input from user and check if it is b/w 1000 and 9999( including)
1st Oct 2017, 6:42 AM
Kartikey Sahu
Kartikey Sahu - avatar
+ 5
@Kartikey but it's not specified in the Challenge.
1st Oct 2017, 7:12 AM
Ekansh
1st Oct 2017, 12:25 PM
David Akhihiero
David Akhihiero - avatar
+ 4
Mine is perfect too, 5^3
1st Oct 2017, 4:02 AM
Kartikey Sahu
Kartikey Sahu - avatar