1
0
Fork 0

Update graph/examples/passive_flow_with_demands.cc

Signed-off-by: subcrip <contact@subc.rip>
This commit is contained in:
subcrip 2024-05-19 14:35:58 +08:00
parent db4e8d4912
commit b2ee09573e
1 changed files with 0 additions and 37 deletions

View File

@ -1,16 +1,5 @@
// ... // ...
#define SINGLE_TEST_CASE
// #define DUMP_TEST_CASE 7219
// #define TOT_TEST_CASE 10000
void dump() {}
void dump_ignore() {}
void prep() {
}
struct dinic { struct dinic {
// ... // ...
}; };
@ -49,29 +38,3 @@ void solve() {
cout << "YES\n"; cout << "YES\n";
copy(res.begin(), res.end(), oi<int>(cout, "\n")); copy(res.begin(), res.end(), oi<int>(cout, "\n"));
} }
int main() {
#if __cplusplus < 201703L || defined(_MSC_VER) && !defined(__clang__)
assert(false && "incompatible compiler variant detected.");
#endif
untie, cout.tie(NULL);
prep();
#ifdef SINGLE_TEST_CASE
solve();
#else
read(int, t);
for (int i = 0; i < t; ++i) {
#ifdef DUMP_TEST_CASE
if (t != (TOT_TEST_CASE)) {
solve();
} else if (i + 1 == (DUMP_TEST_CASE)) {
dump();
} else {
dump_ignore();
}
#else
solve();
#endif
}
#endif
}