From 4e5fbbf1260448764150244428f73567198a52b8 Mon Sep 17 00:00:00 2001 From: Zengtudor Date: Tue, 8 Oct 2024 19:49:31 +0800 Subject: [PATCH] update fix linker 't' error --- src/P2822/P2822_prefix.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/P2822/P2822_prefix.cpp b/src/P2822/P2822_prefix.cpp index 94f597c..cd4d790 100644 --- a/src/P2822/P2822_prefix.cpp +++ b/src/P2822/P2822_prefix.cpp @@ -3,7 +3,7 @@ using ull = unsigned long long; -static constexpr size_t max_n {(size_t)2e3+5}; +static const size_t max_n {(size_t)2e3+5}; static ull k, c[max_n][max_n], prefix[max_n][max_n], t, n, m; static void init(){