0_0_21887289_20109.cpp: In function 'int main()': 0_0_21887289_20109.cpp:64:22: error: incompatible types in assignment of 'const long long int' to 'll [100005] {aka long long int [100005]}' mine = min(mine[i], g[i][j].first); ^