记录详情

Compile Error

foo.cc: In function 'int main()':
foo.cc:9:27: error: cannot convert 'std::__cxx11::string {aka std::__cxx11::basic_string<char>}' to 'const char*' for argument '1' to 'size_t strlen(const char*)'
     for(int i=0;i<strlen(a);i++)
                           ^
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。

信息

递交者
类型
递交
题目
P1061 A8-5 删除字符串中多余的一种字符
语言
C++
递交时间
2021-03-03 20:32:21
评测时间
2021-03-03 20:32:21
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes