Main.c:7: warning: ignoring '#pragma warning ' [-Wunknown-pragmas]
7 | #pragma warning(disable: 4996)
|
Main.c: In function 'main':
Main.c:26:3: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result]
26 | scanf("%d", &n);
| ^~~~~~~~~~~~~~~
Main.c:28:5: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result]
28 | scanf("%lld", &a[i]);
| ^~~~~~~~~~~~~~~~~~~~
Main.c:30:3: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result]
30 | scanf("%d", &q);
| ^~~~~~~~~~~~~~~
Main.c:32:5: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result]
32 | scanf("%lld", &x[i]);
| ^~~~~~~~~~~~~~~~~~~~