Ad
  • Custom User Avatar

    The first test case passes an empty list. That's probably the reason.

  • Custom User Avatar

    There are still problem with the formatting.

    A good practice to share some code in the comment is to wrap it around this character -> ```

    Write like this :

    ```
    // Beautiful code
    ```

    To have something like this :

    // Beautiful code
    

    Check the preview too! I can help you as soon as I can work around your code :)

  • Custom User Avatar

    The site have currently issues. Stand by :)

  • Custom User Avatar

    Hey'

    The first issue is to have a type associated with the type std::vector.

    const std::vector<HERE_THE_TYPE> countPositivesSumNegatives(const std::vector<HERE_THE_TYPE> input)
    

    They might be some other errors (like the return who might be std::vector ({pos,neg}))

  • Default User Avatar

    I tried a few solutions and had no problem.

  • Custom User Avatar

    Hi.

    I have an issue with this Kata in Python.

    The code I wrote works on an external IDE but not when I try to submit the code here. I get the error :

    ValueError: invalid literal for int() with base 10: ''