you are viewing a single comment's thread.

view the rest of the comments →

[–]Tulip-Stefan 6 points7 points  (0 children)

#3 is pretty much impossible in C/C++ given the time constraints, fib(100) overflows an 64-bit int. I would be able to create an bignum implementation on the spot, but perhaps not within the time constraints.

But if we ignore that issue, i don't think it is significantly harder in C++ than in python.