foo.cc: In function 'int main()':
foo.cc:7:6: error: expected ';' before 'n'
cin n;
^
foo.cc:7:7: warning: statement has no effect [-Wunused-value]
cin n;
^
foo.cc:9:10: error: expected ';' before 's'
getline s;
^
foo.cc:9:11: error: statement cannot resolve address of overloaded function
getline s;
^
foo.cc:10:9: error: overloaded function with no contextual type information
a=find.s[1];
^
foo.cc:11:9: error: overloaded function with no contextual type information
b=find.s[2];
^
foo.cc:12:9: error: overloaded function with no contextual type information
c=find.s[n];
^
[Hydro](https://hydro.ac)提供评测服务