运行 ID: 41461

Main.cc: In function ‘void read(T& ...)’:
Main.cc:25:14: warning: fold-expressions only available with -std=c++1z or -std=gnu++1z
     (read(x),...);
              ^~~
Main.cc: At global scope:
Main.cc:30:26: error: ‘get_array’ function uses ‘auto’ type specifier without trailing return type
 constexpr auto get_array() {
                          ^
Main.cc:30:26: note: deduced return type only available with -std=c++14 or -std=gnu++14
Main.cc: In instantiation of ‘constexpr auto get_array() [with T = long long int; long unsigned int N = 21; T V = 1000000000000000000]’:
Main.cc:39:81:   required from here
Main.cc:34:1: error: body of constexpr function ‘constexpr auto get_array() [with T = long long int; long unsigned int N = 21; T V = 1000000000000000000]’ not a return-statement
 }
 ^
Main.cc: In function ‘void floyd(const std::array, 11>&, std::array, 11>&, const std::array&)’:
Main.cc:39:84: error: no matching function for call to ‘get_array, 21, get_array()>()’
     array,21>dis=get_array,21,get_array()>();
                                                                                    ^
Main.cc:30:16: note: candidate: template constexpr auto get_array()
 constexpr auto get_array() {
                ^~~~~~~~~
Main.cc:30:16: note:   template argument deduction/substitution failed:
Main.cc:39:84: error: ‘struct std::array’ is not a valid type for a template non-type parameter
     array,21>dis=get_array,21,get_array()>();
                                                                                    ^
Main.cc: In instantiation of ‘constexpr auto get_array() [with T = long long int; long unsigned int N = 11; T V = 1000000000000000000]’:
Main.cc:53:66:   required from here
Main.cc:34:1: error: body of constexpr function ‘constexpr auto get_array() [with T = long long int; long unsigned int N = 11; T V = 1000000000000000000]’ not a return-statement
 }
 ^
Main.cc: In function ‘node operator+(const node&, const node&)’:
Main.cc:53:69: error: no matching function for call to ‘get_array, 11, get_array()>()’
         res.dis=get_array,11,get_array()>();
                                                                     ^
Main.cc:30:16: note: candidate: template constexpr auto get_array()
 constexpr auto get_array() {
                ^~~~~~~~~
Main.cc:30:16: note:   template argument deduction/substitution failed:
Main.cc:53:69: error: ‘struct std::array’ is not a valid type for a template non-type parameter
         res.dis=get_array,11,get_array()>();
                                                                     ^
Main.cc: In function ‘void bd(long long int, long long int, long long int)’:
Main.cc:72:15: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses]
 #define mid (l+r>>1)
              ~^~
Main.cc:78:10: note: in expansion of macro ‘mid’
     bd(l,mid,ls);
          ^~~
Main.cc:72:15: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses]
 #define mid (l+r>>1)
              ~^~
Main.cc:79:8: note: in expansion of macro ‘mid’
     bd(mid+1,r,rs);
        ^~~
Main.cc: In function ‘void qu(long long int, long long int, long long int, long long int, std::array&, long long int)’:
Main.cc:72:15: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses]
 #define mid (l+r>>1)
              ~^~
Main.cc:84:8: note: in expansion of macro ‘mid’
     if(mid>=ml)qu(l,mid,ml,mr,res,ls);
        ^~~
Main.cc:72:15: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses]
 #define mid (l+r>>1)
              ~^~
Main.cc:84:21: note: in expansion of macro ‘mid’
     if(mid>=ml)qu(l,mid,ml,mr,res,ls);
                     ^~~
Main.cc:72:15: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses]
 #define mid (l+r>>1)
              ~^~
Main.cc:85:8: note: in expansion of macro ‘mid’
     if(mid>’ [-Wparentheses]
 #define mid (l+r>>1)
              ~^~
Main.cc:85:18: note: in expansion of macro ‘mid’
     if(mid