/ Vijos /

记录详情

Compile Error

/in/foo.cc: In function 'std::__cxx11::string getSwapped(std::__cxx11::string)':
/in/foo.cc:6:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(int i = 0; i < a.size() / 2; ++i){
                 ~~^~~~~~~~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:34:3: error: return-statement with no value, in function returning 'int' [-fpermissive]
   return;
   ^~~~~~
/in/foo.cc:47:3: error: return-statement with no value, in function returning 'int' [-fpermissive]
   return;
   ^~~~~~
/in/foo.cc:51:2: error: return-statement with no value, in function returning 'int' [-fpermissive]
  return;
  ^~~~~~

信息

递交者
类型
自测
题目
P1449 字符串还原
语言
C++
递交时间
2024-10-08 08:14:59
评测时间
2024-10-08 08:14:59
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes