Problem | fraud |
---|---|
User | Vinayak01 |
Submission Time | 2025-03-21 18:53:15 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
fraud.cpp:4:1: error: ‘::main’ must return ‘int’
4 | string main(){
| ^~~~~~
fraud.cpp: In function ‘int main()’:
fraud.cpp:13:18: error: two or more data types in declaration of ‘y_by_x’
13 | double float y_by_x = INT_MAX;
| ^~~~~~
fraud.cpp:16:42: error: ‘y_by_x’ was not declared in this scope
16 | if((a[i]-a[i+1])/(b[i+1]-b[i]) < y_by_x ){
| ^~~~~~
fraud.cpp:20:8: error: ‘y_by_x’ was not declared in this scope
20 | if(y_by_x <= 0){
| ^~~~~~