/ b6e0的OJ /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:8:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(i=j=0;i<s.size();i++)
            ~^~~~~~~~~
/in/foo.cc:10:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   while(j<s.size()&&sum<n)
         ~^~~~~~~~~
/in/foo.cc:15:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   while(j<s.size()&&s[j]=='1')
         ~^~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 2ms 228.0 KiB
#2 Accepted 2ms 224.0 KiB
#3 Accepted 1ms 232.0 KiB
#4 Accepted 2ms 216.0 KiB
#5 Accepted 2ms 228.0 KiB
#6 Accepted 12ms 504.0 KiB
#7 Accepted 12ms 520.0 KiB
#8 Accepted 102ms 2.23 MiB
#9 Accepted 101ms 2.23 MiB
#10 Accepted 107ms 2.266 MiB

信息

递交者
类型
递交
题目
P1002 二进制
语言
C++
递交时间
2020-06-30 22:04:54
评测时间
2020-07-02 19:49:24
评测机
分数
100
总耗时
346ms
峰值内存
2.266 MiB