Problem fraud
User haydendoo
Submission Time 2022-12-30 01:58:03
Score 0
Max Time N/A
Max Memory N/A

Compile Error

fraud.cpp: In function ‘int main()’:
fraud.cpp:58:3: error: ‘ld’ was not declared in this scope
58 | ld ratio=(b2-b1)/(a1-a2);
| ^~
fraud.cpp:59:6: error: ‘ratio’ was not declared in this scope
59 | if(ratio<=low || ratio >=high) {
| ^~~~~
fraud.cpp:62:8: error: ‘ratio’ was not declared in this scope
62 | high=ratio;
| ^~~~~
fraud.cpp:65:3: error: ‘ld’ was not declared in this scope
65 | ld ratio=(b2-b1)/(a1-a2);
| ^~
fraud.cpp:66:6: error: ‘ratio’ was not declared in this scope
66 | if(ratio<=low || ratio >=high) {
| ^~~~~
fraud.cpp:69:7: error: ‘ratio’ was not declared in this scope
69 | low=ratio;
| ^~~~~