0_0_37241483_4129.cpp: In function 'int main()': 0_0_37241483_4129.cpp:54:31: error: 'q' was not declared in this scope while(~scanf("%d%d%d",&n,&m,&q)){ ^ 0_0_37241483_4129.cpp:71:5: error: 'bi' was not declared in this scope bi ^