museum.cpp: In function 'long long int CountSimilarPairs(std::vector<int>, std::vector<int>, std::vector<int>)':
museum.cpp:17:36: error: expected ')' before ']' token
ret+=((a[i]-1)*a[i]+(b[i]-1])*b[i]+(c[i]-1)*c[i])/2;
^
museum.cpp:17:60: error: expected ')' before ';' token
ret+=((a[i]-1)*a[i]+(b[i]-1])*b[i]+(c[i]-1)*c[i])/2;
^
museum.cpp:20:49: error: expected ')' before ']' token
ret-=((d[i][j]-1)*d[i][j]+(e[i][j]-1])*e[i][j]+(f[i][j]-1)*f[i][j])/2;
^
museum.cpp:20:82: error: expected ')' before ';' token
ret-=((d[i][j]-1)*d[i][j]+(e[i][j]-1])*e[i][j]+(f[i][j]-1)*f[i][j])/2;
^
museum.cpp:24:32: error: invalid types 'long long int[int]' for array subscript
ret+=(f[i][j][k]-1])*f[i][j][k]/2;
^
museum.cpp:24:35: error: expected ')' before ']' token
ret+=(f[i][j][k]-1])*f[i][j][k]/2;
^