sparklers.c: In function 'solve':
sparklers.c:12:27: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
12 | if (r + 1 == n || l > 0 && xx[l] - xx[l - 1] < xx[r + 1] - xx[r]) {
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sparklers.c: In function 'main':
sparklers.c:30:2: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result]
30 | scanf("%d%d%d", &n, &i_, &t), i_--;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
sparklers.c:32:3: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result]
32 | scanf("%d", &xx[i]);
| ^~~~~~~~~~~~~~~~~~~