QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#32942 | #141. 8 染色 | flower | Compile Error | / | / | C++14 | 11.3kb | 2022-05-25 23:44:17 | 2023-01-15 14:36:19 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
詳細信息
Alice.code: In member function ‘void sub1::SegmentTree::upd(int, int, int, int, int, int)’: Alice.code:100:39: error: no matching function for call to ‘sub1::SegmentTree::upd(int, int&, int, int&, int&)’ 100 | p <= mid ? upd(ls, l, mid, p, k) : upd(rs, mid + 1, r, p, k); | ~~~^~~~~~~~~~~~~~~~~~ Alice.code:98:22: note: candidate: ‘void sub1::SegmentTree::upd(int, int, int, int, int, int)’ 98 | void upd(int u, int l, int r, int p, int k, int s) { | ^~~ Alice.code:98:22: note: candidate expects 6 arguments, 5 provided Alice.code:100:63: error: no matching function for call to ‘sub1::SegmentTree::upd(int, int, int&, int&, int&)’ 100 | p <= mid ? upd(ls, l, mid, p, k) : upd(rs, mid + 1, r, p, k); | ~~~^~~~~~~~~~~~~~~~~~~~~~ Alice.code:98:22: note: candidate: ‘void sub1::SegmentTree::upd(int, int, int, int, int, int)’ 98 | void upd(int u, int l, int r, int p, int k, int s) { | ^~~ Alice.code:98:22: note: candidate expects 6 arguments, 5 provided Alice.code: In function ‘void sub1::work()’: Alice.code:149:17: error: ‘SGT’ was not declared in this scope 149 | SGT s[2]; | ^~~ Alice.code:150:17: error: ‘s’ was not declared in this scope; did you mean ‘sy’? 150 | s[0].init(my), s[1].init(my); | ^ | sy Alice.code:152:36: error: ‘m’ was not declared in this scope 152 | for(int i = 0; i < m; i ++) { | ^ Alice.code:153:34: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’ 153 | for(auto [c, u] : del[i]) { | ^ Alice.code:156:34: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’ 156 | for(auto [c, u] : add[i]) { | ^ Alice.code:157:88: error: ‘class std::vector<int>’ has no member named ‘beign’; did you mean ‘begin’? 157 | int p = upper_bound(sy.begin(), sy.end(), u.r[1]) - sy.beign() - 1; | ^~~~~ | begin Alice.code:159:46: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’ 159 | auto [mx, ss] = s[!c].qry(1, 0, my, 0, p); | ^ Alice.code: In function ‘int main()’: Alice.code:179:16: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 179 | freopen("in.txt", "r", stdin); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~