QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#869949 | #9685. nim 游戏 | minstdfx | Compile Error | / | / | C++20 | 5.8kb | 2025-01-25 14:02:40 | 2025-01-25 14:02:46 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code:38:19: error: ‘int index [63][100009]’ redeclared as different kind of entity 38 | int index[63][maxn]; | ^ In file included from /usr/include/string.h:462, from /usr/include/c++/14/cstring:43, from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:121, from answer.code:1: /usr/include/strings.h:61:1: note: previous declaration ‘const char* index(const char*, int)’ 61 | index (const char *__s, int __c) __THROW | ^~~~~ answer.code: In function ‘ll dfs1(ll, int, int)’: answer.code:48:24: error: invalid types ‘<unresolved overloaded function type>[int]’ for array subscript 48 | int p=index[bw][i]; | ^ answer.code:65:24: error: invalid types ‘<unresolved overloaded function type>[int]’ for array subscript 65 | int p=index[bw][i]; | ^ answer.code:69:28: error: invalid types ‘<unresolved overloaded function type>[int]’ for array subscript 69 | int q=index[bw][j]; | ^ answer.code: In function ‘int dfs2(ll, int, int, ll)’: answer.code:99:24: error: invalid types ‘<unresolved overloaded function type>[int]’ for array subscript 99 | int p=index[bw][i]; | ^ answer.code:125:20: error: invalid types ‘<unresolved overloaded function type>[int]’ for array subscript 125 | int p=index[bw][i]; | ^ answer.code:129:24: error: invalid types ‘<unresolved overloaded function type>[int]’ for array subscript 129 | int q=index[bw][j]; | ^ answer.code: In function ‘void solve()’: answer.code:171:40: error: invalid types ‘<unresolved overloaded function type>[int]’ for array subscript 171 | for(int bw=0;bw<=60;++bw) index[bw][i]=i; | ^ answer.code:179:19: error: invalid types ‘<unresolved overloaded function type>[int]’ for array subscript 179 | sort(index[bw]+1,index[bw]+n+1,[&](int ai,int bi) { | ^ answer.code:179:31: error: invalid types ‘<unresolved overloaded function type>[int]’ for array subscript 179 | sort(index[bw]+1,index[bw]+n+1,[&](int ai,int bi) { | ^