记录详情

Compile Error

/in/foo.cc: In constructor 'BinTree::BinTree(char*, char*)':
/in/foo.cc:57:36: error: 'strlen' was not declared in this scope
  int ipre=0, imid=0, len=strlen(pre);
                                    ^
/in/foo.cc: In function 'int main(int, char**)':
/in/foo.cc:166:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
  BinTree T("abdecf","dbeacf");
                             ^
/in/foo.cc:166:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]

信息

递交者
类型
自测
语言
C++
递交时间
2019-04-06 11:43:42
评测时间
2019-04-06 11:43:42
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes