that is a good one.
I wish there were anti-code golfs after seeing your code
Welp, I missed that the domain was integers. The title's kinda misleading, though.
NaN is a Number but not an integer. So it's within the spec.
linq solution takes 2 to 3 times more time on big amounts of operation ( ->1m). Regarding the amount of acids in DNA, certainly not the smartest way to solve.
This is what I call a hack. :D
This comment is hidden because it contains spoiler information about the solution
can someone explain :|
I thought of this, but i felt like a cheat to me, so i tried another method
How did you came up with this?
Did you use a source-to-source compiler or something like LISP?
I like it except... ok I really like it.
This is sexy as hell. Wait, hell is sexy? Uh... Well, you get what I mean.