Compile Error
/in/foo.cc:25:39: error: invalid declarator before 'q' priority_queue<node,vector<node>,cmp> q; ^ /in/foo.cc: In function 'int main()': /in/foo.cc:38:3: error: 'q' was not declared in this scope q.push((node){j,s[j].wi}); ^ /in/foo.cc:43:21: error: 'q' was not declared in this scope printf ("%d %d\n",q.top().wi,q.top().id); ^
信息
- 递交者
- 类型
- 自测
- 题目
- Basic STL I
- 语言
- C++
- 递交时间
- 2019-01-24 22:10:45
- 评测时间
- 2019-01-24 22:10:45
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes