Skip to content

Commit 9667a6b

Browse files
authored
feat: misc main was update
1 parent a3f3392 commit 9667a6b

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

misc/misc_main.cpp

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -9,20 +9,6 @@
99
#define for2(i, a) for(int i = 0; i < int(a); ++i)
1010
#define for3(i, a, b) for(int i = int(a); i <= int(b); ++i)
1111
#define for4(i, a, b, c) for(int i = int(a); i <= int(b); i += int(c))
12-
#define rof1(a) for(int i = int(a)-1; i >= 0; --i)
13-
#define rof2(i, a) for(int i = int(a)-1; i >= 0; --i)
14-
#define rof3(i, a, b) for(int i = int(b); i >= int(a); --i)
15-
#define rof4(i, a, b, c) for(int i = int(b); i >= int(a); i -= int(c))
1612
#define forn(...) overload4(__VA_ARGS__, for4, for3, for2, for1)(__VA_ARGS__)
17-
#define rof(...) overload4(__VA_ARGS__, rof4, rof3, rof2, rof1)(__VA_ARGS__)
18-
19-
template <class T, class S>
20-
inline bool xmax(T &a, const S &b) {
21-
return (a < b ? a = b, 1 : 0);
22-
}
23-
template <class T, class S>
24-
inline bool xmin(T &a, const S &b) {
25-
return (a > b ? a = b, 1 : 0);
26-
}
2713

2814
using int64 = long long;

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy