版本比较
题解:P10941 Cashier Employment
正文
增加 3 行删除 3 行
15 行未改动161718192021222324252627282930313274 行未改动15 行未改动```cpp#include<bits/stdc++.h>using namespace std;const int N=30;struct node{int y, w;};vector<node> nbr[N];int n, dis[N], r[N], t[N], cnt[N];bool vis[N];bool spfa(int s, int x){queue<int> q;memset(vis,0,sizeof vis);memset(dis,-0x3f,sizeof dis);74 行未改动15 行未改动161718192021222324252627282930313274 行未改动15 行未改动```cpp#include<bits/stdc++.h>using namespace std;const int N=30;struct node{int y, w;};vector<node> nbr[N];int n, dis[N], r[N], t[N], cnt[N];bool vis[N];bool spfa(int s, int x){queue<int> q;memset(vis,0,sizeof vis);memset(dis,-0x3f,sizeof dis);74 行未改动