/ Vijos /

记录详情

Accepted

foo.cc: In member function 'CCC::AC CCC::cl0(int, int, int)':
foo.cc:122:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
  122 | for (i=0; i<dax[x].size()&&dax[x][i].A<y; i++);
      |           ~^~~~~~~~~~~~~~
foo.cc:123:6: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
  123 | if (i==dax[x].size())return (AC){0,0,-1};
      |     ~^~~~~~~~~~~~~~~
foo.cc:125:9: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
  125 | for (; i<dax[x].size(); i++){
      |        ~^~~~~~~~~~~~~~
foo.cc: In member function 'CCC::AC CCC::cl2(int, int, int)':
foo.cc:160:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
  160 | for (i=0; i<day[y].size()&&day[y][i].A<x; i++);
      |           ~^~~~~~~~~~~~~~
foo.cc:161:6: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
  161 | if (i==day[y].size())return (AC){0,0,-1};
      |     ~^~~~~~~~~~~~~~~
foo.cc:163:9: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
  163 | for (; i<day[y].size(); i++){
      |        ~^~~~~~~~~~~~~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 21ms 9.625 MiB
#2 Accepted 23ms 9.625 MiB
#3 Accepted 22ms 9.625 MiB
#4 Accepted 26ms 9.75 MiB
#5 Accepted 24ms 9.75 MiB
#6 Accepted 77ms 14.117 MiB
#7 Accepted 78ms 16.992 MiB
#8 Accepted 797ms 27.367 MiB
#9 Accepted 153ms 24.109 MiB
#10 Accepted 107ms 17.242 MiB

信息

递交者
类型
递交
题目
P1452 逃脱
语言
C++
递交时间
2022-04-15 11:23:16
评测时间
2022-04-15 11:23:16
评测机
分数
100
总耗时
1333ms
峰值内存
27.367 MiB