QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#733413 | #9544. Grand Prix of Ballance | ucup-team1130# | Compile Error | / | / | C++14 | 1023b | 2024-11-10 18:43:08 | 2024-11-10 18:43:10 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
answer.code: In function ‘void solve()’: answer.code:13:5: error: ‘vector’ was not declared in this scope 13 | vector<ll> tot(m + 1, 0); | ^~~~~~ answer.code:3:1: note: ‘std::vector’ is defined in header ‘<vector>’; did you forget to ‘#include <vector>’? 2 | #include<set> +++ |+#include <vector> 3 | using namespace std; answer.code:13:14: error: expected primary-expression before ‘>’ token 13 | vector<ll> tot(m + 1, 0); | ^ answer.code:13:16: error: ‘tot’ was not declared in this scope 13 | vector<ll> tot(m + 1, 0); | ^~~ answer.code:32:24: error: expected primary-expression before ‘>’ token 32 | vector<pair<ll, int>> ans; | ^~ answer.code:32:27: error: ‘ans’ was not declared in this scope; did you mean ‘abs’? 32 | vector<pair<ll, int>> ans; | ^~~ | abs answer.code:36:5: error: ‘sort’ was not declared in this scope; did you mean ‘short’? 36 | sort(ans.begin(), ans.end()); | ^~~~ | short