Ad
  • Custom User Avatar

    Iterating by the multiple, rather than using mod on every number (like I did), is an interesting way to go about it. I like it!

  • Custom User Avatar

    Getting the following error on C#, repeatedly. Most of the random tests have 'BTC' in them, which should be the shortest, but it's stating some other word is the shortest.

    RandomTests
    Log (printing the test string below, quotes added manually for clarity) --

    "Monero Ripple Lisk Ripple
    Dash BTC LiteCoin
    Bitcoin Lisk Classic MadeSafeCoin Classic 21inc Steem ProofOfStake Waves Mine Monero DarkCoin Mine Ripple Monero 21inc Waves"

    Test Failed
    It should work for random inputs too
    Expected: 4
    But was: 3