QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#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.
詳細信息
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); | ^