/ Vijos /

记录详情

Compile Error

foo.cc: In function 'int jud(std::__cxx11::string, std::__cxx11::string, std::__cxx11::string)':
foo.cc:11:25: warning: left operand of comma operator has no effect [-Wunused-value]
     for(i = 0,j = n-1;i <= n-1,j >= 0;i++,j--)
                       ~~^~~~~~
foo.cc:21:9: warning: use of an operand of type 'bool' in 'operator++' is deprecated [-Wdeprecated]
     flag++;break;
         ^~
foo.cc:25:18: warning: use of an operand of type 'bool' in 'operator++' is deprecated [-Wdeprecated]
              flag++;break;
                  ^~
foo.cc:28:12: error: 'mark' was not declared in this scope
         if(mark)//flag为true则为真,停止判断
            ^~~~
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1449 字符串还原
语言
C++
递交时间
2021-10-26 16:56:22
评测时间
2021-10-26 16:56:22
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes