Problem | fractions |
---|---|
User | usernamehere |
Submission Time | 2023-12-18 15:49:16 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
fractions.cpp: In function ‘bool comp(std::pair<int, int>, std::pair<int, int>)’:
fractions.cpp:3:12: error: expected primary-expression before ‘long’
3 | #define ll long long
| ^~~~
fractions.cpp:8:13: note: in expansion of macro ‘ll’
8 | return (ll(a.fi)*b.se < ll(b.fi)*a.se);
| ^~
fractions.cpp:8:13: error: expected ‘)’ before ‘long’
8 | return (ll(a.fi)*b.se < ll(b.fi)*a.se);
| ~^
| )