Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:8:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(int i=0;i<s.size()/2+1;i++)
                 ~^~~~~~~~~~~~~
/in/foo.cc:14:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     if(cnt==s.size()/2+1)
        ~~~^~~~~~~~~~~~~~
/in/foo.cc:19:1: error: expected ';' before '}' token
 }
 ^

信息

递交者
类型
递交
题目
P1636 A5-1 超级素数判断
语言
C++
递交时间
2024-08-08 10:13:35
评测时间
2024-08-08 10:13:35
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes