0_0_18260637_12822.cpp: In function 'int main()': 0_0_18260637_12822.cpp:36:72: error: expected ')' before ';' token cur += (l + 1) * ( t - 1) + (l + 1 - (t2 == 0 ? l : t2); ^