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_37578919_18680.cpp:79:38: error: 'std::enable_if_t' has not been declared
         template <typename _Tp, std::enable_if_t<std::is_signed_v<_Tp> & std::is_integral_v<_Tp>> * = nullptr>
                                      ^
0_0_37578919_18680.cpp:79:49: error: expected '>' before '<' token
         template <typename _Tp, std::enable_if_t<std::is_signed_v<_Tp> & std::is_integral_v<_Tp>> * = nullptr>
                                                 ^
0_0_37578919_18680.cpp:99:38: error: 'std::enable_if_t' has not been declared
         template <typename _Tp, std::enable_if_t<std::is_unsigned_v<_Tp> & std::is_integral_v<_Tp>> * = nullptr>
                                      ^
0_0_37578919_18680.cpp:99:49: error: expected '>' before '<' token
         template <typename _Tp, std::enable_if_t<std::is_unsigned_v<_Tp> & std::is_integral_v<_Tp>> * = nullptr>
                                                 ^
0_0_37578919_18680.cpp:100:47: error: 'template<long long unsigned int _BufferSize, long long unsigned int _BlockSize> template<class _Tp, int <anonymous> > OY::inputHelper<_BufferSize, _BlockSize>& OY::inputHelper<_BufferSize, _BlockSize>::operator>>(_Tp&)' cannot be overloaded
         inputHelper<_BufferSize, _BlockSize> &operator>>(_Tp &ret) {
                                               ^
0_0_37578919_18680.cpp:80:47: error: with 'template<long long unsigned int _BufferSize, long long unsigned int _BlockSize> template<class _Tp, int <anonymous> > OY::inputHelper<_BufferSize, _BlockSize>& OY::inputHelper<_BufferSize, _BlockSize>::operator>>(_Tp&)'
         inputHelper<_BufferSize, _BlockSize> &operator>>(_Tp &ret) {
                                               ^
0_0_37578919_18680.cpp:110:38: error: 'std::enable_if_t' has not been declared
         template <typename _Tp, std::enable_if_t<std::is_floating_point_v<_Tp>> * = nullptr>
                                      ^
0_0_37578919_18680.cpp:110:49: error: expected '>' before '<' token
         template <typename _Tp, std::enable_if_t<std::is_floating_point_v<_Tp>> * = nullptr>
                                                 ^
0_0_37578919_18680.cpp:111:47: error: 'template<long long unsigned int _BufferSize, long long unsigned int _BlockSize> template<class _Tp, int <anonymous> > OY::inputHelper<_BufferSize, _BlockSize>& OY::inputHelper<_BufferSize, _BlockSize>::operator>>(_Tp&)' cannot be overloaded
         inputHelper<_BufferSize, _BlockSize> &operator>>(_Tp &ret) {
                                               ^
0_0_37578919_18680.cpp:80:47: error: with 'template<long long unsigned int _BufferSize, long long unsigned int _BlockSize> template<class _Tp, int <anonymous> > OY::inputHelper<_BufferSize, _BlockSize>& OY::inputHelper<_BufferSize, _BlockSize>::operator>>(_Tp&)'
         inputHelper<_BufferSize, _BlockSize> &operator>>(_Tp &ret) {
                                               ^
0_0_37578919_18680.cpp:214:38: error: 'std::enable_if_t' has not been declared
         template <typename _Tp, std::enable_if_t<std::is_signed_v<_Tp> & std::is_integral_v<_Tp>> * = nullptr>
                                      ^
0_0_37578919_18680.cpp:214:49: error: expected '>' before '<' token
         template <typename _Tp, std::enable_if_t<std::is_signed_v<_Tp> & std::is_integral_v<_Tp>> * = nullptr>
                                                 ^
0_0_37578919_18680.cpp:235:38: error: 'std::enable_if_t' has not been declared
         template <typename _Tp, std::enable_if_t<std::is_unsigned_v<_Tp> & std::is_integral_v<_Tp>> * = nullptr>
                                      ^
0_0_37578919_18680.cpp:235:49: error: expected '>' before '<' token
         template <typename _Tp, std::enable_if_t<std::is_unsigned_v<_Tp> & std::is_integral_v<_Tp>> * = nullptr>
                                                 ^
0_0_37578919_18680.cpp:236:36: error: 'template<long long unsigned int _BufferSize> template<class _Tp, int <anonymous> > OY::outputHelper<_BufferSize>& OY::outputHelper<_BufferSize>::operator<<(const _Tp&)' cannot be overloaded
         outputHelper<_BufferSize> &operator<<(const _Tp &ret) {
                                    ^
0_0_37578919_18680.cpp:215:36: error: with 'template<long long unsigned int _BufferSize> template<class _Tp, int <anonymous> > OY::outputHelper<_BufferSize>& OY::outputHelper<_BufferSize>::operator<<(const _Tp&)'
         outputHelper<_BufferSize> &operator<<(const _Tp &ret) {
                                    ^
0_0_37578919_18680.cpp:246:38: error: 'std::enable_if_t' has not been declared
         template <typename _Tp, std::enable_if_t<std::is_floating_point_v<_Tp>> * = nullptr>
                                      ^
0_0_37578919_18680.cpp:246:49: error: expected '>' before '<' token
         template <typename _Tp, std::enable_if_t<std::is_floating_point_v<_Tp>> * = nullptr>
                                                 ^
0_0_37578919_18680.cpp:247:36: error: 'template<long long unsigned int _BufferSize> template<class _Tp, int <anonymous> > OY::outputHelper<_BufferSize>& OY::outputHelper<_BufferSize>::operator<<(const _Tp&)' cannot be overloaded
         outputHelper<_BufferSize> &operator<<(const _Tp &ret) {
                                    ^
0_0_37578919_18680.cpp:215:36: error: with 'template<long long unsigned int _BufferSize> template<class _Tp, int <anonymous> > OY::outputHelper<_BufferSize>& OY::outputHelper<_BufferSize>::operator<<(const _Tp&)'
         outputHelper<_BufferSize> &operator<<(const _Tp &ret) {
                                    ^
0_0_37578919_18680.cpp: In function 'void OY::printLog(D, const T&, S ...)':
0_0_37578919_18680.cpp:297:12: error: expected '(' before 'constexpr'
         if constexpr (sizeof...(rest) > 0) {
            ^
0_0_37578919_18680.cpp: At global scope:
0_0_37578919_18680.cpp:332:39: error: 'operator()' function uses 'auto' type specifier without trailing return type
             auto &operator()(Edge &e) const { return e.edge_b; }
                                       ^
0_0_37578919_18680.cpp:332:39: note: deduced return type only available with -std=c++1y or -std=gnu++1y
0_0_37578919_18680.cpp:335:39: error: 'operator()' function uses 'auto' type specifier without trailing return type
             auto &operator()(Edge &e) const { return e.edge_a.data.data_b; }
                                       ^
0_0_37578919_18680.cpp:335:39: note: deduced return type only available with -std=c++1y or -std=gnu++1y
0_0_37578919_18680.cpp:338:39: error: 'operator()' function uses 'auto' type specifier without trailing return type
             auto &operator()(Edge &e) const { return e.edge_a.data.data_a.adj; }
                                       ^
0_0_37578919_18680.cpp:338:39: note: deduced return type only available with -std=c++1y or -std=gnu++1y
0_0_37578919_18680.cpp:343:33: error: 'operator*' function uses 'auto' type specifier without trailing return type
                 auto &operator*() { return _Getter()(std::vector<Edge>::iterator::operator*()); }
                                 ^
0_0_37578919_18680.cpp:343:33: note: deduced return type only available with -std=c++1y or -std=gnu++1y
0_0_37578919_18680.cpp:380:39: error: 'getEdge' function uses 'auto' type specifier without trailing return type
         auto &getEdge(uint32_t __index) { return EdgeGetter()(m_edges[__index]); }
                                       ^
0_0_37578919_18680.cpp:380:39: note: deduced return type only available with -std=c++1y or -std=gnu++1y
0_0_37578919_18680.cpp:381:43: error: 'getEdgeInfo' function uses 'auto' type specifier without trailing return type
         auto &getEdgeInfo(uint32_t __index) { return EdgeGetter()(m_edges[__index]); }
                                           ^
0_0_37578919_18680.cpp:381:43: note: deduced return type only available with -std=c++1y or -std=gnu++1y
0_0_37578919_18680.cpp:382:43: error: 'getEdgeData' function uses 'auto' type specifier without trailing return type
         auto &getEdgeData(uint32_t __index) { return EdgeDataGetter()(m_edges[__index]); }
                                           ^
0_0_37578919_18680.cpp:382:43: note: deduced return type only available with -std=c++1y or -std=gnu++1y
0_0_37578919_18680.cpp:383:42: error: 'getEdgeAdj' function uses 'auto' type specifier without trailing return type
         auto &getEdgeAdj(uint32_t __index) { return EdgeAdjGetter()(m_edges[__index]); }
                                          ^
0_0_37578919_18680.cpp:383:42: note: deduced return type only available with -std=c++1y or -std=gnu++1y
0_0_37578919_18680.cpp:384:40: error: 'getEdgesOf' function uses 'auto' type specifier without trailing return type
         auto getEdgesOf(uint32_t __from) { return EdgesOf<EdgeGetter>{m_edges.begin() + m_starts[__from], m_edges.begin() + m_starts[__from + 1]}; }
                                        ^
0_0_37578919_18680.cpp:384:40: note: deduced return type only available with -std=c++1y or -std=gnu++1y
0_0_37578919_18680.cpp:385:44: error: 'getEdgesInfoOf' function uses 'auto' type specifier without trailing return type
         auto getEdgesInfoOf(uint32_t __from) { return EdgesOf<EdgeGetter>{m_edges.begin() + m_starts[__from], m_edges.begin() + m_starts[__from + 1]}; }
                                            ^
0_0_37578919_18680.cpp:385:44: note: deduced return type only available with -std=c++1y or -std=gnu++1y
0_0_37578919_18680.cpp:386:44: error: 'getEdgesDataOf' function uses 'auto' type specifier without trailing return type
         auto getEdgesDataOf(uint32_t __from) { return EdgesOf<EdgeDataGetter>{m_edges.begin() + m_starts[__from], m_edges.begin() + m_starts[__from + 1]}; }
                                            ^
0_0_37578919_18680.cpp:386:44: n


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-11-26 02:33:07, Gzip enabled