QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#179722 | #6416. Classical Scheduling Problem | maxrgby | Compile Error | / | / | C++20 | 3.1kb | 2023-09-15 02:45:31 | 2023-09-15 02:45:31 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In function ‘std::pair<bool, long long int> works(long long int, std::vector<std::pair<std::pair<long long int, long long int>, long long int> >&, long long int)’: answer.code:22:9: error: expected ‘,’ or ‘;’ before ‘priority_queue’ 22 | priority_queue<pair<pair<int, int>, int>, vector<pair<pair<int, int>, int>>, decltype(&cmp_first)> big(cmp_first); | ^~~~~~~~~~~~~~ answer.code:30:17: error: ‘big’ was not declared in this scope; did you mean ‘std::endian::big’? 30 | big.push(arr[i]); | ^~~ | std::endian::big In file included from /usr/include/c++/11/bits/align.h:35, from /usr/include/c++/11/memory:72, from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:82, from answer.code:3: /usr/include/c++/11/bit:402:5: note: ‘std::endian::big’ declared here 402 | big = __ORDER_BIG_ENDIAN__, | ^~~