Problem fractions
User Pyrros
Submission Time 2023-11-25 01:12:49
Score 0
Max Time N/A
Max Memory N/A

Compile Error

fractions.cpp: In function ‘bool cus(std::vector<std::pair<long long unsigned int, long long unsigned int> >&, std::vector<std::pair<long long unsigned int, long long unsigned int> >&)’:
fractions.cpp:8:12: error: ‘class std::vector<std::pair<long long unsigned int, long long unsigned int> >’ has no member named ‘first’
8 | ull k = x.first*y.second;
| ^~~~~
fractions.cpp:8:20: error: ‘class std::vector<std::pair<long long unsigned int, long long unsigned int> >’ has no member named ‘second’
8 | ull k = x.first*y.second;
| ^~~~~~
fractions.cpp:9:12: error: ‘class std::vector<std::pair<long long unsigned int, long long unsigned int> >’ has no member named ‘second’
9 | ull j = x.second*y.first;
| ^~~~~~
fractions.cpp:9:21: error: ‘class std::vector<std::pair<long long unsigned int, long long unsigned int> >’ has no