Problem ultimateifelse
User apples
Submission Time 2026-04-17 15:03:04
Score 0
Max Time N/A
Max Memory N/A

Compile Error

ultimateifelse.cpp: In function ‘int main()’:
ultimateifelse.cpp:11:16: error: ‘hello’ was not declared in this scope; did you mean ‘ftello’?
11 | } else if(s==hello) {
| ^~~~~
| ftello
ultimateifelse.cpp:13:16: error: ‘world’ was not declared in this scope
13 | } else if(s==world&&n==3) {
| ^~~~~
ultimateifelse.cpp:15:16: error: ‘hmm’ was not declared in this scope
15 | } else if(s==hmm||n==20) {
| ^~~
ultimateifelse.cpp:18:13: error: expected primary-expression before ‘long’
18 | cout << long;
| ^~~~
ultimateifelse.cpp:20:10: error: no match for ‘operator<<’ (operand types are ‘std::ostream’ {aka ‘std::basic_ostream<char>’} and ‘<unresolved overloaded function type>’)
20 | cout << equal;
| ~~~~~^~~~~~~~
In file included from /usr/include/c++/9/istream:39,