Accepted

/in/foo.cc: In function 'bool check(std::__cxx11::string)':
/in/foo.cc:9:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(int i=0;i<str.size();i++)
              ~^~~~~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:26:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(int i=0;i<st.size();i++)
              ~^~~~~~~~~~
/in/foo.cc:31:8: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    if(i==st.size()-1&&check(s))
       ~^~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 1ms 500.0 KiB
#2 Accepted 2ms 976.0 KiB
#3 Accepted 1ms 376.0 KiB
#4 Accepted 1ms 356.0 KiB

信息

递交者
类型
递交
题目
P2596 密码合规检测3级2 202306
比赛
GESP3级 考前练习
语言
C++
递交时间
2024-06-24 14:02:56
评测时间
2024-06-24 14:02:56
评测机
分数
100
总耗时
7ms
峰值内存
976.0 KiB