Problem selfdefence
User PlayVoltz
Submission Time 2023-09-11 02:30:44
Score 0
Max Time N/A
Max Memory N/A

Compile Error

selfdefence.cpp: In function ‘int main()’:
selfdefence.cpp:39:31: error: too many arguments to function ‘int selfdefence(int, bool, int)’
39 | cout<<(selfdefence(0, 1, 0, 0)+selfdefence(0, 1, 1, 0))%MOD;
| ^
selfdefence.cpp:10:5: note: declared here
10 | int selfdefence(int index, bool meds, int potency){
| ^~~~~~~~~~~
selfdefence.cpp:39:55: error: too many arguments to function ‘int selfdefence(int, bool, int)’
39 | cout<<(selfdefence(0, 1, 0, 0)+selfdefence(0, 1, 1, 0))%MOD;
| ^
selfdefence.cpp:10:5: note: declared here
10 | int selfdefence(int index, bool meds, int potency){
| ^~~~~~~~~~~