summaryrefslogtreecommitdiff
path: root/test/math/bigint.cpp
diff options
context:
space:
mode:
authorGloria Mundi <gloria@gloria-mundi.eu>2024-11-16 21:17:29 +0100
committerGloria Mundi <gloria@gloria-mundi.eu>2024-11-16 21:17:29 +0100
commit1880ccb6d85c6eb79e724593457877bab431951c (patch)
tree23eddd5bd0b29b3024e170a5ef9023eda9226ab5 /test/math/bigint.cpp
parente95f59debd69ee7d45d5c966ce466d23264e1c3c (diff)
get rid of all() and sz()
Diffstat (limited to 'test/math/bigint.cpp')
-rw-r--r--test/math/bigint.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/math/bigint.cpp b/test/math/bigint.cpp
index 3fc4ac1..538d0dc 100644
--- a/test/math/bigint.cpp
+++ b/test/math/bigint.cpp
@@ -9,7 +9,7 @@ struct modInt {
stringstream a;
a << x;
string b = a.str();
- for (ll i = b[0] == '-' ? 1 : 0; i < sz(b); i++) {
+ for (ll i = b[0] == '-' ? 1 : 0; i < ssize(b); i++) {
value *= 10;
value += b[i] - '0';
value %= MOD;
@@ -115,7 +115,7 @@ void stress_test() {
}
cerr << "tested random queries: " << queries << endl;
}
-
+
int main() {
stress_test();
}