TYPING question(what's error here)urgent

#include
#include<bits/stdc++.h>
using namespace std;
#include
long i = 0, j;
long t, n, m, k, k1;
vector v1;
vector v2;
vector s;
long double sum, sum1 = 0;
int main(void)
{int i,t;
i=0;
cin >> t;
while (i < t)
{sum=0.2;
cin >> n;
for (int i = 0; i < n; i++)
{
string temp;
cin >> temp;
s.push_back(temp);
}
//sum=0.2 assign
sort(s.begin(), s.end());
for (int i = 0; i < n; i++)
{
sum = 0.2;
for (int j = 1; j < s[i].size(); j++)
{
if (s[i][j - 1] == ‘d’ || s[i][j - 1] == ‘f’)
{
if (s[i][j] == ‘j’ || s[i][j] == ‘k’)
{
sum = sum + 0.2;
}
else
{
sum = sum + 0.4;
}
}
if (s[i][j - 1] == ‘j’ || s[i][j - 1] == ‘k’)
{
if (s[i][j] == ‘d’ || s[i][j] == ‘f’)
{
sum = sum + 0.2;
}
else
{
sum = sum + 0.4;
}
}
}
v1.push_back(sum);
}
long pos = 0;
for (int i = 0; i < n; i++)
{
for (j = i + 1; j < n; j++)
{
if (s[i].compare(s[j]) == 0&&s[i].length()!=1)
{
v1[j] = v1[i] / 2.00;
pos = j;
// cout<<v1[i]<<" "<<v1[j]<<endl;
}
}
if (pos != 0)
{
i = i + pos + 1;
pos = 0;
}
}

``````	for (auto x : v1)
{
sum1 = sum1 + x;
}
i++;
s.clear();
v1.clear();
v2.push_back(sum1);
``````

sum1=0;
}
for (auto x : v2)
{
cout<<long(x*10)<<endl;
}

}