updated reverse loop logic
This commit is contained in:
parent
c96c83a928
commit
d4dd3903d1
@ -18,7 +18,7 @@ using namespace std;
|
|||||||
#define fr(i, a, b) for(int i=a; i<b; ++i)
|
#define fr(i, a, b) for(int i=a; i<b; ++i)
|
||||||
#define fn(i, n) for(int i=0; i<n; ++i)
|
#define fn(i, n) for(int i=0; i<n; ++i)
|
||||||
#define rf(i, a, b) for(int i=a; i>b; --i)
|
#define rf(i, a, b) for(int i=a; i>b; --i)
|
||||||
#define nf(i, n) for(int i=n; i>0; --i)
|
#define nf(i, n) for(int i=n-1; i>=0; --i)
|
||||||
|
|
||||||
// STLs
|
// STLs
|
||||||
#define PII pair<int, int>
|
#define PII pair<int, int>
|
||||||
|
Loading…
Reference in New Issue
Block a user