Problem yayornay
User SMILE
Submission Time 2024-06-29 09:05:08
Score 0
Max Time N/A
Max Memory N/A

Compile Error

yayornay.cpp: In function ‘int main()’:
yayornay.cpp:7:23: error: could not convert ‘s’ from ‘std::string’ {aka ‘std::__cxx11::basic_string<char>’} to ‘bool’
7 | if (string s = "CPIC"){
| ^
| |
| std::string {aka std::__cxx11::basic_string<char>}