/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'std::__cxx11::string work(std::__cxx11::string)':
/in/foo.cc:15:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for(int j=0;j<s[i].length();j++) {
               ~^~~~~~~~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:36:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  while(i<str.length()-1) {
        ~^~~~~~~~~~~~~~~
/in/foo.cc:39:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    while(i<str.length()-1&&str[i]==' ') i++;
          ~^~~~~~~~~~~~~~~
/in/foo.cc:42:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   while(i<str.length()-1&&str[i]==' ') i++;
         ~^~~~~~~~~~~~~~~
/in/foo.cc:44:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   while(i<str.length()-1&&str[i]!=' '&&str[i]!='!') {
         ~^~~~~~~~~~~~~~~
/in/foo.cc:52:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(int i=0;i<res.size()-1;i++) cout<<res[i]<<" ";
              ~^~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 1ms 352.0 KiB
#2 Wrong Answer 1ms 356.0 KiB
#3 Accepted 1ms 332.0 KiB
#4 Accepted 1ms 356.0 KiB
#5 Wrong Answer 1ms 328.0 KiB

信息

递交者
类型
递交
题目
P1419 Dejected Birthday-替身
语言
C++
递交时间
2022-01-16 20:27:34
评测时间
2022-01-16 20:27:34
评测机
分数
60
总耗时
7ms
峰值内存
356.0 KiB