QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#881134 | #9880. Origami Warp | Huluobo | Compile Error | / | / | C++14 | 5.2kb | 2025-02-04 12:20:43 | 2025-02-04 12:20:52 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
answer.code: In function ‘std::vector<bool> solve(std::vector<std::array<long long int, 4> >, std::vector<std::array<long long int, 4> >)’: answer.code:50:15: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions] 50 | for (auto [x1, y1, x2, y2] : a) { | ^ answer.code:64:18: error: ‘gcd’ was not declared in this scope 64 | gx = gcd(gx, vx); | ^~~ answer.code:70:18: error: ‘gcd’ was not declared in this scope 70 | gy = gcd(gy, vy); | ^~~ answer.code:94:17: error: ‘gcd’ was not declared in this scope 94 | g = gcd(g, vx); | ^~~ answer.code:108:19: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions] 108 | for (auto [vx, vy] : v) { | ^ answer.code:122:19: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions] 122 | for (auto [x1, y1, x2, y2] : a) { | ^ answer.code: In lambda function: answer.code:148:14: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions] 148 | auto [x1, y1, x2, y2] = arr; | ^