From 5547203c8ddebd4117a384f0a425c333cbdef77c Mon Sep 17 00:00:00 2001 From: Zengtudor Date: Thu, 14 Nov 2024 08:57:40 +0800 Subject: [PATCH] update --- src/test.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/test.cpp b/src/test.cpp index b31b92b..991d9fe 100755 --- a/src/test.cpp +++ b/src/test.cpp @@ -26,8 +26,8 @@ void print(Args&&...args){ (std::cout<<...<(args)); } -constexpr std::array log2 = []()constexpr->std::remove_cvref_t{ - std::remove_cvref_t ret{}; +constexpr std::array l2 = []()constexpr->std::remove_cvref_t{ + std::remove_cvref_t ret{}; ret[1] = 0; for (const auto &i : std::ranges::views::iota((size_t)2, ret.size())) { ret[i] = ret[i/2] + 1; @@ -45,7 +45,7 @@ int main(){ }; std::ranges::for_each(std::ranges::views::iota((int64)1, 1ll<