QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#838036 | #9925. LR String | za11 | Compile Error | / | / | C++17 | 99b | 2024-12-30 18:37:53 | 2024-12-30 18:37:53 |
Judging History
answer
#include <bits/stdc++.h>
using namespace std;
int index[20];
int main ()
{
cout<<1;
}
Details
answer.code:5:13: error: ‘int index [20]’ redeclared as different kind of entity 5 | int index[20]; | ^ In file included from /usr/include/string.h:432, from /usr/include/c++/13/cstring:42, from /usr/include/x86_64-linux-gnu/c++/13/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 | ^~~~~