| Problem | evenorodd |
|---|---|
| User | bribritt |
| Submission Time | 2025-12-16 22:22:31 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
evenorodd.cpp: In function ‘int main()’:
evenorodd.cpp:3:17: error: ‘a’ was not declared in this scope
3 | #define f(x) if(a==x) cout<<"Even"; if(a==x+1) cout<<"Odd";
| ^
evenorodd.cpp:4:14: note: in expansion of macro ‘f’
4 | #define g(x) f(x) f(x+2) f(x+4) f(x+6) f(x+8)
| ^
evenorodd.cpp:5:14: note: in expansion of macro ‘g’
5 | #define h(x) g(x) g(x+10) g(x+20) g(x+30) g(x+40) g(x+50) g(x+60) g(x+70) g(x+80) g(x+90)
| ^
evenorodd.cpp:6:14: note: in expansion of macro ‘h’
6 | #define i(x) h(x) h(x+100) h(x+200) h(x+300) h(x+400) h(x+500) h(x+600) h(x+700) h(x+800) h(x+900)
| ^
evenorodd.cpp:7:14: note: in expansion of macro ‘i’
7 | #define j(x) i(x) i(x+1000) i(x+2000) i(x+3000) i(x+4000) i(x+5000) i(x+6000) i(x+7000) i(x+8000) i(x+9000)
| ^
evenorodd.cpp:8:14: note: in expansion of macro ‘j’
8 | #defi