From a009af4cf5c53b6a18658db008e876a1d9e6f8b0 Mon Sep 17 00:00:00 2001 From: subcrip Date: Wed, 11 Dec 2024 08:15:38 +0000 Subject: [PATCH] Update template.cc Signed-off-by: subcrip --- template.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/template.cc b/template.cc index b33e37f..e98d7c7 100644 --- a/template.cc +++ b/template.cc @@ -1,5 +1,5 @@ // #pragma GCC target("popcnt,lzcnt,abm,bmi,bmi2") -#pragma GCC optimize("Ofast") +#pragma GCC optimize("Ofast,unroll-loops") /************* This code requires C++17. ***************/ #include @@ -541,7 +541,7 @@ void solve() { int main() { #if __cplusplus < 201402L or defined(_MSC_VER) and not defined(__clang__) - assert(false && "incompatible compiler variant detected."); + static_assert(false, "incompatible compiler variant detected."); #endif untie; prep();