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