记录详情

Compile Error

foo.cc:12:12: warning: 'judgement' initialized and declared 'extern'
 extern int judgement=0;
            ^
foo.cc: In function 'bool isInteger(char*)':
foo.cc:81:25: error: 'strlen' was not declared in this scope
     size_t len=strlen(ch);
                         ^
foo.cc:84:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for(int i=1;i<len;i++)
                      ^
foo.cc:89:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         if(k==len-1)
             ^
foo.cc:95:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for(int i=0;i<len;i++)
                      ^
foo.cc:100:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         if(k==len)
             ^

自豪的采用 HydroJudger 进行评测(github.com/hydro-dev/HydroJudger)

信息

递交者
类型
自测
题目
P1013 类的输入输出--点与向量
语言
C++
递交时间
2020-04-14 17:10:55
评测时间
2020-04-14 17:10:55
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes