diff --git a/src/P1522/P1522.cpp b/src/P1522/P1522.cpp index 0f304d3..cc54202 100644 --- a/src/P1522/P1522.cpp +++ b/src/P1522/P1522.cpp @@ -1,3 +1,5 @@ +#define NDEBUG + #include #include #include @@ -5,6 +7,11 @@ #include #define NV(v)#v<<" : "<<(v) +#ifdef NDEBUG + #define DEBUG(code) +#else + #define DEBUG(code){code} +#endif using ull = unsigned long long; const size_t max_n = 150+5; @@ -70,15 +77,21 @@ int main(){ max_len[i] = std::max(mtx_len[i][j],(max_len[i]==double_inf?double_min:max_len[i])); } } - // std::cout<