记录详情

Compile Error

foo.cc: In function 'bool Prime(int)':
foo.cc:8:5: error: expected unqualified-id before 'for'
     for (i=2;i<n/2;i++){
     ^~~
foo.cc:8:15: warning: statement has no effect [-Wunused-value]
     for (i=2;i<n/2;i++){
              ~^~~~
foo.cc:8:23: error: expected ';' before ')' token
     for (i=2;i<n/2;i++){
                       ^
foo.cc: In function 'int main()':
foo.cc:19:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (i=0; i<word.size(); i++)
               ~^~~~~~~~~~~~

自豪的采用jd5进行评测(github.com/masnn/jd5)

信息

递交者
类型
自测
题目
P1133 笨小猴
语言
C++
递交时间
2020-02-23 14:14:44
评测时间
2020-02-23 14:14:44
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes