记录详情

Compile Error

/in/foo.cc: In function 'std::__cxx11::string PalindromicString(std::__cxx11::string)':
/in/foo.cc:11:21: error: 'ceil' was not declared in this scope
      half=ceil(len/2);
                     ^
/in/foo.cc:10:5: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
     else
     ^~~~
/in/foo.cc:12:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'else'
  for(int i=1;i<=half;i++){
  ^~~

信息

递交者
类型
递交
题目
P1027 判断回文
语言
C++
递交时间
2024-05-22 15:51:00
评测时间
2024-05-22 15:51:00
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes