0_0_25489457_16524.cpp: In function 'int main()': 0_0_25489457_16524.cpp:43:27: error: too many arguments to function 'void add(long long int)' add(a[i].id, 1); ^ 0_0_25489457_16524.cpp:21:13: note: declared here inline void add(LL x) ^