Compile Error
foo.cc: In function 'int main()': foo.cc:27:9: error: 'st' was not declared in this scope cin>>st[i]; ^~ foo.cc:27:9: note: suggested alternative: 'str' cin>>st[i]; ^~ str foo.cc:31:12: error: 'st' was not declared in this scope cout>>f(st[i]); ^~ foo.cc:31:12: note: suggested alternative: 'str' cout>>f(st[i]); ^~ str foo.cc:24:11: warning: unused variable 'str' [-Wunused-variable] string *str = new string[n]; ^~~
[Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 自测
- 题目
- P1258 括号匹配
- 语言
- C++
- 递交时间
- 2021-07-16 15:00:26
- 评测时间
- 2021-07-16 15:01:17
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes