F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

0_0_38285743_4281.cpp:90:30: error: 'enable_if_t' in namespace 'std' does not name a template type
 using is_signed_int_t = std::enable_if_t<is_signed_int<T>::value>;
                              ^
0_0_38285743_4281.cpp:93:32: error: 'enable_if_t' in namespace 'std' does not name a template type
 using is_unsigned_int_t = std::enable_if_t<is_unsigned_int<T>::value>;
                                ^
0_0_38285743_4281.cpp: In function 'constexpr long long int atcoder::internal::safe_mod(long long int, long long int)':
0_0_38285743_4281.cpp:111:1: error: body of constexpr function 'constexpr long long int atcoder::internal::safe_mod(long long int, long long int)' not a return-statement
 }
 ^
0_0_38285743_4281.cpp: In function 'constexpr long long int atcoder::internal::pow_mod_constexpr(long long int, long long int, int)':
0_0_38285743_4281.cpp:169:1: error: body of constexpr function 'constexpr long long int atcoder::internal::pow_mod_constexpr(long long int, long long int, int)' not a return-statement
 }
 ^
0_0_38285743_4281.cpp: In function 'constexpr bool atcoder::internal::is_prime_constexpr(int)':
0_0_38285743_4281.cpp:194:1: error: body of constexpr function 'constexpr bool atcoder::internal::is_prime_constexpr(int)' not a return-statement
 }
 ^
0_0_38285743_4281.cpp: At global scope:
0_0_38285743_4281.cpp:195:33: error: template declaration of 'constexpr const bool atcoder::internal::is_prime'
 template <int n> constexpr bool is_prime = is_prime_constexpr(n);
                                 ^
0_0_38285743_4281.cpp: In function 'constexpr std::pair<long long int, long long int> atcoder::internal::inv_gcd(long long int, long long int)':
0_0_38285743_4281.cpp:231:1: error: body of constexpr function 'constexpr std::pair<long long int, long long int> atcoder::internal::inv_gcd(long long int, long long int)' not a return-statement
 }
 ^
0_0_38285743_4281.cpp: In function 'constexpr int atcoder::internal::primitive_root_constexpr(int)':
0_0_38285743_4281.cpp:268:1: error: body of constexpr function 'constexpr int atcoder::internal::primitive_root_constexpr(int)' not a return-statement
 }
 ^
0_0_38285743_4281.cpp: At global scope:
0_0_38285743_4281.cpp:269:32: error: template declaration of 'constexpr const int atcoder::internal::primitive_root'
 template <int m> constexpr int primitive_root = primitive_root_constexpr(m);
                                ^
0_0_38285743_4281.cpp:283:45: error: 'enable_if_t' in namespace 'std' does not name a template type
 template <class T> using is_modint_t = std::enable_if_t<is_modint<T>::value>;
                                             ^
0_0_38285743_4281.cpp:287:23: error: 'std::enable_if_t' has not been declared
 template <int m, std::enable_if_t<(1 <= m)>* = nullptr>
                       ^
0_0_38285743_4281.cpp:287:34: error: expected '>' before '<' token
 template <int m, std::enable_if_t<(1 <= m)>* = nullptr>
                                  ^
0_0_38285743_4281.cpp:300:34: error: 'atcoder::internal::is_signed_int_t' has not been declared
     template <class T, internal::is_signed_int_t<T>* = nullptr>
                                  ^
0_0_38285743_4281.cpp:300:49: error: expected '>' before '<' token
     template <class T, internal::is_signed_int_t<T>* = nullptr>
                                                 ^
0_0_38285743_4281.cpp:306:34: error: 'atcoder::internal::is_unsigned_int_t' has not been declared
     template <class T, internal::is_unsigned_int_t<T>* = nullptr>
                                  ^
0_0_38285743_4281.cpp:306:51: error: expected '>' before '<' token
     template <class T, internal::is_unsigned_int_t<T>* = nullptr>
                                                   ^
