Problem | ultimateifelse |
---|---|
User | YTj |
Submission Time | 2023-07-13 13:01:42 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
ultimateifelse.cpp: In function ‘int main()’:
ultimateifelse.cpp:6:96: error: ‘world’ was not declared in this scope
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;
| ^~~~~
ultimateifelse.cpp:6:142: error: ‘andss’ was not declared in this scope
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 i