Problem goombatower
User Xiaoyang
Submission Time 2023-12-11 11:24:20
Score 0
Max Time N/A
Max Memory N/A

Compile Error

goombatower.cpp: In function ‘int main()’:
goombatower.cpp:14:37: error: expression cannot be used as a function
14 | #define rep(i,a,b) for (ll i=a;i<a(b);i++)
| ^
goombatower.cpp:77:2: note: in expansion of macro ‘rep’
77 | rep(i,1,n+1)update(rt,1,n,i,i,1);
| ^~~