Problem cny
User geometric
Submission Time 2023-02-10 20:13:32
Score 0
Max Time N/A
Max Memory N/A

Compile Error

cny.cpp:43:22: error: macro "rep" requires 3 arguments, but only 2 given
43 | rep(i, min(m, sz(v))) ans += v[i];
| ^
cny.cpp:11: note: macro "rep" defined here
11 | #define rep(x, start, end) \
|
cny.cpp: In function ‘int main()’:
cny.cpp:43:2: error: ‘rep’ was not declared in this scope
43 | rep(i, min(m, sz(v))) ans += v[i];
| ^~~