summaryrefslogtreecommitdiff
path: root/test/math/transforms/multiplyNTT.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/math/transforms/multiplyNTT.cpp')
-rw-r--r--test/math/transforms/multiplyNTT.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/math/transforms/multiplyNTT.cpp b/test/math/transforms/multiplyNTT.cpp
index 90c606a..48a1aa3 100644
--- a/test/math/transforms/multiplyNTT.cpp
+++ b/test/math/transforms/multiplyNTT.cpp
@@ -6,13 +6,13 @@
vector<ll> naive(const vector<ll>& a, const vector<ll>& b) {
vector<ll> res;
for (ll i = 1;; i *= 2) {
- if (sz(a) + sz(b) <= i) {
+ if (ssize(a) + ssize(b) <= i) {
res.resize(i, 0);
break;
}
}
- for (int i = 0; i < sz(a); i++) {
- for (int j = 0; j < sz(b); j++) {
+ for (int i = 0; i < ssize(a); i++) {
+ for (int j = 0; j < ssize(b); j++) {
res[i+j] += a[i] * b[j];
res[i+j] %= mod;
}