+ 1

Fun Challenge : The number Piramid! (Medium)

everyone knows Giza's piramid, right? lets make a number piramid like this input any number (not too big, it will crash) and the system has to make a piramid example : input : 5 output : 1 212 32123 4321234 543212345 easy, right?

10th Aug 2017, 3:40 PM
Domces Games
Domces Games - avatar
9 Respostas
+ 2
here you go, in c++ pyramid is centered with numbers smaller than 100 :) https://code.sololearn.com/c4UMPdFQNfZa/#cpp
10th Aug 2017, 10:41 PM
Luca
Luca - avatar
+ 1
https://code.sololearn.com/c0zdn0C5LxLK/?ref=app
10th Aug 2017, 4:51 PM
Slak
Slak - avatar
10th Aug 2017, 6:18 PM
André
André - avatar
10th Aug 2017, 8:22 PM
Î‘Î·Ï„ÎżÎčπe
Î‘Î·Ï„ÎżÎčπe - avatar
+ 1
No. HERE is the shortest one line). Not the easiest to read, though :-) https://code.sololearn.com/cGig7Hd5R0AK/?ref=app
12th Aug 2017, 8:01 PM
VcC
VcC - avatar
0
Not your question (Pascal triangle) but a triangle though https://code.sololearn.com/cLOGjVzpTZU9/?ref=app
10th Aug 2017, 5:37 PM
VcC
VcC - avatar
0
here is the 2nd shortest python code.. after vccâ˜ș😊 https://code.sololearn.com/cy0W4EQ3LB2J/?ref=app
12th Aug 2017, 6:57 PM
sayan chandra
sayan chandra - avatar
0
ha haâ˜ș😊👍👍
13th Aug 2017, 2:10 AM
sayan chandra
sayan chandra - avatar
0
@ vcc your one line code writing amuses me brother....
13th Aug 2017, 2:11 AM
sayan chandra
sayan chandra - avatar