Compile Error
/in/foo.cc:1:1: error: 'vector' does not name a type vector<int> a; ^~~~~~ /in/foo.cc: In function 'int main()': /in/foo.cc:6:5: error: 'cin' was not declared in this scope cin>>n; ^~~ /in/foo.cc:10:29: error: 'a' was not declared in this scope for(int i = 0 ; i < a.size() ; i++) ^ /in/foo.cc:20:13: error: 'cout' was not declared in this scope cout<<t<<" "; ^~~~ /in/foo.cc:21:13: error: 'a' was not declared in this scope a.push_back(t); ^
信息
- 递交者
- 类型
- 自测
- 题目
- P1040 OO10-1 基于vector的素数筛选法
- 语言
- C++
- 递交时间
- 2019-04-13 19:37:47
- 评测时间
- 2019-04-13 19:37:47
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes