Problem cny
User back2square1
Submission Time 2023-11-26 23:26:45
Score 0
Max Time N/A
Max Memory N/A

Compile Error

cny.cpp: In function ‘int main()’:
cny.cpp:46:32: error: ‘n’ was not declared in this scope
46 | fri1(N) {int a; cin >> a; if (n%2==0) x.pb(a);}
| ^
cny.cpp:48:11: error: ‘a’ was not declared in this scope
48 | sort(all(a),greater<int>());
| ^
cny.cpp:13:24: note: in definition of macro ‘all’
13 | #define all(_a) begin((_a)), end((_a))
| ^~