| Problem | firstabc |
|---|---|
| User | Red123 |
| Submission Time | 2025-07-29 16:30:48 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
firstabc.cpp: In function ‘int main()’:
firstabc.cpp:14:13: error: could not convert ‘arr[i].std::__cxx11::basic_string<char>::operator=(65)’ from ‘std::__cxx11::basic_string<char>’ to ‘bool’
14 | if(arr[i] = 'A'){
| ~~~~~~~^~~~~
| |
| std::__cxx11::basic_string<char>
firstabc.cpp:17:18: error: could not convert ‘arr[i].std::__cxx11::basic_string<char>::operator=(66)’ from ‘std::__cxx11::basic_string<char>’ to ‘bool’
17 | else if(arr[i] = 'B'){
| ~~~~~~~^~~~~
| |
| std::__cxx11::basic_string<char>
firstabc.cpp:20:18: error: could not convert ‘arr[i].std::__cxx11::basic_string<char>::operator=(67)’ from ‘std::__cxx11::basic_string<char>’ to ‘bool’
20 | else if(arr[i] = 'C'){
| ~~~~~~~^~~~~
| |
| std::__cxx11::bas