Wrong Answer

foo.cc: In function 'int main()':
foo.cc:17:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(int i=0;i< strlen(str);i++){
              ~^~~~~~~~~~~~~
foo.cc:48:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(int j=0;j<out.length();j++){
              ~^~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 输入一个数4, expect 4. 2ms 384.0 KiB
#2 Wrong Answer Read 输入一个数7, expect 7. 1ms 384.0 KiB

信息

递交者
类型
递交
题目
P1143 编码中有多少个1
语言
C++
递交时间
2021-10-18 22:01:21
评测时间
2021-10-18 22:01:21
评测机
分数
0
总耗时
3ms
峰值内存
384.0 KiB