QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#64610 | #1806. Character Grid | GuanYunchang | Compile Error | / | / | C++20 | 4.0kb | 2022-11-25 01:36:04 | 2022-11-25 01:36:06 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
詳細信息
answer.code:34:12: error: ‘std::set<std::__cxx11::basic_string<char> > dup’ redeclared as different kind of entity 34 | set<string>dup ; | ^~~ In file included from /usr/include/c++/11/bits/atomic_wait.h:44, from /usr/include/c++/11/bits/atomic_base.h:41, from /usr/include/c++/11/bits/shared_ptr_atomic.h:33, from /usr/include/c++/11/memory:78, from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:82, from answer.code:1: /usr/include/unistd.h:531:12: note: previous declaration ‘int dup(int)’ 531 | extern int dup (int __fd) __THROW __wur; | ^~~ answer.code: In function ‘bool col(long long int, long long int, long long int)’: answer.code:48:17: error: request for member ‘insert’ in ‘dup’, which is of non-class type ‘int(int) noexcept’ 48 | dup.insert(r) ; | ^~~~~~ answer.code: In function ‘bool row(long long int, long long int, long long int)’: answer.code:66:32: error: request for member ‘count’ in ‘dup’, which is of non-class type ‘int(int) noexcept’ 66 | if((e.count(rw) or dup.count(rw)) and mode==0) | ^~~~~ answer.code: In function ‘void build(long long int)’: answer.code:86:25: error: request for member ‘clear’ in ‘dup’, which is of non-class type ‘int(int) noexcept’ 86 | dup.clear() ; | ^~~~~ answer.code:104:25: error: request for member ‘clear’ in ‘dup’, which is of non-class type ‘int(int) noexcept’ 104 | dup.clear() ; | ^~~~~ answer.code:124:25: error: request for member ‘clear’ in ‘dup’, which is of non-class type ‘int(int) noexcept’ 124 | dup.clear() ; | ^~~~~ answer.code:142:25: error: request for member ‘clear’ in ‘dup’, which is of non-class type ‘int(int) noexcept’ 142 | dup.clear() ; | ^~~~~