QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#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.
Details
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) { | ^