0_0_17437567_20953.cpp: In function 'int main()': 0_0_17437567_20953.cpp:82:45: error: expected ';' before ')' token ans+=(it->second)*(it->second-1))/2; ^