Problem everyonewinstherace
User Kannan
Submission Time 2023-12-30 15:53:11
Score 0
Max Time N/A
Max Memory N/A

Compile Error

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<_Elements>::__type ...> std::make_tuple(_Elements&& ...)’
1470 | make_tuple(_Elements&&... __args)
| ^~~~~~~~~~
/usr/include/c++/9/tuple:1470:5: note: template argument deduction/substitution failed:
everyonewinst