students;
string line;
ifstream data("students.txt");
while(getline(data, line))
{
Student student;
vector splitted_text = split(line, ' ');
student.fullname = splitted_text.at(0);
student.score = stoi(splitted_text.at(1));
students.push_back(student);
}
int sum = 0;
for (auto student : students) sum += student.score;
cout << "O'rtacha summa: " << sum / students.size();
}