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

Compile Error

yayornay.cpp: In function ‘int main()’:
yayornay.cpp:7:15: error: expected initializer before ‘==’ token
7 | if (string s == "CPIC"){
| ^~
yayornay.cpp:7:14: error: expected ‘)’ before ‘==’ token
7 | if (string s == "CPIC"){
| ~ ^~~
| )
yayornay.cpp:7:24: 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>}