Most Horrible Code Ever Written By Me

What would you do if N < 20? :DD

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

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

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

2 Likes

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:

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:

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

5 stars for your code!

2 Likes

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

2 Likes

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

1 Like

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

1 Like

LOL.

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

he he :smiley: …

2 Likes

Thanks but it is not nice at all :smiley:

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

thanx … :smiley:

thanx dude …

I know, just kidding

it was given total number of cells will not exceed 10^6 …

1 Like

thanx … :smiley:

@gvaibhav21 Can you please explain your code…??