QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#688638 | #9221. Missing Boundaries | ucup-team1617# | Compile Error | / | / | C++23 | 1.6kb | 2024-10-30 11:52:32 | 2024-10-30 11:52:34 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In function ‘void solve()’: answer.code:30:9: error: ‘sort’ was not declared in this scope; did you mean ‘short’? 30 | sort(all(segs)); | ^~~~ | short answer.code:13:25: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 13 | int N, L; scanf("%d%d", &N, &L); | ~~~~~^~~~~~~~~~~~~~~~ answer.code:17:32: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 17 | int l, r; scanf("%d%d", &l, &r); | ~~~~~^~~~~~~~~~~~~~~~ answer.code: In function ‘int main()’: answer.code:70:21: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 70 | int T; scanf("%d", &T); | ~~~~~^~~~~~~~~~