Most Horrible Code Ever Written By Me

cakewalk
candidate
lunch
time

#2

This is brilliant :wink:
I was trying the same thing. I got tired and angry after n==7 and then I shut my editor and deleted the file ! :stuck_out_tongue:


#3

:o still glitch free


#4

Thank God its AC. For a moment there I thought you were asking to find a bug :stuck_out_tongue:


#5

Tell me writing such code is just waste of time … right ??


#6

Salute . Nice way :stuck_out_tongue:


#7

What would you do if N < 20? :DD

You are my master :wink: Anyway, congrats for Accepted.


#8

May be a horrible code, but the approach is awesome. Hats off to your patience in coding this.


#9

Hilarious!! :stuck_out_tongue: :stuck_out_tongue:

though you could have simply used recursion, and let the function do all the work! :stuck_out_tongue: My solution


#10

10 dimensional array :stuck_out_tongue: .great patience…hats off for that…i don’t have enough to read :stuck_out_tongue: btw in real life, u also wudn’t have, to imagine 10th dimension :stuck_out_tongue:


#11

great…:slight_smile: there was no condition on d… how u dared to think even that would get accepted it would have overflow for n=9 d =9 .:stuck_out_tongue:


#12

You Sir , Deserve a Medal :stuck_out_tongue: , A True Hero :stuck_out_tongue:


#13

5 stars for your code!


#14

He He :smiley: good joke (better than RRJOKE )…


#15

I joined the contest very lately almost after (1.5 hours). so at first attempt i clicked with this idea and started coding without giving it a second thought … although it is not good … i feel


#16

lolz it was not but i had to make it to get it accepted …


#17

LOL.

I left it in the middle . I should have done it only :stuck_out_tongue:


#18

he he :smiley:


#19

Thanks but it is not nice at all :smiley:


#20

I did this because N <= 10 … and anyways thanks …


#21

thanx … :smiley: