记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:13:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(i=0;i<s.length();i++)
          ~^~~~~~~~~~~
/in/foo.cc:15:7: warning: value computed is not used [-Wunused-value]
   s[i]-'0';
        
/in/foo.cc:19:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(i=0;i<s.length();i++)
          ~^~~~~~~~~~~
/in/foo.cc:30:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(i=0;i<s.length();i++)
          ~^~~~~~~~~~~
/in/foo.cc:34:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(i=0;i<s.length();i++)
          ~^~~~~~~~~~~
/in/foo.cc:36:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for(int j=0;j<s.length();j++)
               ~^~~~~~~~~~~
/in/foo.cc:49:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(i=0;i<s.length();i++)
          ~^~~~~~~~~~~
/in/foo.cc:54:8: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if(cnt==s.length())
     ~~~^~~~~~~~~~~~
/in/foo.cc:59:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(i=0;i<s.length();i++)
          ~^~~~~~~~~~~
/in/foo.cc:9:17: warning: unused variable 'k' [-Wunused-variable]
  int i,a[10000],k=0,cnt=0;
                 ^
/in/foo.cc:10:7: warning: unused variable 'b' [-Wunused-variable]
  bool b[10000];
       ^
# 状态 耗时 内存占用
#1 Wrong Answer 2ms 216.0 KiB
#2 Wrong Answer 1ms 224.0 KiB
#3 Wrong Answer 1ms 220.0 KiB
#4 Wrong Answer 1ms 220.0 KiB
#5 Wrong Answer 1ms 204.0 KiB

信息

递交者
类型
递交
题目
P1101 神奇的加倍
语言
C++
递交时间
2021-06-05 15:11:45
评测时间
2021-06-05 15:11:45
评测机
分数
0
总耗时
9ms
峰值内存
224.0 KiB