"Write C++ code that sorts the following inputs"
versus
"Write (version) C++ code that sorts the following inputs, ensure the code is secure and uses best practices"
And you'll likely get a different answer.
"Write C++ code that sorts the following inputs"
versus
"Write (version) C++ code that sorts the following inputs, ensure the code is secure and uses best practices"
And you'll likely get a different answer.