0_0_31650802_22004.cpp: In function 'int main()':
0_0_31650802_22004.cpp:18:11: error: 'air' does not name a type
air=new air[m];
^
0_0_31650802_22004.cpp:22:16: error: request for member 'A' in '*(air + ((sizetype)(((long long unsigned int)i) * 4ull)))', which is of non-class type 'int'
cin>>air[i].A>>air[i].H;
^
0_0_31650802_22004.cpp:22:26: error: request for member 'H' in '*(air + ((sizetype)(((long long unsigned int)i) * 4ull)))', which is of non-class type 'int'
cin>>air[i].A>>air[i].H;
^
0_0_31650802_22004.cpp:27:15: error: request for member 'A' in '*(air + ((sizetype)(((long long unsigned int)i) * 4ull)))', which is of non-class type 'int'
if(air[i].A==-1) continue;
^
0_0_31650802_22004.cpp:30:16: error: request for member 'A' in '*(air + ((sizetype)(((long long unsigned int)j) * 4ull)))', which is of non-class type 'int'
if(air[j].A>=0)
^
0_0_31650802_22004.cpp:32:25: error: request for member 'H' in '*(air + ((sizetype)(((long long unsigned int)i) * 4ull)))', which is of non-class type 'int'
if(sni[j]<=air[i].H)
^
0_0_31650802_22004.cpp:35:15: error: request for member 'A' in '*(air + ((sizetype)(((long long unsigned int)i) * 4ull)))', which is of non-class type 'int'
air[i].A=-1;
^
0_0_31650802_22004.cpp:40:15: error: request for member 'A' in '*(air + ((sizetype)(((long long unsigned int)i) * 4ull)))', which is of non-class type 'int'
if(air[i].A>0)
^
0_0_31650802_22004.cpp:42:19: error: request for member 'A' in '*(air + ((sizetype)(((long long unsigned int)i) * 4ull)))', which is of non-class type 'int'
elseif(air[i].A==0 && air[i].H>0)
^
0_0_31650802_22004.cpp:42:34: error: request for member 'H' in '*(air + ((sizetype)(((long long unsigned int)i) * 4ull)))', which is of non-class type 'int'
elseif(air[i].A==0 && air[i].H>0)
^
0_0_31650802_22004.cpp:42:37: error: 'elseif' was not declared in this scope
elseif(air[i].A==0 && air[i].H>0)
^
0_0_31650802_22004.cpp:44:15: error: request for member 'H' in '*(air + ((sizetype)(((long long unsigned int)i) * 4ull)))', which is of non-class type 'int'
if(air[i].H==0)
^
0_0_31650802_22004.cpp:46:13: error: request for member 'A' in '*(air + ((sizetype)(((long long unsigned int)i) * 4ull)))', which is of non-class type 'int'
air[i].A=-1;
^
|