QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#825351 | #9770. Middle Point | ucup-team4579# | Compile Error | / | / | C++14 | 2.3kb | 2024-12-21 18:34:27 | 2024-12-21 18:34:34 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
詳細信息
answer.code: In function ‘void solve()’: answer.code:35:16: error: ‘gcd’ was not declared in this scope; did you mean ‘gcdX’? 35 | int gcdX = gcd(A, X), gcdY = gcd(B, Y); | ^~~ | gcdX answer.code:36:45: error: ‘gcdY’ was not declared in this scope; did you mean ‘gcdX’? 36 | int dx = gcdX == 0 ? 0 : A / gcdX, dy = gcdY == 0 ? 0 : B / gcdY; | ^~~~ | gcdX answer.code:56:15: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions] 56 | for (auto [x1, y1, x2, y2] : ans) { | ^