e chạy ct k đc và nó báo lỗi ở trên, mọi người xem giúp e với ạ
#include <bits/stdc++.h>
#include <conio.h>
#include <string>
using namespace std;
struct thiSinh{
string name;
int toan;
int ly;
int hoa;
};
main(){
int soTS;
cout<<"nhap so thi sinh:";
cin>>soTS;
struct thiSinh *list;
list=new struct thiSinh[soTS];
cout<<"-------nhap thong tin thi sinh----------\n";
for(int i=0;i<soTS;i++){
cout<<"ho&ten thi sinh thu "<<i+1<<" la:";
getline(cin,(list+i)->name);
fflush(stdin);
cout<<"diem toan:";
cin>>(list+i)->toan;
cout<<"diem ly:";
cin>>(list+i)->ly;
cout<<"diem hoa:";
cin>>(list+i)->hoa;
list++;
}
for(int i=0;i<soTS;i++){
cout<<"ho&ten thi sinh thu "<<i+1<<" la:";
cout<<(list+i)->name<<endl;
cout<<(list+i)->toan<<endl;
cout<<(list+i)->ly<<endl;
cout<<(list+i)->hoa;
list++;
}
getch();
}



83% thành viên diễn đàn không hỏi bài tập, còn bạn thì sao?