Demirci Ayhan

Greenhorn
+ Follow
since Dec 26, 2014
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Demirci Ayhan

Thanks to you all, i was finally able to do it, here is the code i used :
10 years ago
Oh sorry, here is the code :

10 years ago
Hello,
i've been trying to do this program for a couple of days :
this is what i have to get :

for n = 4

aaaaaaa
abbbbba
abcccba
abcdcba
abcccba
abbbbba
aaaaaaa

for n =5

aaaaaaaaa
abbbbbbba
abcccccba
abcdddcba
abcdedcba
abcdddcba
abcccccba
abbbbbbba
aaaaaaaaa

this is what i was able to get for n=4 :

aaaaaaa
afedcba
aeedcba
adddcba
accccba
abbbbba
aaaaaaa

here is a pastebin so you see a bit :

http://pastebin.com/qwbxkwaS

I can't see what my problem is Thanks for your help
10 years ago