norela.cpp: In function 'int main()':
norela.cpp:8:26: warning: unused variable 'no' [-Wunused-variable]
8 | int n, m, q, bit, i, no, mn;
| ^~
norela.cpp:10:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
10 | scanf("%d%d", &n, &m);
| ~~~~~^~~~~~~~~~~~~~~~
norela.cpp:12:12: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
12 | scanf("%d", &q);
| ~~~~~^~~~~~~~~~
norela.cpp:14:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
14 | scanf("%d", &bit);
| ~~~~~^~~~~~~~~~~~