/ OPS /

记录详情

Compile Error

/in/foo.cc: In function 'int main(int, const char**)':
/in/foo.cc:31:9: error: conflicting declaration 'int a'
     int a =strcmp(c,d);
         ^
/in/foo.cc:9:10: note: previous declaration as 'char a [10000]'
     char a[10000];
          ^
/in/foo.cc:31:22: error: cannot convert 'std::__cxx11::string {aka std::__cxx11::basic_string<char>}' to 'const char*' for argument '1' to 'int strcmp(const char*, const char*)'
     int a =strcmp(c,d);
                      ^

信息

递交者
类型
递交
题目
P1037 可排列相等
语言
C++
递交时间
2023-03-22 18:12:41
评测时间
2023-03-22 18:12:41
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes