foo.cc: In function 'int main()':
foo.cc:8:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=j=0;i<s.size();i++)
~^~~~~~~~~
foo.cc:10:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(j<s.size()&&sum<n)
~^~~~~~~~~
foo.cc:15:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(j<s.size()&&s[j]=='1')
~^~~~~~~~~
自豪的采用 HydroJudge 进行评测(github.com/hydro-dev/HydroJudge)
正在同步测试数据,请稍后
{"receive":"2020-07-02T11:48:31.598Z","handle":"2020-07-02T11:48:31.598Z","cache_start":"2020-07-02T11:48:31.609Z","read_cases":"2020-07-02T11:48:32.200Z","judge":"2020-07-02T11:48:32.200Z","done":"2020-07-02T11:48:33.773Z"}