0_0_25637413_14880.cpp: In function 'int main()': 0_0_25637413_14880.cpp:55:42: error: 'sqm' was not declared in this scope for(int i=1;i<=1e5;i++)loca[i]=(i-1)/sqm+1; ^