Accepted
/in/foo.cc: In function 'int mex(std::vector<int>&)': /in/foo.cc:7:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < a.size(); i++) ~~^~~~~~~~~~ /in/foo.cc:9:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (a[i] >= 0 && a[i] < a.size()) /in/foo.cc:12:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < a.size(); i++) ~~^~~~~~~~~~
信息
- 递交者
- 类型
- 自测
- 题目
- P1569 Problem 2A. 序列中未出现的最小的非负整数
- 语言
- C++
- 递交时间
- 2024-04-27 12:53:16
- 评测时间
- 2024-04-27 12:53:16
- 评测机
- 分数
- 10
- 总耗时
- 1ms
- 峰值内存
- 356.0 KiB