/in/foo.cc: In function 'int main()':
/in/foo.cc:40:14: error: 'struct SR' has no member named 'month'
if(A[i].month==A[i+1].month && A[i].day==A[i+1].day)
^~~~~
/in/foo.cc:40:28: error: 'struct SR' has no member named 'month'
if(A[i].month==A[i+1].month && A[i].day==A[i+1].day)
^~~~~
/in/foo.cc:40:42: error: 'struct SR' has no member named 'day'
if(A[i].month==A[i+1].month && A[i].day==A[i+1].day)
^~~
/in/foo.cc:40:54: error: 'struct SR' has no member named 'day'
if(A[i].month==A[i+1].month && A[i].day==A[i+1].day)
^~~
/in/foo.cc:42:15: error: 'struct SR' has no member named 'month'
cout<<A[i].month<<' '<<A[i].day<<' '<<A[i].name;
^~~~~
/in/foo.cc:42:32: error: 'struct SR' has no member named 'day'
cout<<A[i].month<<' '<<A[i].day<<' '<<A[i].name;
^~~
/in/foo.cc:42:47: error: 'struct SR' has no member named 'name'
cout<<A[i].month<<' '<<A[i].day<<' '<<A[i].name;
^~~~
/in/foo.cc:43:22: error: 'struct SR' has no member named 'month'
while(i<n && A[i].month==A[i+1].month && A[i].day==A[i+1].day)
^~~~~
/in/foo.cc:43:36: error: 'struct SR' has no member named 'month'
while(i<n && A[i].month==A[i+1].month && A[i].day==A[i+1].day)
^~~~~
/in/foo.cc:43:50: error: 'struct SR' has no member named 'day'
while(i<n && A[i].month==A[i+1].month && A[i].day==A[i+1].day)
^~~
/in/foo.cc:43:62: error: 'struct SR' has no member named 'day'
while(i<n && A[i].month==A[i+1].month && A[i].day==A[i+1].day)
^~~
/in/foo.cc:45:27: error: 'struct SR' has no member named 'name'
cout<<' '<<A[i+1].name;
^~~~
/in/foo.cc: In function 'bool cmp(SR, SR)':
/in/foo.cc:25:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^