Problem | scicom |
---|---|
User | Roucy |
Submission Time | 2025-06-20 15:09:25 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
scicom.cpp: In function ‘int main()’:
scicom.cpp:7:10: error: could not convert ‘medal.std::__cxx11::basic_string<char>::operator=(bronze)’ from ‘std::__cxx11::basic_string<char>’ to ‘bool’
7 | if (medal= bronze);
| ~~~~~^~~~~~~~
| |
| std::__cxx11::basic_string<char>
scicom.cpp:9:10: error: could not convert ‘medal.std::__cxx11::basic_string<char>::operator=(silver)’ from ‘std::__cxx11::basic_string<char>’ to ‘bool’
9 | if (medal= silver);
| ~~~~~^~~~~~~~
| |
| std::__cxx11::basic_string<char>
scicom.cpp:11:10: error: could not convert ‘medal.std::__cxx11::basic_string<char>::operator=(gold)’ from ‘std::__cxx11::basic_string<char>’ to ‘bool’
11 | if (medal=gold);
| ~~~~~^~~~~
| |
| std::__cxx11::basic_string<char>