Problem eight
User sharelletqx
Submission Time 2026-04-18 09:18:51
Score 0
Max Time N/A
Max Memory N/A

Compile Error

eight.cpp: In function ‘int main()’:
eight.cpp:10:12: error: could not convert ‘arr[i].std::__cxx11::basic_string<char>::operator=(8)’ from ‘std::__cxx11::basic_string<char>’ to ‘bool’
10 | if(arr[i]=8){
| ~~~~~~^~
| |
| std::__cxx11::basic_string<char>