Ad
  • Default User Avatar

    codewars #include's the different files together, essentially just concatenating them. So you're causing conflicts by adding the entire std namespace into the main file.

    You can still have that using directive inside your function.

  • Default User Avatar

    which language?
    Edit: it was c++
    I'll look to make tests more verbose when I find the time. Any help appreciated.