版本比较
P11232 [CSP-S 2024] 超速检测 题解
正文
增加 2 行删除 2 行
39 行未改动404142434445464748495044 行未改动39 行未改动while (tt--) {memset(s,0,sizeof(s));cnt = 0;cin >> n >> m >> L >> V;for (int i = 1; i <= n; i++)cin >> d[i] >> v[i] >> a[i];for (int i = 1; i <= m; i++)cin >> p[i];int now = 1;for (int i = 1; i <= L; i++) {nxt[i] = now;44 行未改动39 行未改动404142434445464748495044 行未改动39 行未改动while (tt--) {memset(s,0,sizeof(s));cnt = 0;cin >> n >> m >> L >> V;for (int i = 1; i <= n; i++)cin >> d[i] >> v[i] >> a[i];for (int i = 1; i <= m; i++)cin >> p[i];int now = 1;for (int i = 1; i <= L; i++) {nxt[i] = now;44 行未改动