Problem fractions
User thatlycheeoolongdrink
Submission Time 2024-03-22 13:17:12
Score 0
Max Time N/A
Max Memory N/A

Compile Error

fractions.cpp: In function ‘int main()’:
fractions.cpp:30:51: error: ‘compare’ was not declared in this scope
30 | std::sort(fractions.begin(), fractions.end(), compare);
| ^~~~~~~
fractions.cpp:30:59: error: expected ‘}’ at end of input
30 | std::sort(fractions.begin(), fractions.end(), compare);
| ^
fractions.cpp:10:12: note: to match this ‘{’
10 | int main() {
| ^