Hello! Can you find an error which causes this code on C++ 17:
Jump to turn (9)
- 1Hello! Can you find an error which causes this code on C++ 17:
- 2#include #include using namespace std; bool solve(vector & mass, int pos, vector
- 3The error here comes up when you try this test: 5 X?..
- 4After your suggested correction, it still outputs the wrong answer (the correct
- 5The task I am trying to accomplish with this code requires that there is an X, h
- 6when I correct the code as you suggested it wouldn't compile: #include #include
- 7Now it gives the error: No matching function for call to 'find'
- 8Now the answer is wrong with this test: 3 X.. Can you please correct the code ag
- 9The errors that this code gives me are: No member named 'find' in 'std::vector '
- User
Hello! Can you find an error which causes this code on C++ 17:
- Assistant
Unfortunately, as an AI language model, I am unable to see the code you are referring to. Please provide the code and I will do my best to find any errors.
- User