QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#328654 | #7998. 矩阵 | Kevin090228 | Compile Error | / | / | C++23 | 3.7kb | 2024-02-15 22:49:51 | 2024-02-15 22:49:52 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
answer.code: In function ‘void span(int, long long int*)’: answer.code:110:9: error: reference to ‘span’ is ambiguous 110 | span(ls[x],gr); | ^~~~ In file included from /usr/include/c++/13/ranges:45, from /usr/include/x86_64-linux-gnu/c++/13/bits/stdc++.h:89, from answer.code:2: /usr/include/c++/13/span:56:11: note: candidates are: ‘template<class _Type, long unsigned int _Extent> class std::span’ 56 | class span; | ^~~~ answer.code:106:6: note: ‘void span(int, long long int*)’ 106 | void span(int x,ll *gr) | ^~~~ answer.code:112:9: error: reference to ‘span’ is ambiguous 112 | span(rs[x],gr+siz[ls[x]]+1); | ^~~~ /usr/include/c++/13/span:56:11: note: candidates are: ‘template<class _Type, long unsigned int _Extent> class std::span’ 56 | class span; | ^~~~ answer.code:106:6: note: ‘void span(int, long long int*)’ 106 | void span(int x,ll *gr) | ^~~~ answer.code: In function ‘int main()’: answer.code:199:17: error: reference to ‘span’ is ambiguous 199 | span(row[i],grid[i]+1); | ^~~~ /usr/include/c++/13/span:56:11: note: candidates are: ‘template<class _Type, long unsigned int _Extent> class std::span’ 56 | class span; | ^~~~ answer.code:106:6: note: ‘void span(int, long long int*)’ 106 | void span(int x,ll *gr) | ^~~~