Accepted

foo.cc: In function ‘bool compare(ll, ll, ll, ll)’:
foo.cc:59:21: warning: comparison of integer expressions of different signedness: ‘ll’ {aka ‘int’} and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
   59 |         for(ll i=0;i<f[xi][xj].size();i++)
      |                    ~^~~~~~~~~~~~~~~~~
foo.cc:64:21: warning: comparison of integer expressions of different signedness: ‘ll’ {aka ‘int’} and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
   64 |         for(ll i=0;i<f[yi][yj].size();i++)
      |                    ~^~~~~~~~~~~~~~~~~
foo.cc: In function ‘std::string turn(ll, ll)’:
foo.cc:76:21: warning: comparison of integer expressions of different signedness: ‘ll’ {aka ‘int’} and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
   76 |         for(ll i=0;i<f[xi][xj].size();i++)
      |                    ~^~~~~~~~~~~~~~~~~
foo.cc: In function ‘int main()’:
foo.cc:117:21: warning: comparison of integer expressions of different signedness: ‘ll’ {aka ‘int’} and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  117 |         for(ll j=0;j<q[1].size();j++)
      |                    ~^~~~~~~~~~~~
foo.cc:130:29: warning: comparison of integer expressions of different signedness: ‘ll’ {aka ‘int’} and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  130 |                 for(ll j=0;j<q[i].size();j++)
      |                            ~^~~~~~~~~~~~
foo.cc:145:90: warning: comparison of integer expressions of different signedness: ‘ll’ {aka ‘int’} and ‘std::__cxx11::basic_string<char>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  145 |                                                                         if(dp[q[i][j]][u]>dp[q[i][j]-powx[u-1]][k]+d[k][u].size())//由k到u
      |                                                                            ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:152:98: warning: comparison of integer expressions of different signedness: ‘ll’ {aka ‘int’} and ‘std::__cxx11::basic_string<char>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  152 |                                                                                 if(dp[q[i][j]][u]==dp[q[i][j]-powx[u-1]][k]+d[k][u].size()&&compare(q[i][j],u,q[i][j]-powx[u-1],k)==1)
      |                                                                                    ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
正在同步测试数据,请稍后
# 状态 耗时 内存占用
#1 Accepted 5ms 3.277 MiB
#2 Accepted 6ms 3.496 MiB
#3 Accepted 6ms 3.273 MiB
#4 Accepted 6ms 3.312 MiB
#5 Accepted 6ms 3.312 MiB
#6 Accepted 6ms 3.273 MiB
#7 Accepted 46ms 6.812 MiB
#8 Accepted 50ms 6.773 MiB
#9 Accepted 53ms 7.023 MiB
#10 Accepted 213ms 7.273 MiB

信息

递交者
类型
递交
比赛
2024CSP模拟赛3
语言
C++
递交时间
2024-10-04 19:20:33
评测时间
2024-10-04 19:20:33
评测机
分数
100
总耗时
401ms
峰值内存
7.273 MiB