Sololearn: Learn to Code
New course! Every coder should learn Generative AI!
Try a free lesson
17th Oct 2017, 10:40 AM
GAWEN STEASY
GAWEN STEASY - avatar
17th Oct 2017, 10:35 AM
Krishna Teja Yeluripati
Krishna Teja Yeluripati - avatar
+ 12
https://code.sololearn.com/cCSrLzl7wdF9/?ref=app
19th Oct 2017, 2:24 AM
qwerty
qwerty - avatar
+ 9
Here's my C# implementation! ✌ LINQ One-Liner〰 num.ToString() .Select((d, i) => new { digit = Char.GetNumericValue(d), position = i + 1 }) .Sum(p => Math.Pow(p.digit, p.position)) == num LINQ all the way~ ❤ https://code.sololearn.com/cGhN129A0JLy/?ref=app
17th Oct 2017, 11:55 AM
Zephyr Koo
Zephyr Koo - avatar
17th Oct 2017, 5:50 PM
David Akhihiero
David Akhihiero - avatar
+ 7
my trail in c++ without using any extra header file... I found some disarmonium numbers I.e; less than 5000 are....... 1 2 3 4 5 6 7 8 9 89 135 175 518 598 1306 1676 2427 https://code.sololearn.com/c8q1hFzLgK8e/?ref=app 22 is the updated from 1st updated for finding disarmonium numbers between 1 and n; https://code.sololearn.com/cCgcymfahMM9/?ref=app
18th Oct 2017, 6:05 PM
SAKSHI
SAKSHI - avatar
+ 7
my try in Ruby...... challenge @[disarmonium number] https://code.sololearn.com/ce5JpwICewJl/?ref=app
22nd Oct 2017, 4:10 AM
SAKSHI
SAKSHI - avatar
+ 4
Thanks for the challenge 👍 Here's my try.... https://code.sololearn.com/WB8QtlQ7P3mf/?ref=app
17th Oct 2017, 10:59 AM
LukArToDo
LukArToDo - avatar
17th Oct 2017, 12:48 PM
Casey Hampson
Casey Hampson - avatar
17th Oct 2017, 3:53 PM
Infinity
Infinity - avatar
+ 3
heres my one liner.... PRINTS all disariums UPTO 400K... https://code.sololearn.com/cX2RXdjh92TB/?ref=app
17th Oct 2017, 11:57 AM
sayan chandra
sayan chandra - avatar
+ 3
https://code.sololearn.com/cYfr8aZi1RV6/?ref=app
17th Oct 2017, 12:56 PM
Kartikey Sahu
Kartikey Sahu - avatar
17th Oct 2017, 8:28 PM
TheSage
TheSage - avatar
17th Oct 2017, 2:44 PM
Vishnu#
Vishnu# - avatar
+ 2
Here's my shot at it in Python3 - I'm still relatively new here so any feedback would be great: https://code.sololearn.com/cxI08vZla4Ko/#py
17th Oct 2017, 2:47 PM
Freddie Payne (Fredster64)
Freddie Payne (Fredster64) - avatar
+ 2
Any Disarium number other than 89??
17th Oct 2017, 2:51 PM
Vishnu#
Vishnu# - avatar
+ 2
Here you go, checks for valid input https://code.sololearn.com/c3JC93rmyNUj/?ref=app
17th Oct 2017, 7:50 PM
Vari93
Vari93 - avatar
+ 2
public class festival{ public static void main(String sweets[]){ System.out.println("Happy Diwali to SoloLearn"); } }
18th Oct 2017, 9:02 PM
Lucky Agrawal
Lucky Agrawal - avatar
17th Oct 2017, 12:40 PM
Jackson
Jackson - avatar
+ 1
https://code.sololearn.com/c8wnWC4MyRnn/?ref=app I have done using arithmetic operations.
17th Oct 2017, 2:20 PM
Prajwal Gowda
Prajwal Gowda - avatar