deda.c: In function 'main':
deda.c:46:2: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result]
46 | scanf("%d%d", &n, &q);
| ^~~~~~~~~~~~~~~~~~~~~
deda.c:52:3: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result]
52 | scanf("%s", s);
| ^~~~~~~~~~~~~~
deda.c:54:4: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result]
54 | scanf("%d%d", &x, &i), i--;
| ^~~~~~~~~~~~~~~~~~~~~
deda.c:57:4: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result]
57 | scanf("%d%d", &x, &i), i--;
| ^~~~~~~~~~~~~~~~~~~~~