0_0_37828236_1307.cpp: In function 'int main()': 0_0_37828236_1307.cpp:38:3: error: 'mx' was not declared in this scope mx = L + R + min(E, B) * 2 + (B-min(E,B)==0?0:1) + E - min(E, B); ^