Ad
  • Custom User Avatar

    Oh, sure, I forget about bills I can't split
    Thanks

  • Custom User Avatar

    Read the instructions again and some of the many posts down here. Also, the log appears above the test result, so it seems you're confusing the result of one test with the log of the next one.

  • Custom User Avatar

    'YES' should equal 'NO'

    Log
    [25, 50, 100, 25, 25, 25, 50]
    25
    25
    not enough cash
    NO

    Sorry, what
    My result IS 'no', but ofc 'yes' should equals 'no'

  • Default User Avatar

    Sorry, you're right, I had misread the instructions. Thanks!

  • Custom User Avatar

    yes, he asked same question two places, (already answered), the test is correct

  • Custom User Avatar

    Try with this:

    package kata
    
    import ("fmt")
    
    func Tickets(peopleInLine []int) string {
      fmt.Printf("%v", peopleInLine)
      // your code here
    }
    
  • Default User Avatar

    is there any way to see the input in the failed tests?
    I havent found a way to see them in Go

  • Default User Avatar

    "ofpjeypaeb jztxtsivsk"

    why is jztxtsivsk the correct option if both have the same value. However ofpjeypaeb appears first in the string. This is an example of the failed tests.

  • Custom User Avatar

    Each letter of a word scores points according to its position in the alphabet: a = 1, b = 2, c = 3 etc.

  • Default User Avatar

    Golang . -Could you try to give some examples of what is expected to do.

    Expected
    : ebiwtainje //1058 appears first in the text, yet so "suxlvhzvlo" is supposed to be
    //the correct one
    to equal
    : suxlvhzvlo //1058

    If I set suxlvhzvlo to be the selected word then in other tests, i get the same issue but the other way around.
    Expected
    : olserjevmr
    to equal
    : xokzqwcqyl
    Even tho in this case xokzqwcqyl appears before olserjevmr