0_0_38285743_4281.cpp:307:5: error: 'template<int m, int <anonymous> > template<class T, int <anonymous> > atcoder::static_modint<m, <anonymous> >::static_modint(T)' cannot be overloaded
     static_modint(T v) {
     ^
0_0_38285743_4281.cpp:301:5: error: with 'template<int m, int <anonymous> > template<class T, int <anonymous> > atcoder::static_modint<m, <anonymous> >::static_modint(T)'
     static_modint(T v) {
     ^
0_0_38285743_4281.cpp:399:35: error: 'is_prime' is not a member of 'atcoder::internal'
     static constexpr bool prime = internal::is_prime<m>;
                                   ^
0_0_38285743_4281.cpp:399:56: error: expected primary-expression before ';' token
     static constexpr bool prime = internal::is_prime<m>;
                                                        ^
0_0_38285743_4281.cpp:418:34: error: 'atcoder::internal::is_signed_int_t' has not been declared
     template <class T, internal::is_signed_int_t<T>* = nullptr>
                                  ^
0_0_38285743_4281.cpp:418:49: error: expected '>' before '<' token
     template <class T, internal::is_signed_int_t<T>* = nullptr>
                                                 ^
0_0_38285743_4281.cpp:424:34: error: 'atcoder::internal::is_unsigned_int_t' has not been declared
     template <class T, internal::is_unsigned_int_t<T>* = nullptr>
                                  ^
0_0_38285743_4281.cpp:424:51: error: expected '>' before '<' token
     template <class T, internal::is_unsigned_int_t<T>* = nullptr>
                                                   ^
0_0_38285743_4281.cpp:425:5: error: 'template<int id> template<class T, int <anonymous> > atcoder::dynamic_modint<id>::dynamic_modint(T)' cannot be overloaded
     dynamic_modint(T v) {
     ^
0_0_38285743_4281.cpp:419:5: error: with 'template<int id> template<class T, int <anonymous> > atcoder::dynamic_modint<id>::dynamic_modint(T)'
     dynamic_modint(T v) {
     ^
0_0_38285743_4281.cpp:514:48: error: wrong number of template arguments (1, should be 2)
 using modint998244353 = static_modint<998244353>;
                                                ^
0_0_38285743_4281.cpp:288:8: error: provided for 'template<int m, int <anonymous> > struct atcoder::static_modint'
 struct static_modint : internal::static_modint_base {
        ^
0_0_38285743_4281.cpp:515:50: error: wrong number of template arguments (1, should be 2)
 using modint1000000007 = static_modint<1000000007>;
                                                  ^
0_0_38285743_4281.cpp:288:8: error: provided for 'template<int m, int <anonymous> > struct atcoder::static_modint'
 struct static_modint : internal::static_modint_base {
        ^
0_0_38285743_4281.cpp:524:33: error: 'enable_if_t' in namespace 'std' does not name a template type
 using is_static_modint_t = std::enable_if_t<is_static_modint<T>::value>;
                                 ^
0_0_38285743_4281.cpp:531:34: error: 'enable_if_t' in namespace 'std' does not name a template type
 using is_dynamic_modint_t = std::enable_if_t<is_dynamic_modint<T>::value>;
                                  ^
0_0_38285743_4281.cpp:569:33: error: 'atcoder::internal::is_static_modint_t' has not been declared
 template <class mint, internal::is_static_modint_t<mint>* = nullptr>
                                 ^
0_0_38285743_4281.cpp:569:51: error: expected '>' before '<' token
 template <class mint, internal::is_static_modint_t<mint>* = nullptr>
                                                   ^
0_0_38285743_4281.cpp: In function 'void atcoder::internal::butterfly(std::vector<_RealType>&)':
0_0_38285743_4281.cpp:571:30: error: 'primitive_root' is not a member of 'atcoder::internal'
     static constexpr int g = internal::primitive_root<mint::mod()>;
                              ^
0_0_38285743_4281.cpp:571:67: error: expected primary-expression before ';' token
     static constexpr int g = internal::primitive_root<mint::mod()>;
                                                                   ^
0_0_38285743_4281.cpp: At global scope:
0_0_38285743_4281.cpp:611:33: error: 'atcoder::internal::is_static_modint_t' has not been declared
 template <class mint, internal::is_static_modint_t<mint>* = nullptr>
                                 ^
0_0_38285743_4281.cpp:611:51: error: expected '>' before '<' token
 template <class mint, internal::is_static_modint_t<mint>* = nullptr>
                                                   ^
0_0_38285743_4281.cpp: In function 'void atcoder::internal::butterfly_inv(std::vector<_RealType>&)':
0_0_38285743_4281.cpp:613:30: error: 'primitive_root' is not a member of 'atcoder::internal'
     static constexpr int g = internal::primitive_root<mint::mod()>;
                              ^
0_0_38285743_4281.cpp:613:67: error: expected primary-expression before ';' token
     static constexpr int g = internal::primitive_root<mint::mod()>;
                                                                   ^
0_0_38285743_4281.cpp: At global scope:
0_0_38285743_4281.cpp:658:33: error: 'atcoder::internal::is_static_modint_t' has not been declared
 template <class mint, internal::is_static_modint_t<mint>* = nullptr>
                                 ^
0_0_38285743_4281.cpp:658:51: error: expected '>' before '<' token
 template <class mint, internal::is_static_modint_t<mint>* = nullptr>
                                                   ^
0_0_38285743_4281.cpp:692:16: error: 'std::enable_if_t' has not been declared
           std::enable_if_t<internal::is_integral<T>::value>* = nullptr>
                ^
0_0_38285743_4281.cpp:692:27: error: expected '>' before '<' token
           std::enable_if_t<internal::is_integral<T>::value>* = nullptr>
                           ^
0_0_38285743_4281.cpp: In function 'std::vector<T> atcoder::convolution(const std::vector<T>&, const std::vector<T>&)':
0_0_38285743_4281.cpp:697:35: error: wrong number of template arguments (1


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.001000(s) query 1, Server time : 2025-01-10 21:11:07, Gzip enabled