记录详情

Compile Error

/in/foo.cc: In function 'bool check(std::__cxx11::string, std::__cxx11::string)':
/in/foo.cc:15:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(int i=1;i<a.size();i++)//逐个比对
              ~^~~~~~~~~
/in/foo.cc:18:6: error: 'temp' was not declared in this scope
   if(temp>7)  temp-=26;
      ^~~~
/in/foo.cc:19:6: error: 'temp' was not declared in this scope
   if(temp<=-23)   temp+=26;
      ^~~~
/in/foo.cc:20:6: error: 'temp' was not declared in this scope
   if(temp!=k) return false;
      ^~~~

信息

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