Run id: 165381
Main.cc:4:1: error: expected unqualified-id before 'if'
if(x.z' used as declaration
Main.cc: In function 'int main()':
Main.cc:15:6: error: 's' was not declared in this scope
cin>>s[i].yw>>s[i].sx>>s[i].yy;
^
Main.cc:20:13: error: expected ';' before 'stu'
for(int j=1 stu{
^
Main.cc:20:13: error: 'stu' was not declared in this scope
Main.cc:20:16: error: expected ';' before '{' token
for(int j=1 stu{
^
Main.cc:20:16: error: expected primary-expression before '{' token
Main.cc:20:16: error: expected ')' before '{' token
Main.cc:21:5: warning: unused variable 'xh' [-Wunused-variable]
int xh;
^
Main.cc:22:5: warning: unused variable 'yw' [-Wunused-variable]
int yw;
^
Main.cc:23:5: warning: unused variable 'sx' [-Wunused-variable]
int sx;
^
Main.cc:24:5: warning: unused variable 'yy' [-Wunused-variable]
int yy;
^
Main.cc:25:8: warning: unused variable 'z' [-Wunused-variable]
double z;
^
Main.cc:20:9: warning: unused variable 'j' [-Wunused-variable]
for(int j=1 stu{
^
Main.cc:26:2: error: 's' was not declared in this scope
}s[301];
^
Main.cc:27:10: error: 'stu' was not declared in this scope
bool cup(stu x,stu y);j