Main.c:5: warning: ignoring '#pragma warning ' [-Wunknown-pragmas]
5 | #pragma warning(disable: 4996)
|
Main.c: In function 'main':
Main.c:22:24: warning: unused variable 'count' [-Wunused-variable]
22 | unsigned long long count = 0;
| ^~~~~
Main.c:23:5: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result]
23 | scanf("%d", &n);
| ^~~~~~~~~~~~~~~
Main.c:25:9: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result]
25 | scanf("%lld", &a[i]);
| ^~~~~~~~~~~~~~~~~~~~
Main.c:27:5: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result]
27 | scanf("%d", &q);
| ^~~~~~~~~~~~~~~
Main.c:29:9: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result]
29 | scanf("%lld", &x[i]);
| ^~~~~~~~~~~~~~~~~~~~