Problem fraud
User lHog
Submission Time 2025-02-03 17:00:51
Score 0
Max Time N/A
Max Memory N/A

Compile Error

fraud.cpp: In function ‘int main()’:
fraud.cpp:31:9: error: expected primary-expression before ‘if’
31 | if (da>0)r=min(r,static_cast<double>(db)/da);
| ^~
fraud.cpp:32:9: error: ‘else’ without a previous ‘if’
32 | else if (db>0)l=max(l,static_cast<double>(da)/db);
| ^~~~