/ MYOJ /

记录详情

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 216.0 KiB
#2 Accepted 2ms 228.0 KiB
#3 Accepted 2ms 216.0 KiB
#4 Accepted 2ms 228.0 KiB
#5 Accepted 2ms 220.0 KiB
#6 Accepted 12ms 516.0 KiB
#7 Accepted 12ms 524.0 KiB
#8 Accepted 101ms 2.238 MiB
#9 Accepted 101ms 2.188 MiB
#10 Accepted 107ms 2.27 MiB

信息

递交者
类型
递交
题目
P1019 [b6e0OJ]二进制
语言
C++
递交时间
2020-07-05 22:17:11
评测时间
2020-07-05 22:17:11
评测机
分数
100
总耗时
346ms
峰值内存
2.27 MiB