Problem ultimateifelse
User Kiameimon
Submission Time 2023-12-13 20:00:29
Score 0
Max Time N/A
Max Memory N/A

Compile Error

ultimateifelse.cpp: In function ‘int main()’:
ultimateifelse.cpp:5:14: error: ‘else’ without a previous ‘if’
5 | #define elif else if
| ^~~~
ultimateifelse.cpp:13:2: note: in expansion of macro ‘elif’
13 | elif(n == 9) cout << 9; ret
| ^~~~
ultimateifelse.cpp:14:2: error: ‘else’ without a previous ‘if’
14 | else{
| ^~~~
ultimateifelse.cpp:5:14: error: ‘else’ without a previous ‘if’
5 | #define elif else if
| ^~~~
ultimateifelse.cpp:17:3: note: in expansion of macro ‘elif’
17 | elif(s == "world" && n == 3) cout << "andss"; ret
| ^~~~
ultimateifelse.cpp:5:14: error: ‘else’ without a previous ‘if’
5 | #define elif else if
| ^~~~
ultimateifelse.cpp:18:3: note: in expansion of macro ‘elif’
18 | elif(s == "hmm" || n == 20) cout << "sus"; ret
| ^~~~
ultimateifelse.cpp:5:14: error: ‘else’ without