Compile Error

foo.cc: In function ‘int main()’:
foo.cc:6:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::__cxx11::basic_string<char>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
    6 |         for(int i=0;i<s.size();i++){
      |                     ~^~~~~~~~~
foo.cc:10:38: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::__cxx11::basic_string<char>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
   10 |                         for(int j=0;j<st.size();j++){
      |                                     ~^~~~~~~~~~
foo.cc:18:50: error: expected primary-expression before ‘)’ token
   18 |                         if(da+xiao+shu<2||zi==0||)
      |                                                  ^

信息

递交者
类型
递交
题目
P2596 密码合规检测3级2 202306
语言
C++
递交时间
2025-07-25 09:49:50
评测时间
2025-07-25 09:49:50
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes