正文
增加 4 行删除 4 行
139 行未改动全部展开140141142143144145146147148149150151152126 行未改动全部展开139 行未改动全部展开using namespace std;const int MAX = 100010;int n, m, L, V;int p[MAX];struct CAR {int d, v, a;} cars[MAX];struct node {int l, r;} edge[MAX]; // 第 l~r 个检测仪可以检测到超速int solve1() { // 计算超速车辆数,并存儲哪些测速仪检测到车辆超速int cnt = 0, index, x;126 行未改动全部展开139 行未改动全部展开140141142143144145146147148149150151152126 行未改动全部展开139 行未改动全部展开using namespace std;const int MAX = 100010;int n, m, L, V;int p[MAX];struct CAR {int d, v, a;} cars[MAX];struct node {int l, r;} edge[MAX]; // 第 l~r 个检测仪可以检测到超速int solve1() { // 计算超速车辆数,并存儲哪些测速仪检测到车辆超速int cnt = 0, index, x;126 行未改动全部展开