/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'std::vector<int> mult(std::vector<int>, int)':
/in/foo.cc:8:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(int i1 = 0; i1 < m.size(); i1++)
                  ~~~^~~~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:32:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for(i4 = 0; i4 < m.size(); ++i4)
               ~~~^~~~~~~~~~
/in/foo.cc:39:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   if(i4 != m.size())
      ~~~^~~~~~~~~~~
/in/foo.cc:42:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for(i4 = 0; i4 < m.size(); ++i4)
               ~~~^~~~~~~~~~
/in/foo.cc:49:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   if(i4 != m.size())
      ~~~^~~~~~~~~~~
/in/foo.cc:55:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for(i4 = 0; i4 < m.size(); ++i4)
               ~~~^~~~~~~~~~
/in/foo.cc:62:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   if(i4 != m.size())
      ~~~^~~~~~~~~~~
/in/foo.cc:64:7: warning: unused variable 'num' [-Wunused-variable]
   int num = i1 * 100 + i2 * 10 + i3;
       ^~~
# 状态 耗时 内存占用
#1 Accepted 2ms 380.0 KiB

信息

递交者
类型
递交
题目
P1772 巧妙填数
语言
C++
递交时间
2018-10-05 11:37:02
评测时间
2018-10-05 11:37:02
评测机
分数
100
总耗时
2ms
峰值内存
380.0 KiB