Problem fractions
User Jinxuan
Submission Time 2023-12-05 22:05:33
Score 0
Max Time N/A
Max Memory N/A

Compile Error

fractions.cpp: In function ‘int32_t main()’:
fractions.cpp:20:15: error: expected primary-expression before ‘long’
20 | pq.push(mp((long double(a)) / (long double(b)),x));
| ^~~~
fractions.cpp:20:15: error: expected ‘)’ before ‘long’
20 | pq.push(mp((long double(a)) / (long double(b)),x));
| ~^~~~
| )