Problem traineeline
User R9q5P8
Submission Time 2025-11-14 13:42:15
Score 0
Max Time N/A
Max Memory N/A

Compile Error

traineeline.cpp: In function ‘int main()’:
traineeline.cpp:21:42: error: type/value mismatch at argument 1 in template parameter list for ‘template<class _T1, class _T2> struct std::pair’
21 | line.push_back(new pair<people, height>);
| ^
traineeline.cpp:21:42: note: expected a type, got ‘people’
traineeline.cpp:21:42: error: type/value mismatch at argument 2 in template parameter list for ‘template<class _T1, class _T2> struct std::pair’
traineeline.cpp:21:42: note: expected a type, got ‘height’