Compile Error

foo.cc: In function 'int main()':
foo.cc:19:15: error: request for member 'find' in 'a', which is of non-class type 'std::string [1000]' {aka 'std::__cxx11::basic_string<char> [1000]'}
   19 |          if(a.find("z")==string::npos)
      |               ^~~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1087 3-6 查找资料
语言
C++
递交时间
2023-05-22 21:35:55
评测时间
2023-05-22 21:35:55
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes