Problem | contestcalc |
---|---|
User | Joashhh |
Submission Time | 2023-09-09 11:01:32 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
contestcalc.cpp: In function ‘int main()’:
contestcalc.cpp:27:17: error: could not convert ‘people[i].std::__cxx11::basic_string<char>::operator=(names[j])’ from ‘std::__cxx11::basic_string<char>’ to ‘bool’
27 | if(people[i] = names[j]){
| ~~~~~~~~~~^~~~~~~~~~
| |
| std::__cxx11::basic_string<char>
contestcalc.cpp:28:14: error: ‘score’ was not declared in this scope; did you mean ‘scores’?
28 | total += score[j];
| ^~~~~
| scores