Problem | candles |
---|---|
User | username |
Submission Time | 2023-11-25 14:14:11 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
candles.cpp: In function ‘void runtc()’:
candles.cpp:20:68: error: expected ‘]’ before ‘)’ token
20 | ans=min(ans,min(abs(arr[i]),abs(arr[i-k+1]))+abs(arr[i]-arr[i-k+1));
| ^
| ]