0_0_20049665_4446.cpp: In function 'int main()': 0_0_20049665_4446.cpp:110:16: error: 'tmp' was not declared in this scope nxt=update(tmp,has(a[i][j].first),a[i][j].first*a[i][j].second,a[i][j].second); ^