0_0_21979350_17312.cpp: In function 'int main()': 0_0_21979350_17312.cpp:109:16: error: 'j' was not declared in this scope if(mp[g]<j&&mp[g]) update(mp[g],-1); ^