Accepted
foo.cc: In function ‘int main()’: foo.cc:52:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Node>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 52 | for (i = 0; i < v.size(); i++) | ~~^~~~~~~~~~ foo.cc:60:15: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Node>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 60 | if (i >= v.size()) | ~~^~~~~~~~~~~
信息
- 递交者
- 类型
- 自测
- 题目
- P1581 Problem 4A. 判断序列连续区间是否相等
- 语言
- C++
- 递交时间
- 2024-05-07 20:19:34
- 评测时间
- 2024-05-07 20:19:34
- 评测机
- 分数
- 10
- 总耗时
- 3ms
- 峰值内存
- 324.0 KiB