记录详情

Accepted

foo.cc: In function 'int Count(std::vector<Loc>&, std::vector<std::__cxx11::basic_string<char> >&)':
foo.cc:39:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Loc>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   39 |         for(int i=0;i<v.size();i++)
      |                     ~^~~~~~~~~
foo.cc:40:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Loc>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   40 |                 for(int j=0;j<nlac.size();j++)
      |                             ~^~~~~~~~~~~~
foo.cc: In function 'std::vector<Loc> Necklaces(std::vector<std::__cxx11::basic_string<char> >&)':
foo.cc:54:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   54 |         for(int i=0;i<M.size();i++)
      |                     ~^~~~~~~~~
foo.cc:55:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   55 |                 for(int j=0;j<M[i].size();j++)
      |                             ~^~~~~~~~~~~~
foo.cc: In function 'bool Search(std::vector<Loc>&, int, int)':
foo.cc:67:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Loc>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   67 |         for(int i=0;i<v.size();i++)
      |                     ~^~~~~~~~~
foo.cc: In function 'void Output(std::vector<Loc>&)':
foo.cc:75:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Loc>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   75 |         for(int i=0;i<v.size();i++)
      |                     ~^~~~~~~~~
foo.cc: In function 'void Output(std::vector<std::__cxx11::basic_string<char> >&)':
foo.cc:82:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   82 |         for(int i=0;i<M.size();i++)
      |                     ~^~~~~~~~~
foo.cc:84:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   84 |                 for(int j=0;j<M[i].size();j++)
      |                             ~^~~~~~~~~~~~
foo.cc: In function 'void Solve(std::vector<std::__cxx11::basic_string<char> >&, int, int, int, int, std::vector<Loc>&)':
foo.cc:99:32: warning: comparison of integer expressions of different signedness: 'std::vector<Loc>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
   99 |                 if(Path.size() > sl)
      |                    ~~~~~~~~~~~~^~~~
foo.cc:104:32: warning: comparison of integer expressions of different signedness: 'std::vector<Loc>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
  104 |                 if(Path.size() < sd)
      |                    ~~~~~~~~~~~~^~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 1ms 256.0 KiB
#2 Accepted 1ms 384.0 KiB
#3 Accepted 2ms 256.0 KiB
#4 Accepted 2ms 256.0 KiB

信息

递交者
类型
递交
题目
6 营救公主
比赛
2022暑期青少年社团(告别赛)
语言
C++
递交时间
2022-08-21 20:58:11
评测时间
2022-08-21 20:58:11
评测机
分数
100
总耗时
7ms
峰值内存
384.0 KiB