Problem traineeline
User XinLoiDuongNgu
Submission Time 2025-08-01 21:07:22
Score 0
Max Time N/A
Max Memory N/A

Compile Error

traineeline.cpp: In function ‘int main()’:
traineeline.cpp:22:27: error: type/value mismatch at argument 1 in template parameter list for ‘template<class _T1, class _T2> struct std::pair’
22 | dq.push_back(pair <h,x> );
| ^
traineeline.cpp:22:27: note: expected a type, got ‘h’
traineeline.cpp:22:27: error: type/value mismatch at argument 2 in template parameter list for ‘template<class _T1, class _T2> struct std::pair’
traineeline.cpp:22:27: note: expected a type, got ‘x’