Problem | everyonewinstherace |
---|---|
User | Kannan |
Submission Time | 2023-12-30 15:52:18 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
everyonewinstherace.cpp: In function ‘int maximum_arr(std::vector<long long int>, int)’:
everyonewinstherace.cpp:7:14: error: ‘arr’ was not declared in this scope
7 | maxI = max(arr[i], maxI);
| ^~~
everyonewinstherace.cpp: In function ‘int main()’:
everyonewinstherace.cpp:28:30: error: no matching function for call to ‘make_tuple(long long int [a], long long int [a], long long int [a])’
28 | txv[i] = make_tuple(t, x, v);
| ^
In file included from /usr/include/c++/9/functional:54,
from /usr/include/c++/9/pstl/glue_algorithm_defs.h:13,
from /usr/include/c++/9/algorithm:71,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:65,
from everyonewinstherace.cpp:1:
/usr/include/c++/9/tuple:1470:5: note: candidate: ‘template<class ... _Elements> constexpr std::tuple<typename std::__decay_and_strip<_Eleme