记录详情

Compile Error

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

信息

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