Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:13:25: warning: use of an operand of type 'bool' in 'operator++' is deprecated [-Wdeprecated]
   13 |                         ok++;
      |                         ^~
/in/foo.cc:14:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   14 |                 for (int i=0;i<=s.size()-1;i++)
      |                              ~^~~~~~~~~~~~
/in/foo.cc:17:33: warning: use of an operand of type 'bool' in 'operator++' is deprecated [-Wdeprecated]
   17 |                                 sz++;
      |                                 ^~
/in/foo.cc:19:33: warning: use of an operand of type 'bool' in 'operator++' is deprecated [-Wdeprecated]
   19 |                                 zm++;
      |                                 ^~
# 状态 耗时 内存占用
#1 Accepted 2ms 500.0 KiB
#2 Accepted 1ms 536.0 KiB
#3 Accepted 1ms 500.0 KiB
#4 Accepted 1ms 536.0 KiB
#5 Accepted 1ms 480.0 KiB
#6 Accepted 1ms 492.0 KiB
#7 Accepted 1ms 344.0 KiB
#8 Accepted 1ms 472.0 KiB
#9 Accepted 1ms 348.0 KiB
#10 Accepted 1ms 532.0 KiB

信息

递交者
类型
递交
题目
P3012 密码强度202512GESP3级T1
比赛
2026.5.30中级班练习
语言
C++
递交时间
2026-05-30 13:08:24
评测时间
2026-05-30 13:08:24
评测机
分数
100
总耗时
17ms
峰值内存
536.0 KiB