kata hint != kata suggestion
This comment is hidden because it contains spoiler information about the solution
Omg i feel so stupid :D sorry
No, it's next bigger, not biggest. Please read the description carefully.
Not a kata issue.
Fixed. Thanks for bringing this to my attention.
Your solution has a bug, it reads a vector out of its bounds. Replace all calls to vec[i] with vec.at(i) and you will see how it crashes.
vec[i]
vec.at(i)
Your solution has a bug, it's not a kata issue.
Separately simple tests pass completely, but if you try to pass full tests, they fall with the wrong answer. If you run the program via clang++ on my computer, then the same tests pass and output what they ask for.
wtf with tests on c++
Loading collection data...
kata hint != kata suggestion
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Omg i feel so stupid :D sorry
No, it's next bigger, not biggest. Please read the description carefully.
Not a kata issue.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Fixed. Thanks for bringing this to my attention.
Your solution has a bug, it reads a vector out of its bounds. Replace all calls to
vec[i]
withvec.at(i)
and you will see how it crashes.Your solution has a bug, it's not a kata issue.
Separately simple tests pass completely, but if you try to pass full tests, they fall with the wrong answer.
If you run the program via clang++ on my computer, then the same tests pass and output what they ask for.
wtf with tests on c++