/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:16:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(int i=1;i<b.size();i++) //预处理 
              ~^~~~~~~~~
/in/foo.cc:29:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(int i=0;i<a.size();i++)
              ~^~~~~~~~~
/in/foo.cc:35:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
   if(b[n]=a[i])
               ^
/in/foo.cc:39:7: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   if(n==b.size())
      ~^~~~~~~~~~
/in/foo.cc:41:28: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::__cxx11::basic_string<char>::size_type {aka long unsigned int}' [-Wformat=]
    printf("%d",i-b.size()+1);
                            ^
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 208.0 KiB
#2 Wrong Answer 1ms 216.0 KiB
#3 Wrong Answer 1ms 220.0 KiB
#4 Wrong Answer 1ms 216.0 KiB
#5 Wrong Answer 1ms 220.0 KiB
#6 Wrong Answer 1ms 216.0 KiB
#7 Wrong Answer 1ms 212.0 KiB
#8 Wrong Answer 1ms 216.0 KiB
#9 Wrong Answer 1ms 220.0 KiB
#10 Wrong Answer 1ms 216.0 KiB
#11 Wrong Answer 1ms 220.0 KiB
#12 Wrong Answer 1ms 216.0 KiB
#13 Wrong Answer 1ms 220.0 KiB
#14 Wrong Answer 1ms 216.0 KiB
#15 Wrong Answer 1ms 220.0 KiB
#16 Wrong Answer 1ms 216.0 KiB
#17 Wrong Answer 1ms 220.0 KiB
#18 Wrong Answer 1ms 216.0 KiB
#19 Wrong Answer 1ms 220.0 KiB
#20 Wrong Answer 1ms 216.0 KiB
#21 Wrong Answer 1ms 220.0 KiB
#22 Wrong Answer 1ms 216.0 KiB
#23 Wrong Answer 1ms 220.0 KiB
#24 Wrong Answer 1ms 216.0 KiB
#25 Wrong Answer 1ms 220.0 KiB
#26 Wrong Answer 1ms 216.0 KiB
#27 Wrong Answer 1ms 220.0 KiB
#28 Wrong Answer 1ms 216.0 KiB
#29 Wrong Answer 1ms 220.0 KiB
#30 Wrong Answer 1ms 216.0 KiB
#31 Wrong Answer 1ms 220.0 KiB
#32 Wrong Answer 1ms 216.0 KiB
#33 Wrong Answer 1ms 220.0 KiB
#34 Wrong Answer 1ms 216.0 KiB
#35 Wrong Answer 1ms 220.0 KiB
#36 Wrong Answer 1ms 216.0 KiB
#37 Wrong Answer 1ms 220.0 KiB
#38 Wrong Answer 1ms 216.0 KiB
#39 Wrong Answer 1ms 220.0 KiB
#40 Wrong Answer 1ms 216.0 KiB

信息

递交者
类型
递交
题目
P1005 超长数字串
语言
C++
递交时间
2019-05-03 11:37:28
评测时间
2019-05-03 11:37:28
评测机
分数
0
总耗时
59ms
峰值内存
220.0 KiB