Ad
  • Default User Avatar

    Nevermind, I was misinterpreting the log.

  • Default User Avatar

    C++:

    HAND: JH 9H TH KH QH //Straight flush - King high
    VS:
    HAND: JH AH TH KH QH //Straight flush - Ace high (or Royal flush)

    I'm outputting a LOSS for this but the test is giving me an error. Am I missing something or is there an issue with the tests?

  • Default User Avatar
  • Default User Avatar

    Blind4Basics what is wrong with you?! LOL
    This kata was amazing!

    Question: anyone know what this log output means:

    durations:
    Your function:	1.712084000000001
    My function:	4.269293999999998
    
    
  • Default User Avatar

    Small issue with Rust version:

      --> src/lib.rs:61:13
       |
    61 |             (actual.abs() <= merr)
       |             ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
       |
       = note: `#[warn(unused_parens)]` on by default
    
    warning: unnecessary parentheses around block return value
      --> src/lib.rs:63:13
       |
    63 |             ((actual - expected).abs() / expected <= merr)
       |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
    
    warning: 2 warnings emitted