Problem fraud
User Louis
Submission Time 2024-03-06 19:20:22
Score 0
Max Time N/A
Max Memory N/A

Compile Error

fraud.cpp: In function ‘int main()’:
fraud.cpp:8:37: error: expected ‘;’ before ‘long’
8 | ios_base::sync_with_stdio(false)
| ^
| ;
fraud.cpp:10:13: error: ‘n’ was not declared in this scope
10 | cin >> n;
| ^
fraud.cpp:15:16: error: ‘a’ was not declared in this scope
15 | cin >> a[i];
| ^
fraud.cpp:18:16: error: ‘b’ was not declared in this scope
18 | cin >> b[i];
| ^
fraud.cpp:24:12: error: ‘a’ was not declared in this scope
24 | if(a[i]<a[i+1]){
| ^