Compile Error

foo.cc: In function 'int main()':
foo.cc:29:30: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<st>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   29 |                 for(int i=0;i<nt[x].size();i++)
      |                             ~^~~~~~~~~~~~~
foo.cc:31:48: error: 'y' was not declared in this scope
   31 |                         int tl=(ti<nt[x][i].a?(y-x+k-1)/k*k+x+1:x+1),ls=nt[x][i].nxt;
      |                                                ^
foo.cc:33:32: error: 'ls' was not declared in this scope; did you mean 'l'?
   33 |                         l.push(ls);
      |                                ^~
      |                                l
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P2475 旅游巴士
语言
C++
递交时间
2024-01-06 14:11:31
评测时间
2024-01-06 14:11:31
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes