QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#722602 | #5754. Minimum Scalar Product | ZhangYiDe | Compile Error | / | / | C++98 | 737b | 2024-11-07 19:38:21 | 2024-11-07 19:38:21 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
詳細信息
answer.code: In function ‘int main()’: answer.code:9:49: error: ‘>>’ should be ‘> >’ within a nested template argument list 9 | priority_queue<int, vector<int>, greater<int>> pq1 = {}; | ^~ | > > answer.code:9:52: error: in C++98 ‘pq1’ must be initialized by constructor, not by ‘{...}’ 9 | priority_queue<int, vector<int>, greater<int>> pq1 = {}; | ^~~ answer.code:10:25: error: in C++98 ‘pq2’ must be initialized by constructor, not by ‘{...}’ 10 | priority_queue<int> pq2 = {}; | ^~~