This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <bits/stdc++.h> | |
| using namespace std; | |
| #define pb push_back | |
| #define eb emplace_back | |
| #define all(x) x.begin(), x.end() | |
| #define debug(x) cerr << #x <<": " << (x) << endl | |
| //在每个函数的入口处执行一次,出口处执行一次。然后就可以快速得知是哪个地方段错误了 | |
| #define DEBUG printf("Passing [%s] in LINE %d\n",__FUNCTION__,__LINE__) | |
| #ifdef LOCAL |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <bits/stdc++.h> | |
| using namespace std; | |
| #define pb push_back | |
| #define eb emplace_back | |
| #define all(x) x.begin(), x.end() | |
| #define debug(x) cerr << #x <<": " << (x) << endl | |
| //��个���������次�������次���就�以快�����个��段�误� | |
| #define DEBUG printf("Passing [%s] in LINE %d\n",__FUNCTION__,__LINE__) | |
| #ifdef LOCAL |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <bits/stdc++.h> | |
| using namespace std; | |
| #define pb push_back | |
| #define eb emplace_back | |
| #define all(x) x.begin(), x.end() | |
| #define debug(x) cerr << #x <<": " << (x) << endl | |
| #define DEBUG printf("Passing [%s] in LINE %d\n",__FUNCTION__,__LINE__) | |
| #ifdef LOCAL | |
| #define see(x) cout << #x << ": " << (x) << endl |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <bits/stdc++.h> | |
| #include <ext/pb_ds/assoc_container.hpp> | |
| #include <ext/pb_ds/tree_policy.hpp> | |
| using namespace std; | |
| #define pb push_back | |
| #define eb emplace_back | |
| #define all(x) x.begin(), x.end() | |
| #define debug(x) cerr << #x <<": " << (x) << endl | |
| #define DEBUG printf("Passing [%s] in LINE %d\n",__FUNCTION__,__LINE__) | |
| #ifdef LOCAL |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <bits/stdc++.h> | |
| #include <ext/pb_ds/assoc_container.hpp> | |
| #include <ext/pb_ds/tree_policy.hpp> | |
| using namespace std; | |
| #define pb push_back | |
| #define eb emplace_back | |
| #define all(x) x.begin(), x.end() | |
| #define debug(x) cerr << #x <<": " << (x) << endl | |
| #define DEBUG printf("Passing [%s] in LINE %d\n",__FUNCTION__,__LINE__) | |
| #ifdef LOCAL |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| ################################################################################ | |
| ### OpenCV2 Installation Script ### | |
| ################################################################################ | |
| # Source code at https://github.com/arthurbeggs/scripts # | |
| ################################################################################ | |
| # # | |
| # Feel free to copy and modify this file. Giving me credit for it is your # | |
| # choice, but please keep references to other people's work, which I don't # |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <bits/stdc++.h> | |
| using namespace std; | |
| int main(){ | |
| #ifdef LOCAL | |
| freopen("main.in", "r", stdin); | |
| #endif | |
| std::ios::sync_with_stdio(false); | |
| std::cin.tie(nullptr); | |
| int n,m, h, r; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <bits/stdc++.h> | |
| using namespace std; | |
| #define rf(i, cont) for (auto &i: cont) //range-for | |
| #define SZ(x) (int)(x).size() | |
| #define rep(n) for (int _ = 0; _ < (int)n; ++_) | |
| #define all(x) x.begin(), x.end() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <bits/stdc++.h> | |
| using namespace std; | |
| #define rf(i, cont) for (auto &i: cont) //range-for | |
| #define SZ(x) (int)(x).size() | |
| #define rep(n) for (int _ = 0; _ < (int)n; ++_) | |
| #define all(x) x.begin(), x.end() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <bits/stdc++.h> | |
| using namespace std; | |
| #define rf(i, cont) for (auto &i: cont) //range-for | |
| #define SZ(x) (int)(x).size() | |
| #define rep(n) for (int _ = 0; _ < (int)n; ++_) | |
| #define all(x) x.begin(), x.end() |