You are viewing a single comment's thread from:

RE: Computation Contest #9 [2 SBI]

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.

Sort:  

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

Coin Marketplace

STEEM 0.04
TRX 0.32
JST 0.075
BTC 64269.83
ETH 1681.21
USDT 1.00
SBD 0.42