/ Vijos /

记录详情

Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:18:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(int i=0;i<in.size();i++) a.push_back(in[i]-'0');
              ~^~~~~~~~~~
/in/foo.cc:22:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for(int i=0;i<a.size();i++){
               ~^~~~~~~~~
/in/foo.cc:26:9: warning: value computed is not used [-Wunused-value]
     c[i]-n;
          
/in/foo.cc:30:10: error: expected ';' before ':' token
   steps++:
          ^

信息

递交者
类型
自测
题目
P1304 回文数
语言
C++
递交时间
2018-07-03 21:59:17
评测时间
2018-07-03 21:59:17
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes