/ Vijos /

记录详情

Accepted

foo.cc: In member function 'void gjd::Add(std::vector<int>&)':
foo.cc:18:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   while(i<v.size()&&i<v2.size())
         ~^~~~~~~~~
foo.cc:18:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   while(i<v.size()&&i<v2.size())
                     ~^~~~~~~~~~
foo.cc:25:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   while(i<v.size())
         ~^~~~~~~~~
foo.cc:32:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   while(i<v2.size())
         ~^~~~~~~~~~
foo.cc: In member function 'void gjd::Sub(std::vector<int>)':
foo.cc:48:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   while(i<v.size()&&i<v1.size())
         ~^~~~~~~~~
foo.cc:48:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   while(i<v.size()&&i<v1.size())
                     ~^~~~~~~~~~
foo.cc: In member function 'void gjd::Mul(int)':
foo.cc:68:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   while(i<v.size())
         ~^~~~~~~~~
foo.cc: In member function 'int gjd::Sum()':
foo.cc:97:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for(int i=0;i<v.size();i++)
               ~^~~~~~~~~
foo.cc: In function 'int main()':
foo.cc:119:47: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
  if(y1.CanDiv(6)||y2.CanDiv(6)||y3.v.size()==1&&(y3.v[0]==2||y3.v[0]==3))
                                 ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 388.0 KiB
#2 Accepted 2ms 408.0 KiB
#3 Accepted 2ms 416.0 KiB
#4 Accepted 2ms 384.0 KiB

信息

递交者
类型
递交
题目
P1200 ganggang的烦恼
语言
C++
递交时间
2021-08-09 16:53:25
评测时间
2021-08-09 16:53:25
评测机
分数
100
总耗时
8ms
峰值内存
416.0 KiB