版本比较
题解 P4202 【[NOI2008]奥运物流 】
正文
增加 1 行删除 1 行
10 行未改动11121314151617181956 行未改动10 行未改动#include <bits/stdc++.h>#define File(_) freopen(#_ ".in", "r", stdin), freopen(#_ ".out", "w", stdout)#define ALL(x) x.begin(), x.end()#define mset(a, b) memset(a, b, sizeof a)#define rep(i, a, b) for(int i(a), i##_END_(b); i <= i##_END_; i++)#define drep(i, a, b) for(int i(a), i##_END_(b); i >= i##_END_; i--)using namespace std;template<class T> inline bool tomax(T &a, T b) {return a < b ? a = b, 1 : 0;}template<class T> inline bool tomin(T &a, T b) {return b < a ? a = b, 1 : 0;}56 行未改动10 行未改动11121314151617181956 行未改动10 行未改动#include <bits/stdc++.h>#define File(_) freopen(#_ ".in", "r", stdin), freopen(#_ ".out", "w", stdout)#define ALL(x) x.begin(), x.end()#define mset(a, b) memset(a, b, sizeof a)#define rep(i, a, b) for(int i(a), i##_END_(b); i <= i##_END_; i++)#define drep(i, a, b) for(int i(a), i##_END_(b); i >= i##_END_; i--)using namespace std;template<class T> inline bool tomax(T &a, T b) {return a < b ? a = b, 1 : 0;}template<class T> inline bool tomin(T &a, T b) {return b < a ? a = b, 1 : 0;}56 行未改动