/ Vijos /

记录详情

Compile Error

/in/foo.cc: In function 'bool check()':
/in/foo.cc:8:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(int i=0;i<=m.size()/2;i++)
              ~^~~~~~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:39:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  for(int i=1;i<=30;i++)
  ^~~
/in/foo.cc:41:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
   if(check()){
   ^~
/in/foo.cc:42:21: error: 'i' was not declared in this scope
    printf("STEP=%d",i);
                     ^

信息

递交者
类型
递交
题目
P1304 回文数
语言
C++
递交时间
2022-01-14 23:40:03
评测时间
2022-01-14 23:40:03
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes