QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#232315 | #7517. Flying Ship Story | riconduongcung | Compile Error | / | / | C++17 | 2.8kb | 2023-10-30 10:02:31 | 2023-10-30 10:02:31 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In lambda function: answer.code:85:24: error: conflicting declaration ‘auto _’ 85 | const auto &[_, x2, y2] = ret[j]; | ^ answer.code:84:24: note: previous declaration as ‘std::tuple_element<0, const std::tuple<int, int, int> >::type& _’ 84 | const auto &[_, x1, y1] = ret[i]; | ^ answer.code:86:31: error: use of ‘x2’ before deduction of ‘auto’ 86 | if (x1 == a && a == x2 || y1 == b && b == y2) fallen = true; | ^~ answer.code:86:53: error: use of ‘y2’ before deduction of ‘auto’ 86 | if (x1 == a && a == x2 || y1 == b && b == y2) fallen = true; | ^~ answer.code: In function ‘int32_t main()’: answer.code:65:12: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 65 | freopen("input.txt", "r", stdin); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~