Main.cc:3:1: error: stray ‘\346’ in program 提交时间:2019-12-15 14:43:46 ^ Main.cc:3:2: error: stray ‘\217’ in program 提交时间:2019-12-15 14:43:46 ^ Main.cc:3:3: error: stray ‘\220’ in program 提交时间:2019-12-15 14:43:46 ^ Main.cc:3:4: error: stray ‘\344’ in program 提交时间:2019-12-15 14:43:46 ^ Main.cc:3:5: error: stray ‘\272’ in program 提交时间:2019-12-15 14:43:46 ^ Main.cc:3:6: error: stray ‘\244’ in program 提交时间:2019-12-15 14:43:46 ^ Main.cc:3:7: error: stray ‘\346’ in program 提交时间:2019-12-15 14:43:46 ^ Main.cc:3:8: error: stray ‘\227’ in program 提交时间:2019-12-15 14:43:46 ^ Main.cc:3:9: error: stray ‘\266’ in program 提交时间:2019-12-15 14:43:46 ^ Main.cc:3:10: error: stray ‘\351’ in program 提交时间:2019-12-15 14:43:46 ^ Main.cc:3:11: error: stray ‘\227’ in program 提交时间:2019-12-15 14:43:46 ^ Main.cc:3:12: error: stray ‘\264’ in program 提交时间:2019-12-15 14:43:46 ^ Main.cc:3:13: error: stray ‘\357’ in program 提交时间:2019-12-15 14:43:46 ^ Main.cc:3:14: error: stray ‘\274’ in program 提交时间:2019-12-15 14:43:46 ^ Main.cc:3:15: error: stray ‘\232’ in program 提交时间:2019-12-15 14:43:46 ^ Main.cc:5:1: error: stray ‘\350’ in program 运行 ID: 3303 ^ Main.cc:5:2: error: stray ‘\277’ in program 运行 ID: 3303 ^ Main.cc:5:3: error: stray ‘\220’ in program 运行 ID: 3303 ^ Main.cc:5:4: error: stray ‘\350’ in program 运行 ID: 3303 ^ Main.cc:5:5: error: stray ‘\241’ in program 运行 ID: 3303 ^ Main.cc:5:6: error: stray ‘\214’ in program 运行 ID: 3303 ^ Main.cc:3:16: error: expected unqualified-id before numeric constant 提交时间:2019-12-15 14:43:46 ^~~~ In file included from /usr/include/c++/7/iosfwd:40:0, from /usr/include/c++/7/ios:38, from /usr/include/c++/7/ostream:38, from /usr/include/c++/7/iostream:39, from Main.cc:7: /usr/include/c++/7/bits/postypes.h:98:11: error: ‘ptrdiff_t’ does not name a type typedef ptrdiff_t streamsize; // Signed integral type ^~~~~~~~~ In file included from /usr/include/c++/7/bits/exception_ptr.h:40:0, from /usr/include/c++/7/exception:142, from /usr/include/c++/7/ios:39, from /usr/include/c++/7/ostream:38, from /usr/include/c++/7/iostream:39, from Main.cc:7: /usr/include/c++/7/new:120:31: error: declaration of ‘operator new’ as non-function void* operator new(std::size_t) _GLIBCXX_THROW (std::bad_alloc) ^ /usr/include/c++/7/new:120:25: error: ‘size_t’ is not a member of ‘std’ void* operator new(std::size_t) _GLIBCXX_THROW (std::bad_alloc) ^~~~~~ /usr/include/c++/7/new:120:25: note: suggested alternative: In file included from /usr/include/wchar.h:35:0, from /usr/include/c++/7/cwchar:44, from /usr/include/c++/7/bits/postypes.h:40, from /usr/include/c++/7/iosfwd:40, from /usr/include/c++/7/ios:38, from /usr/include/c++/7/ostream:38, from /usr/include/c++/7/iostream:39, from Main.cc:7: /usr/lib/gcc/x86_64-linux-gnu/7/include/stddef.h:216:23: note: ‘size_t’ typedef __SIZE_TYPE__ size_t; ^~~~~~ In file included from /usr/include/c++/7/bits/exception_ptr.h:40:0, from /usr/include/c++/7/exception:142, from /usr/include/c++/7/ios:39, from /usr/include/c++/7/ostream:38, from /usr/include/c++/7/iostream:39, from Main.cc:7: /usr/include/c++/7/new:122:33: error: declaration of ‘operator new []’ as non-function void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc) ^ /usr/include/c++/7/new:122:27: error: ‘size_t’ is not a member of ‘std’ void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc) ^~~~~~ /usr/include/c++/7/new:122:27: note: suggested alternative: In file included from /usr/include/wchar.h:35:0, from /usr/include/c++/7/cwchar:44, from /usr/include/c++/7/bits/postypes.h:40, from /usr/include/c++/7/iosfwd:40, from /usr/include/c++/7/ios:38, from /usr/include/c++/7/ostream:38, from /usr/include/c++/7/iostream:39, from Main.cc:7: /usr/lib/gcc/x86_64-linux-gnu/7/include/stddef.h:216:23: note: ‘size_t’ typedef __SIZE_TYPE__ size_t; ^~~~~~ In file included from /usr/include/c++/7/bits/exception_ptr.h:40:0, from /usr/include/c++/7/exception:142, from /usr/include/c++/7/ios:39, from /usr/include/c++/7/ostream:38, from /usr/include/c++/7/iostream:39, from Main.cc:7: /usr/include/c++/7/new:134:25: error: declaration of ‘operator new’ as non-function void* operator new(std::size_t, const std::nothrow_t&) _GLIBCXX_USE_NOEXCEPT ^~~~~~ /usr/include/c++/7/new:134:25: error: ‘size_t’ is not a member of ‘std’ /usr/include/c++/7/new:134:25: note: suggested alternative: In file included from /usr/include/wchar.h:35:0, from /usr/include/c++/7/cwchar:44, from /usr/include/c++/7/bits/postypes.h:40, from /usr/include/c++/7/iosfwd:40, from /usr/include/c++/7/ios:38, from /usr/include/c++/7/ostream:38, from /usr/include/c++/7/iostream:39, from Main.cc:7: /usr/lib/gcc/x86_64-linux-gnu/7/include/stddef.h:216:23: note: ‘size_t’ typedef __SIZE_TYPE__ size_t; ^~~~~~ In file included from /usr/include/c++/7/bits/exception_ptr.h:40:0, from /usr/include/c++/7/exception:142, from /usr/include/c++/7/ios:39, from /usr/include/c++/7/ostream:38, from /usr/include/c++/7/iostream:39, from Main.cc:7: /usr/include/c++/7/new:134:33: error: expected primary-expression before ‘const’ void* operator new(std::size_t, const std::nothrow_t&) _GLIBCXX_USE_NOEXCEPT ^~~~~ /usr/include/c++/7/new:136:27: error: declaration of ‘operator new []’ as non-function void* operator new[](std::size_t, const std::nothrow_t&) _GLIBCXX_USE_NOEXCEPT ^~~~~~ /usr/include/c++/7/new:136:27: error: ‘size_t’ is not a member of ‘std’ /usr/include/c++/7/new:136:27: note: suggested alternative: In file included from /usr/include/wchar.h:35:0, from /usr/include/c++/7/cwchar:44, from /usr/include/c++/7/bits/postypes.h:40, from /usr/include/c++/7/iosfwd:40, from /usr/include/c++/7/ios:38, from /usr/include/c++/7/ostream:38, from /usr/include/c++/7/iostream:39, from Main.cc:7: /usr/lib/gcc/x86_64-linux-gnu/7/include/stddef.h:216:23: note: ‘size_t’ typedef __SIZE_TYPE__ size_t; ^~~~~~ In file included from /usr/include/c++/7/bits/exception_ptr.h:40:0, from /usr/include/c++/7/exception:142, from /usr/include/c++/7/ios:39, from /usr/include/c++/7/ostream:38, from /usr/include/c++/7/iostream:39, from Main.cc:7: /usr/include/c++/7/new:136:35: error: expected primary-expression before ‘const’ void* operator new[](std::size_t, const std::nothrow_t&) _GLIBCXX_USE_NOEXCEPT ^~~~~ /usr/include/c++/7/new:168:32: error: declaration of ‘operator new’ as non-function inline void* operator new(std::size_t, void* __p) _GLIBCXX_USE_NOEXCEPT ^~~~~~ /usr/include/c++/7/new:168:32: error: ‘size_t’ is not a member of ‘std’ /usr/include/c++/7/new:168:32: note: suggested alternative: In file included from /usr/include/wchar.h:35:0, from /usr/include/c++/7/cwchar:44, from /usr/include/c++/7/bits/postypes.h:40, from /usr/include/c++/7/iosfwd:40, from /usr/include/c++/7/ios:38, from /usr/include/c++/7/ostream:38, from /usr/include/c++/7/iostream:39, from Main.cc:7: /usr/lib/gcc/x86_64-linux-gnu/7/include/stddef.h:216:23: note: ‘size_t’ typedef __SIZE_TYPE__ size_t; ^~~~~~ In file included from /usr/include/c++/7/bits/exception_ptr.h:40:0, from /usr/include/c++/7/exception:142, from /usr/include/c++/7/ios:39, from /usr/include/c++/7/ostream:38, from /usr/include/c++/7/iostream:39, from Main.cc:7: /usr/include/c++/7/new:168:40: error: expected primary-expression before ‘void’ inline void* operator new(std::size_t, void* __p) _GLIBCXX_USE_NOEXCEPT ^~~~ /usr/include/c++/7/new:170:34: error: declaration of ‘operator new []’ as non-function inline void* operator new[](std::size_t, void* __p) _GLIBCXX_USE_NOEXCEPT ^~~~~~ /usr/include/c++/7/new:170:34: error: ‘size_t’ is not a member of ‘std’ /usr/include/c++/7/new:170:34: note: suggested alternative: In file included from /usr/include/wchar.h:35:0, from /usr/include/c++/7/cwchar:44, from /usr/include/c++/7/bits/postypes.h:40, from /usr/include/c++/7/iosfwd:40, from /usr/include/c++/7/ios:38, from /usr/include/c++/7/ostream:38, from /usr/include/c++/7/iostream:39, from Main.cc:7: /usr/lib/gcc/x86_64-linux-gnu/7/include/stddef.h:216:23: note: ‘size_t’ typedef __SIZE_TYPE__ size_t; ^~~~~~ In file included from /usr/include/c++/7/bits/exception_ptr.h:40:0, from /usr/include/c++/7/exception:142, from /usr/include/c++/7/ios:39, from /usr/include/c++/7/ostream:38, from /usr/include/c++/7/iostream:39, from Main.cc:7: /usr/include/c++/7/new:170:42: error: expected primary-expression before ‘void’ inline void* operator new[](std::size_t, void* __p) _GLIBCXX_USE_NOEXCEPT ^~~~ In file included from /usr/include/c++/7/bits/move.h:54:0, from /usr/include/c++/7/bits/nested_exception.h:40, from /usr/include/c++/7/exception:143, from /usr/include/c++/7/ios:39, from /usr/include/c++/7/ostream:38, from /usr/include/c++/7/iostream:39, from Main.cc:7: /usr/include/c++/7/type_traits:362:31: error: ‘std::size_t’ has not been declared template ^~~~~~ /usr/include/c++/7/type_traits:363:25: error: ‘_Size’ was not declared in this scope struct is_array<_Tp[_Size]> ^~~~~ /usr/include/c++/7/type_traits:363:31: error: template argument 1 is invalid struct is_array<_Tp[_Size]> ^ /usr/include/c++/7/type_traits:561:42: error: ‘nullptr_t’ is not a member of ‘std’ struct __is_null_pointer_helper ^~~~~~~~~ /usr/include/c++/7/type_traits:561:42: note: suggested alternative: In file included from /usr/include/c++/7/bits/cxxabi_init_exception.h:38:0, from /usr/include/c++/7/bits/exception_ptr.h:38, from /usr/include/c++/7/exception:142, from /usr/include/c++/7/ios:39, from /usr/include/c++/7/ostream:38, from /usr/include/c++/7/iostream:39, from Main.cc:7: /usr/lib/gcc/x86_64-linux-gnu/7/include/stddef.h:444:29: note: ‘nullptr_t’ typedef decltype(nullptr) nullptr_t; ^~~~~~~~~ In file included from /usr/include/c++/7/bits/move.h:54:0, from /usr/include/c++/7/bits/nested_exception.h:40, from /usr/include/c++/7/exception:143, from /usr/include/c++/7/ios:39, from /usr/include/c++/7/ostream:38, from /usr/include/c++/7/iostream:39, from Main.cc:7: /usr/include/c++/7/type_traits:561:42: error: ‘nullptr_t’ is not a member of ‘std’ struct __is_null_pointer_helper ^~~~~~~~~ /usr/include/c++/7/type_traits:561:42: note: suggested alternative: In file included from /usr/include/c++/7/bits/cxxabi_init_exception.h:38:0, from /usr/include/c++/7/bits/exception_ptr.h:38, from /usr/include/c++/7/exception:142, from /usr/include/c++/7/ios:39, from /usr/include/c++/7/ostream:38, from /usr/include/c++/7/iostream:39, from Main.cc:7: /usr/lib/gcc/x86_64-linux-gnu/7/include/stddef.h:444:29: note: ‘nullptr_t’ typedef decltype(nullptr) nullptr_t; ^~~~~~~~~ In file included from /usr/include/c++/7/bits/move.h:54:0, from /usr/include/c++/7/bits/nested_exception.h:40, from /usr/include/c++/7/exception:143, from /usr/include/c++/7/ios:39, from /usr/include/c++/7/ostream:38, from /usr/include/c++/7/iostream:39, from Main.cc:7: /usr/include/c++/7/type_traits:561:51: error: template argument 1 is invalid struct __is_null_pointer_helper ^ /usr/include/c++/7/type_traits:1464:37: error: ‘size_t’ is not a member of ‘std’ : public integral_constant { }; ^~~~~~ /usr/include/c++/7/type_traits:1464:37: note: suggested alternative: In file included from /usr/include/wchar.h:35:0, from /usr/include/c++/7/cwchar:44, from /usr/include/c++/7/bits/postypes.h:40, from /usr/include/c++/7/iosfwd:40, from /usr/include/c++/7/ios:38, from /usr/include/c++/7/ostream:38, from /usr/include/c++/7/iostream:39, from Main.cc:7: /usr/lib/gcc/x86_64-linux-gnu/7/include/stddef.h:216:23: note: ‘size_t’ typedef __SIZE_TYPE__ size_t; ^~~~~~ In file included from /usr/include/c++/7/bits/move.h:54:0, from /usr/include/c++/7/bits/nested_exception.h:40, from /usr/include/c++/7/exception:143, from /usr/include/c++/7/ios:39, from /usr/include/c++/7/ostream:38, from /usr/include/c++/7/iostream:39, from Main.cc:7: /usr/include/c++/7/type_traits:1464:37: error: ‘size_t’ is not a member of ‘std’ : public integral_constant { }; ^~~~~~ /usr/include/c++/7/type_traits:1464:37: note: suggested alternative: In file included from /usr/include/wchar.h:35:0, from /usr/include/c++/7/cwchar:44, from /usr/include/c++/7/bits/postypes.h:40, from /usr/include/c++/7/iosfwd:40, from /usr/include/c++/7/ios:38, from /usr/include/c++/7/ostream:38, from /usr/include/c++/7/iostream:39, from Main.cc:7: /usr/lib/gcc/x86_64-linux-gnu/7/include/stddef.h:216:23: note: ‘size_t’ typedef __SIZE_TYPE__ size_t; ^~~~~~ In file included from /usr/include/c++/7/bits/move.h:54:0, from /usr/include/c++/7/bits/nested_exception.h:40, from /usr/include/c++/7/exception:143, from /usr/include/c++/7/ios:39, from /usr/include/c++/7/ostream:38, from /usr/include/c++/7/iostream:39, from Main.cc:7: /usr/include/c++/7/type_traits:1464:61: error: template argument 1 is invalid : public integral_constant { }; ^ /usr/include/c++/7/type_traits:1464:61: note: invalid template non-type parameter /usr/include/c++/7/type_traits:1469:37: error: ‘size_t’ is not a member of ‘std’ : public integral_constant { }; ^~~~~~ /usr/include/c++/7/type_traits:1469:37: note: suggested alternative: In file included from /usr/include/wchar.h:35:0, from /usr/include/c++/7/cwchar:44, from /usr/include/c++/7/bits/postypes.h:40, from /usr/include/c++/7/iosfwd:40, from /usr/include/c++/7/ios:38, from /usr/include/c++/7/ostream:38, from /usr/include/c++/7/iostream:39, from Main.cc:7: /usr/lib/gcc/x86_64-linux-gnu/7/include/stddef.h:216:23: note: ‘size_t’ typedef __SIZE_TYPE__ size_t; ^~~~~~ In file included from /usr/include/c++/7/bits/move.h:54:0, from /usr/include/c++/7/bits/nested_exception.h:40, from /usr/include/c++/7/exception:143, from /usr/include/c++/7/ios:39, from /usr/include/c++/7/ostream:38, from /usr/include/c++/7/iostream:39, from Main.cc:7: /usr/include/c++/7/type_traits:1469:37: error: ‘size_t’ is not a member of ‘std’ : public integral_constant { }; ^~~~~~ /usr/include/c++/7/type_traits:1469:37: note: suggested alternative: In file included from /usr/include/wchar.h:35:0, from /usr/include/c++/7/cwchar:44, from /usr/include/c++/7/bits/postypes.h:40, from /usr/include/c++/7/iosfwd:40, from /usr/include/c++/7/ios:38, from /usr/include/c++/7/ostream:38, from /usr/include/c++/7/iostream:39, from Main.cc:7: /usr/lib/gcc/x86_64-linux-gnu/7/include/stddef.h:216:23: note: ‘size_t’ typedef __SIZE_TYPE__ size_t; ^~~~~~ In file included from /usr/include/c++/7/bits/move.h:54:0, from /usr/include/c++/7/bits/nested_exception.h:40, from /usr/include/c++/7/exception:143, from /usr/include/c++/7/ios:39, from /usr/include/c++/7/ostream:38, from /usr/include/c++/7/iostream:39, from Main.cc:7: /usr/include/c++/7/type_traits:1469:46: error: template argument 1 is invalid : public integral_constant { }; ^ /usr/include/c++/7/type_traits:1469:46: note: invalid template non-type parameter /usr/include/c++/7/type_traits:1471:31: error: ‘std::size_t’ has not been declared template ^~~~~~ /usr/include/c++/7/type_traits:1472:21: error: ‘_Size’ was not declared in this scope struct rank<_Tp[_Size]> ^~~~~ /usr/include/c++/7/type_traits:1472:27: error: template argument 1 is invalid struct rank<_Tp[_Size]> ^ /usr/include/c++/7/type_traits:1473:37: error: ‘size_t’ is not a member of ‘std’ : public integral_constant::value> { }; ^~~~~~ /usr/include/c++/7/type_traits:1473:37: note: suggested alternative: In file included from /usr/include/wchar.h:35:0, from /usr/include/c++/7/cwchar:44, from /usr/include/c++/7/bits/postypes.h:40, from /usr/include/c++/7/iosfwd:40, from /usr/include/c++/7/ios:38, from /usr/include/c++/7/ostream:38, from /usr/include/c++/7/iostream:39, from Main.cc:7: /usr/lib/gcc/x86_64-linux-gnu/7/include/stddef.h:216:23: note: ‘size_t’ typedef __SIZE_TYPE__ size_t; ^~~~~~ In file included from /usr/include/c++/7/bits/move.h:54:0, from /usr/include/c++/7/bits/nested_exception.h:40, from /usr/include/c++/7/exception:143, from /usr/include/c++/7/ios:39, from /usr/include/c++/7/ostream:38, from /usr/include/c++/7/iostream:39, from Main.cc:7: /usr/include/c++/7/type_traits:1473:37: error: ‘size_t’ is not a member of ‘std’ : public integral_constant::value> { }; ^~~~~~ /usr/include/c++/7/type_traits:1473:37: note: suggested alternative: In file included from /usr/include/wchar.h:35:0, from /usr/include/c++/7/cwchar:44, from /usr/include/c++/7/bits/postypes.h:40, from /usr/include/c++/7/iosfwd:40, from /usr/include/c++/7/ios:38, from /usr/include/c++/7/ostream:38, from /usr/include/c++/7/iostream:39, from Main.cc:7: /usr/lib/gcc/x86_64-linux-gnu/7/include/stddef.h:216:23: note: ‘size_t’ typedef __SIZE_TYPE__ size_t; ^~~~~~ In file included from /usr/include/c++/7/bits/move.h:54:0, from /usr/include/c++/7/bits/nested_exception.h:40, from /usr/include/c++/7/exception:143, from /usr/include/c++/7/ios:39, from /usr/include/c++/7/ostream:38, from /usr/include/c++/7/iostream:39, from Main.cc:7: /usr/include/c++/7/type_traits:1473:65: error: template argument 1 is invalid : public integral_constant::value> { }; ^ /usr/include/c++/7/type_traits:1473:65: note: invalid template non-type parameter /usr/include/c++/7/type_traits:1477:37: error: ‘size_t’ is not a member of ‘std’ : public integral_constant::value> { }; ^~~~~~ /usr/include/c++/7/type_traits:1477:37: note: suggested alternative: In file included from /usr/include/wchar.h:35:0, from /usr/include/c++/7/cwchar:44, from /usr/include/c++/7/bits/postypes.h:40, from /usr/include/c++/7/iosfwd:40, from /usr/include/c++/7/ios:38, from /usr/include/c++/7/ostream:38, from /usr/include/c++/7/iostream:39, from Main.cc:7: /usr/lib/gcc/x86_64-linux-gnu/7/include/stddef.h:216:23: note: ‘size_t’ typedef __SIZE_TYPE__ size_t; ^~~~~~ In file included from /usr/include/c++/7/bits/move.h:54:0, from /usr/include/c++/7/bits/nested_exception.h:40, from /usr/include/c++/7/exception:143, from /usr/include/c++/7/ios:39, from /usr/include/c++/7/ostream:38, from /usr/include/c++/7/iostream:39, from Main.cc:7: /usr/include/c++/7/type_traits:1477:37: error: ‘size_t’ is not a member of ‘std’ : public integral_constant::value> { }; ^~~~~~ /usr/include/c++/7/type_traits:1477:37: note: suggested alternative: In file included from /usr/include/wchar.h:35:0, from /usr/include/c++/7/cwchar:44, from /usr/include/c++/7/bits/postypes.h:40, from /usr/include/c++/7/iosfwd:40, from /usr/include/c++/7/ios:38, from /usr/include/c++/7/ostream:38, from /usr/include/c++/7/iostream:39, from Main.cc:7: /usr/lib/gcc/x86_64-linux-gnu/7/include/stddef.h:216:23: note: ‘size_t’ typedef __SIZE_TYPE__ size_t; ^~~~~~ In file included from /usr/include/c++/7/bits/move.h:54:0, from /usr/include/c++/7/bits/nested_exception.h:40, from /usr/include/c++/7/exception:143, from /usr/include/c++/7/ios:39, from /usr/include/c++/7/ostream:38, from /usr/include/c++/7/iostream:39, from Main.cc:7: /usr/include/c++/7/type_traits:1477:65: error: template argument 1 is invalid : public integral_constant::value> { }; ^ /usr/include/c++/7/type_traits:1477:65: note: invalid template non-type parameter /usr/include/c++/7/type_traits:1482:37: error: ‘size_t’ is not a member of ‘std’ : public integral_constant { }; ^~~~~~ /usr/include/c++/7/type_traits:1482:37: note: suggested alternative: In file included from /usr/include/wchar.h:35:0, from /usr/include/c++/7/cwchar:44, from /usr/include/c++/7/bits/postypes.h:40, from /usr/include/c++/7/iosfwd:40, from /usr/include/c++/7/ios:38, from /usr/include/c++/7/ostream:38, from /usr/include/c++/7/iostream:39, from Main.cc:7: /usr/lib/gcc/x86_64-linux-gnu/7/include/stddef.h:216:23: note: ‘size_t’ typedef __SIZE_TYPE__ size_t; ^~~~~~ In file included from /usr/include/c++/7/bits/move.h:54:0, from /usr/include/c++/7/bits/nested_exception.h:40, from /usr/include/c++/7/exception:143, from /usr/include/c++/7/ios:39, from /usr/include/c++/7/ostream:38, from /usr/include/c++/7/iostream:39, from Main.cc:7: /usr/include/c++/7/type_traits:1482:37: error: ‘size_t’ is not a member of ‘std’ : public integral_constant { }; ^~~~~~ /usr/include/c++/7/type_traits:1482:37: note: suggested alternative: In file included from /usr/include/wchar.h:35:0, from /usr/include/c++/7/cwchar:44, from /usr/include/c++/7/bits/postypes.h:40, from /usr/include/c++/7/iosfwd:40, from /usr/include/c++/7/ios:38, from /usr/include/c++/7/ostream:38, from /usr/include/c++/7/iostream:39, from Main.cc:7: /usr/lib/gcc/x86_64-linux-gnu/7/include/stddef.h:216:23: note: ‘size_t’ typedef __SIZE_TYPE__ size_t; ^~~~~~ In file included from /usr/include/c++/7/bits/move.h:54:0, from /usr/include/c++/7/bits/nested_exception.h:40, from /usr/include/c++/7/exception:143, from /usr/include/c++/7/ios:39, from /usr/include/c++/7/ostream:38, from /usr/include/c++/7/iostream:39, from Main.cc:7: /usr/include/c++/7/type_traits:1482:46: error: template argument 1 is invalid : public integral_constant { }; ^ /usr/include/c++/7/type_traits:1482:46: note: invalid template non-type parameter /usr/include/c++/7/type_traits:1484:47: error: ‘std::size_t’ has not been declared template ^~~~~~ /usr/include/c++/7/type_traits:1485:23: error: ‘_Size’ was not declared in this scope struct extent<_Tp[_Size], _Uint> ^~~~~ /usr/include/c++/7/type_traits:1485:36: error: template argument 1 is invalid struct extent<_Tp[_Size], _Uint> ^ /usr/include/c++/7/type_traits:1486:37: error: ‘size_t’ is not a member of ‘std’ : public integral_constant