QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#313882 | #784. 旋转卡壳 | HuangHanSheng | Compile Error | / | / | C++17 | 4.1kb | 2024-01-25 08:56:54 | 2024-01-25 08:56:56 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In member function ‘pt pt::operator+=(const pt&)’: answer.code:43:5: warning: no return statement in function returning non-void [-Wreturn-type] 43 | } | ^ answer.code: In member function ‘pt pt::operator-=(const pt&)’: answer.code:47:5: warning: no return statement in function returning non-void [-Wreturn-type] 47 | } | ^ answer.code: In function ‘std::vector<pt> minkovski(std::vector<pt>&, std::vector<pt>&)’: answer.code:130:62: error: expected primary-expression before ‘?’ token 130 | if(sgn(cross(h1[p1+1]-h1[p1], h2[p2+1]-h2[p2])) >= 0)? | ^ answer.code:132:5: error: expected primary-expression before ‘}’ token 132 | }while(p1 or p2); | ^ answer.code:130:63: error: expected ‘:’ before ‘}’ token 130 | if(sgn(cross(h1[p1+1]-h1[p1], h2[p2+1]-h2[p2])) >= 0)? | ^ | : 131 | // res.emplace_back(cur); 132 | }while(p1 or p2); | ~ answer.code:132:5: error: expected primary-expression before ‘}’ token 132 | }while(p1 or p2); | ^