Problem twochoices
User dooweidde
Submission Time 2025-04-09 14:41:02
Score 0
Max Time N/A
Max Memory N/A

Compile Error

twochoices.cpp: In function ‘int main()’:
twochoices.cpp:18:22: error: ‘std::string’ {aka ‘class std::__cxx11::basic_string<char>’} has no member named ‘count’
18 | if (inputnum.count("1")%2 == 1){
| ^~~~~