diff options
| author | Noobie99 <noob999noob999@gmail.com> | 2023-02-16 20:32:34 +0100 |
|---|---|---|
| committer | Noobie99 <noob999noob999@gmail.com> | 2023-02-16 20:32:34 +0100 |
| commit | 48f36b5c91b3dd4a5c43390ce14f1a7e05174929 (patch) | |
| tree | 23326201a3c7f815b6a86fff8b1b32a162bcd160 /template/template.cpp | |
| parent | d7f7e36275b344c70a15b3d7479739abff8de864 (diff) | |
Fixed macro if variable named size exists
Diffstat (limited to 'template/template.cpp')
| -rw-r--r-- | template/template.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/template/template.cpp b/template/template.cpp index 79cb6dd..9ee3233 100644 --- a/template/template.cpp +++ b/template/template.cpp @@ -4,7 +4,7 @@ using namespace std; #define fora(i, n) for (int i = 0; i < n; ++i) #define forb(i, n) for (int i = 1; i <= n; ++i) #define all(x) begin(x), end(x) -#define sz(x) (ll)size(x) +#define sz(x) (ll)(x).size() #define _ << " " << #define debug(x) #x << " = " << (x) |
