gpt-3.5-turbo-0301· OpenAI
WildChat-4.8M (AI2)
упрости static bool IsValidRequest(const string& word) { if (word.size() == 0 word[0] ==…
- User
упрости static bool IsValidRequest(const string& word) {
codeif (word.size() == 0 || word[0] == '-') { return false; } return true; } - Assistant
static bool IsValidRequest(const string& word) { return word.size() > 0 && word[0] != '-'; }