QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#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;
}
詳細信息
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 | ^~~~~