Problem fractions
User Hijackedsoul
Submission Time 2023-07-27 09:24:27
Score 0
Max Time N/A
Max Memory N/A

Compile Error

fractions.cpp: In member function ‘double Fraction::value() const’:
fractions.cpp:11:33: error: ‘long long’ specified with ‘double’
11 | return static_cast<long long double>(numerator) / denominator;
| ^~~~