Problem | fraud |
---|---|
User | haydendoo |
Submission Time | 2022-12-30 02:11:59 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
fraud.cpp: In function ‘int main()’:
fraud.cpp:61:3: error: ‘ld’ was not declared in this scope
61 | ld ratio=(b2-b1)/(a1-a2);
| ^~
fraud.cpp:62:11: error: expected unqualified-id before ‘<=’ token
62 | if(ratio<=low || ratio >=high) {
| ^~
fraud.cpp:65:12: error: missing template arguments before ‘;’ token
65 | low=ratio;
| ^
fraud.cpp:68:3: error: ‘ld’ was not declared in this scope
68 | ld ratio=(b2-b1)/(a1-a2);
| ^~
fraud.cpp:69:11: error: expected unqualified-id before ‘<=’ token
69 | if(ratio<=low || ratio >=high) {
| ^~
fraud.cpp:72:13: error: missing template arguments before ‘;’ token
72 | high=ratio;
| ^