Accepted
foo.cc: In function 'int main()':
foo.cc:2:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
2 | #define _for(i,a,b) for(int i=a;i<b;i++)
......
10 | _for(i,0,str.length())
| ~~~~~~~~~~~~~~~~
foo.cc:10:9: note: in expansion of macro '_for'
10 | _for(i,0,str.length())
| ^~~~
[Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 自测
- 题目
- P1054 OO11-6 括号的深度
- 语言
- C++
- 递交时间
- 2022-05-08 00:30:59
- 评测时间
- 2022-05-08 00:30:59
- 评测机
- 分数
- 10
- 总耗时
- 3ms
- 峰值内存
- 384.0 KiB