RE: Computation Contest #9 [2 SBI]

You are viewing a single comment's thread from:

Computation Contest #9 [2 SBI]

in programming •  5 years ago 

What you did is just implementing "the intuitive algorithm of simple repeated addition" which I mentioned in the problem which is as you correctly discovered very slow because you need number2 additions.
You need to find something better.

By the way I ignore the speed differences of individual languages in these contests, because the algorithm would still be slow in any other language.

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

Thanks for the information, I'll work on redoing my answer now!