Problem razlika
User WJR
Submission Time 2025-07-05 16:33:10
Score 0
Max Time N/A
Max Memory N/A

Compile Error

razlika.cpp: In function ‘int main()’:
razlika.cpp:5:30: error: expected ‘;’ before ‘:’ token
5 | ios_base::sync_with_stdio(0): cin.tie(0);
| ^
| ;
razlika.cpp:16:24: error: ‘a’ was not declared in this scope
16 | diff.insert(arr[i-1]-a[i]);
| ^
razlika.cpp:19:25: error: expected ‘)’ before ‘;’ token
19 | for(; right <=n; left++; right++){
| ~ ^
| )
razlika.cpp:19:34: error: expected ‘;’ before ‘)’ token
19 | for(; right <=n; left++; right++){
| ^
| ;