Problem | fractions |
---|---|
User | AlphanumericUsername |
Submission Time | 2023-12-08 14:52:17 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
fractions.cpp: In function ‘bool sortf(std::pair<long long unsigned int, long long unsigned int>&, std::pair<long long unsigned int, long long unsigned int>&)’:
fractions.cpp:6:38: error: lvalue required as left operand of assignment
6 | if(f1.first*f2.second =f2.first*f1.second) f1.first*f2.second <f2.first*f1.second;
| ^~~~~~