Problem christmasfeast
User kxd
Submission Time 2023-08-14 21:31:43
Score 0
Max Time N/A
Max Memory N/A

Compile Error

christmasfeast.cpp: In function ‘int main()’:
christmasfeast.cpp:44:16: error: expected ‘;’ before ‘for’
44 | cout << 'Yes'
| ^
| ;
christmasfeast.cpp:45:8: error: ‘i’ was not declared in this scope
45 | forn(i,n) cout << n-i << ' ';
| ^
christmasfeast.cpp:13:35: note: in definition of macro ‘forn’
13 | #define forn(i,n) for (int i = 0; i < n; i++)
| ^