Skip to content

Commit 59d08bc

Browse files
committed
fix
1 parent 762b667 commit 59d08bc

File tree

7 files changed

+14
-14
lines changed

7 files changed

+14
-14
lines changed

tests/library_checker_aizu_tests/handmade_tests/mod_int.test.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
#include "../../../kactl/content/number-theory/euclid.h"
66
// trick to remove const so I can use arbitrary prime mode
77
// here
8-
#define const ;
8+
#define constexpr ;
99
#include "../../../library/math/mod_int_pow.hpp"
10-
#undef const
10+
#undef constexpr
1111
int main() {
1212
cin.tie(0)->sync_with_stdio(0);
1313
mint val;

tests/library_checker_aizu_tests/math/binary_exponentiation_mod.test.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
#include "../template.hpp"
44
// trick to remove const so I can use arbitrary prime mode
55
// here
6-
#define const ;
6+
#define constexpr ;
77
#include "../../../library/math/mod_int_pow.hpp"
8-
#undef const
8+
#undef constexpr
99
int main() {
1010
cin.tie(0)->sync_with_stdio(0);
1111
mod = 1'000'000'007;

tests/library_checker_aizu_tests/math/count_paths.test.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
#define PROBLEM \
22
"https://judge.yosupo.jp/problem/number_of_increasing_sequences_between_two_sequences"
33
#include "../template.hpp"
4-
#define const ;
4+
#define constexpr ;
55
#define mod mod_different_name
66
#include "../../../library/math/n_choose_k/grow.hpp"
7-
#undef const
7+
#undef constexpr
88
#undef mod
99
#define mod mod_not_using
1010
#define modpow modpow_not_using

tests/library_checker_aizu_tests/math/mod_int_derangement.test.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
#include "../template.hpp"
44
// trick to remove const so I can use arbitrary prime mode
55
// here
6-
#define const ;
6+
#define constexpr ;
77
#include "../../../library/math/mod_int.hpp"
8-
#undef const
8+
#undef constexpr
99
int main() {
1010
cin.tie(0)->sync_with_stdio(0);
1111
int n;

tests/library_checker_aizu_tests/math/mod_int_n_choose_k.test.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
#include "../template.hpp"
44
// trick to remove const so I can use arbitrary prime mode
55
// here
6-
#define const ;
6+
#define constexpr ;
77
#include "../../../library/math/mod_int.hpp"
8-
#undef const
8+
#undef constexpr
99
int main() {
1010
cin.tie(0)->sync_with_stdio(0);
1111
int t;

tests/library_checker_aizu_tests/math/mod_int_tetration.test.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
#include "../../../library/math/totient.hpp"
55
// trick to remove const so I can use arbitrary prime mode
66
// here
7-
#define const ;
7+
#define constexpr ;
88
#include "../../../library/math/mod_int_pow.hpp"
9-
#undef const
9+
#undef constexpr
1010
int mod_int_tetration(int b, int e, int local_mod) {
1111
if (local_mod == 1) return 0;
1212
if (b == 0) return (e + 1) % 2 % local_mod;

tests/library_checker_aizu_tests/math/n_choose_k.test.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
#include "../template.hpp"
44
// trick to remove const so I can use arbitrary prime mode
55
// here
6-
#define const ;
6+
#define constexpr ;
77
#include "../../../library/math/n_choose_k/n_choose_k.hpp"
8-
#undef const
8+
#undef constexpr
99
int main() {
1010
cin.tie(0)->sync_with_stdio(0);
1111
int num_tests;

0 commit comments

Comments
 (0)