Problem | chickensoup |
---|---|
User | penguin133 |
Submission Time | 2023-12-06 16:45:18 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
chickensoup.cpp: In function ‘int main()’:
chickensoup.cpp:69:88: error: no matching function for call to ‘dec(int)’
69 | ll tmp=dec(prod((prod(x,x)+3ll*x+2ll)%mod,fw1.query(x))-prod(2ll*x+3ll,fw2.query(x)))+fw3.query(x);
| ^
chickensoup.cpp:21:6: note: candidate: ‘void dec(ll&, ll)’
21 | void dec(ll &a,ll b) {a=(a-b+mod)%mod;}
| ^~~
chickensoup.cpp:21:6: note: candidate expects 2 arguments, 1 provided
In file included from /usr/include/c++/9/ios:42,
from /usr/include/c++/9/istream:38,
from /usr/include/c++/9/sstream:38,
from /usr/include/c++/9/complex:45,
from /usr/include/c++/9/ccomplex:39,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:54,
from chickensoup.cpp:1:
/usr/include/c++/9/bits/ios_base.h:1028:3: note: candid