0_0_38533409_1007.cpp: In function 'constexpr ll qmul(ll, ll, ll)':
0_0_38533409_1007.cpp:55:1: error: body of constexpr function 'constexpr ll qmul(ll, ll, ll)' not a return-statement
}
^
0_0_38533409_1007.cpp: In function 'constexpr ull mul(ull, ull, ull)':
0_0_38533409_1007.cpp:64:1: error: body of constexpr function 'constexpr ull mul(ull, ull, ull)' not a return-statement
}
^
0_0_38533409_1007.cpp: In function 'constexpr ull qpow(ull, ull, int)':
0_0_38533409_1007.cpp:73:1: error: body of constexpr function 'constexpr ull qpow(ull, ull, int)' not a return-statement
}
^
0_0_38533409_1007.cpp: In function 'constexpr ull qpow_safe(ull, ull, ull)':
0_0_38533409_1007.cpp:86:1: error: body of constexpr function 'constexpr ull qpow_safe(ull, ull, ull)' not a return-statement
}
^
0_0_38533409_1007.cpp: In function 'constexpr ll inverse::exgcd_mod(const ll&, const ll&, ll&, ll&, const ll&)':
0_0_38533409_1007.cpp:102:2: error: body of constexpr function 'constexpr ll inverse::exgcd_mod(const ll&, const ll&, ll&, ll&, const ll&)' not a return-statement
}
^
0_0_38533409_1007.cpp: In function 'constexpr ll inverse::inv(const ll&, const ll&)':
0_0_38533409_1007.cpp:108:2: error: body of constexpr function 'constexpr ll inverse::inv(const ll&, const ll&)' not a return-statement
}
^
0_0_38533409_1007.cpp: At global scope:
0_0_38533409_1007.cpp:111:10: error: 'in' function uses 'auto' type specifier without trailing return type
auto& in() { return (std::cin); }
^
0_0_38533409_1007.cpp:111:10: note: deduced return type only available with -std=c++1y or -std=gnu++1y
0_0_38533409_1007.cpp:113:33: error: 'in' function uses 'auto' type specifier without trailing return type
auto& in(T& first, Args&... args) { std::cin >> first; return in(args...); }
^
0_0_38533409_1007.cpp:113:33: note: deduced return type only available with -std=c++1y or -std=gnu++1y
0_0_38533409_1007.cpp: In function 'constexpr void std::reverse(std::string&)':
0_0_38533409_1007.cpp:116:17: error: invalid return type 'void' of constexpr function 'constexpr void std::reverse(std::string&)'
constexpr void reverse(std::string& span) { std::reverse(span.begin(), span.end()); }
^
0_0_38533409_1007.cpp: At global scope:
0_0_38533409_1007.cpp:140:51: error: 'inv12' declared as an 'inline' field
static inline ll inv12 = inverse::inv(mod1, mod2), inv12_3 = inverse::inv(1LL * mod1 * mod2 % mod3, mod3), mod12 = 1LL * mod1 * mod2;
^
0_0_38533409_1007.cpp:140:51: error: ISO C++ forbids in-class initialization of non-const static member 'cov::MttInt<mod1, mod2, mod3>::inv12'
0_0_38533409_1007.cpp:140:107: error: 'inv12_3' declared as an 'inline' field
static inline ll inv12 = inverse::inv(mod1, mod2), inv12_3 = inverse::inv(1LL * mod1 * mod2 % mod3, mod3), mod12 = 1LL * mod1 * mod2;
^
0_0_38533409_1007.cpp:140:107: error: ISO C++ forbids in-class initialization of non-const static member 'cov::MttInt<mod1, mod2, mod3>::inv12_3'
0_0_38533409_1007.cpp:140:131: error: 'mod12' declared as an 'inline' field
static inline ll inv12 = inverse::inv(mod1, mod2), inv12_3 = inverse::inv(1LL * mod1 * mod2 % mod3, mod3), mod12 = 1LL * mod1 * mod2;
^
0_0_38533409_1007.cpp:140:131: error: ISO C++ forbids in-class initialization of non-const static member 'cov::MttInt<mod1, mod2, mod3>::mod12'
0_0_38533409_1007.cpp: In function 'constexpr bool prime::millerRabin(int)':
0_0_38533409_1007.cpp:397:2: error: body of constexpr function 'constexpr bool prime::millerRabin(int)' not a return-statement
}
^
0_0_38533409_1007.cpp: In function 'constexpr bool prime::primeTest(ll)':
0_0_38533409_1007.cpp:406:2: error: body of constexpr function 'constexpr bool prime::primeTest(ll)' not a return-statement
}
^
0_0_38533409_1007.cpp: At global scope:
0_0_38533409_1007.cpp:407:33: error: template declaration of 'constexpr const bool prime::is_prime'
template <ll n> constexpr bool is_prime = primeTest(n);
^
0_0_38533409_1007.cpp: In function 'constexpr int prime::primitive_root_constexpr(int)':
0_0_38533409_1007.cpp:433:2: error: body of constexpr function 'constexpr int prime::primitive_root_constexpr(int)' not a return-statement
}
^
0_0_38533409_1007.cpp: At global scope:
0_0_38533409_1007.cpp:434:86: error: template declaration of 'constexpr const int prime::primitive_root'
template <ll m, typename std::enable_if<primeTest(m), int>::type = 0> constexpr int primitive_root = primitive_root_constexpr(m);
^
0_0_38533409_1007.cpp: In member function 'constexpr void SAM<T, Sigma, Length>::appand(const Idx&) const':
0_0_38533409_1007.cpp:510:16: error: increment of read-only location '((const SAM<T, Sigma, Length>*)this)->SAM<T, Sigma, Length>::tot'
Idx cur = tot++, p = last;
^
0_0_38533409_1007.cpp:523:20: error: increment of read-only location '((const SAM<T, Sigma, Length>*)this)->SAM<T, Sigma, Length>::tot'
Idx clone = tot++;
^
|