0_0_20123594_15321.cpp: In function 'int main()': 0_0_20123594_15321.cpp:22:20: error: expected ';' before ')' token s+=(l*(l-1))/2)*i; ^