Problem ultimateifelse
User YTj
Submission Time 2023-07-13 13:03:21
Score 0
Max Time N/A
Max Memory N/A

Compile Error

ultimateifelse.cpp: In function ‘int main()’:
ultimateifelse.cpp:6:260: error: no match for ‘operator<<’ (operand types are ‘std::ostream’ {aka ‘std::basic_ostream<char>’} and ‘<unresolved overloaded function type>’)
6 | cin >> n >> s;if(n==1) cout << "one";else if (n== 9){cout << 9;}else if (s== "hello") cout << "world";else if (s== "world" and n== 3) cout << "andss";else if (s== "hmm" or n== 20) cout << "sus";else if(s.size() > 5) cout << "long";else if(s.size() ==n) cout << equal;else if(n%2==0) cout<< 222222222222222222222;else cout << "clown";
| ~~~~~^~~~~~~~
In file included from /usr/include/c++/9/istream:39,