QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#122172 | #4799. Rotate Sum 3 | ZhaoZiLong | Compile Error | / | / | C++23 | 4.4kb | 2023-07-09 17:22:54 | 2023-07-09 17:22:55 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
詳細信息
answer.code:66:45: error: elements of array ‘std::tuple<long long int, long long int, long long int> a [400040]’ have incomplete type 66 | std::tuple<long long, long long, long long> a[4 * M]; | ^ answer.code:66:45: error: storage size of ‘a’ isn’t known answer.code: In function ‘int main()’: answer.code:88:21: error: ‘make_tuple’ is not a member of ‘std’ 88 | a[i] = std::make_tuple(det(A - Q[i], B - Q[i]), (A - Q[i]).len2(), (B - Q[i]).len2()); | ^~~~~~~~~~ answer.code:5:1: note: ‘std::make_tuple’ is defined in header ‘<tuple>’; did you forget to ‘#include <tuple>’? 4 | #include <vector> +++ |+#include <tuple> 5 | answer.code:72:10: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 72 | scanf("%d", &n); | ~~~~~^~~~~~~~~~ answer.code:75:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 75 | scanf("%lld %lld", &x, &y); | ~~~~~^~~~~~~~~~~~~~~~~~~~~