0_0_36328974_11320.cpp: In function 'void sol()': 0_0_36328974_11320.cpp:42:29: error: 'max' was not declared in this scope if (x)res = max(res, mx[x]); ^