Problem | goneviral |
---|---|
User | PlayVoltz |
Submission Time | 2024-02-21 10:31:15 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
goneviral.cpp: In function ‘int32_t main()’:
goneviral.cpp:76:69: error: too many arguments to function ‘long long int calc(long long int)’
76 | cout<<min(calc(path[low]), min(calc(path[low-1], calc(path[low+1])));
| ^
goneviral.cpp:47:5: note: declared here
47 | int calc(int skip){
| ^~~~
goneviral.cpp:76:70: error: no matching function for call to ‘min(long long int)’
76 | cout<<min(calc(path[low]), min(calc(path[low-1], calc(path[low+1])));
| ^
In file included from /usr/include/c++/9/bits/char_traits.h:39,
from /usr/include/c++/9/ios:40,
from /usr/include/c++/9/ostream:38,
from /usr/include/c++/9/iostream:39,
from goneviral.cpp:1:
/usr/include/c++/9/bits/stl_algobase.h:198:5: note: candidat