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

Compile Error

fractions.cpp: In function ‘int main()’:
fractions.cpp:24:44: error: expected primary-expression at end of input
24 | if (equivalent(fraction.first, {
| ^
fractions.cpp:24:44: error: expected ‘}’ at end of input
fractions.cpp:24:45: error: expected ‘)’ at end of input
24 | if (equivalent(fraction.first, {
| ~ ~^
| )
fractions.cpp:24:45: error: expected ‘)’ at end of input
24 | if (equivalent(fraction.first, {
| ~ ~^
| )
fractions.cpp:24:44: error: expected statement at end of input
24 | if (equivalent(fraction.first, {
| ^
fractions.cpp:24:44: error: expected ‘}’ at end of input
fractions.c