Compile Error
/in/foo.cc: In function 'int main()':
/in/foo.cc:8:15: error: expected ';' before 'int'
8 | cin>>s
| ^
| ;
9 | int x=s.find("ooo");//从第一个位置查找“e”,若没有则输出“-1”
| ~~~
/in/foo.cc:10:12: error: 'x' was not declared in this scope
10 | if(x!=-1)cout<<"Human";
| ^
信息
- 递交者
- 类型
- 递交
- 题目
- P3003 人机测试(test)
- 语言
- C++
- 递交时间
- 2026-05-23 15:00:44
- 评测时间
- 2026-05-23 15:00:44
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes