Accepted
/in/foo.cc: In function 'int main()': /in/foo.cc:11:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (int i = 2; i < n; i++) ^~~ /in/foo.cc:18:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' for (int i = 0; i < a.size(); i++) ^~~ /in/foo.cc:18:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < a.size(); i++) ~~^~~~~~~~~~
信息
- 递交者
- 类型
- 递交
- 题目
- P1040 OO10-1 基于vector的素数筛选法
- 比赛
- 《面向对象程序设计方法》课程赛事5
- 语言
- C++
- 递交时间
- 2019-04-13 20:20:23
- 评测时间
- 2019-04-13 20:20:23
- 评测机
- 分数
- 100
- 总耗时
- 9ms
- 峰值内存
- 448.0 KiB