Mã chấm: 418781
/bin/chown: invalid user: ‘judge’ Main.cc:1:1: error: ‘Bài’ does not name a type 1 | Bài C | ^~~ In file included from /usr/include/c++/11/cmath:43, from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:41, from Main.cc:2: /usr/include/c++/11/ext/type_traits.h:162:35: error: ‘bool __gnu_cxx::__is_null_pointer’ redeclared as different kind of entity 162 | __is_null_pointer(std::nullptr_t) | ^ /usr/include/c++/11/ext/type_traits.h:157:5: note: previous declaration ‘template bool __gnu_cxx::__is_null_pointer(_Type)’ 157 | __is_null_pointer(_Type) | ^~~~~~~~~~~~~~~~~ /usr/include/c++/11/ext/type_traits.h:162:26: error: ‘nullptr_t’ is not a member of ‘std’ 162 | __is_null_pointer(std::nullptr_t) | ^~~~~~~~~ In file included from /usr/include/c++/11/bits/exception_ptr.h:40, from /usr/include/c++/11/exception:153, from /usr/include/c++/11/ios:39, from /usr/include/c++/11/istream:38, from /usr/include/c++/11/sstream:38, from /usr/include/c++/11/complex:45, from /usr/include/c++/11/ccomplex:39, from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:54, from Main.cc:2: /usr/include/c++/11/new:126:26: error: declaration of ‘operator new’ as non-function 126 | _GLIBCXX_NODISCARD void* operator new(std::size_t) _GLIBCXX_THROW (std::bad_alloc) | ^~~~~~~~ /usr/include/c++/11/new:126:44: error: ‘size_t’ is not a member of ‘std’; did you mean ‘time_t’? 126 | _GLIBCXX_NODISCARD void* operator new(std::size_t) _GLIBCXX_THROW (std::bad_alloc) | ^~~~~~ | time_t /usr/include/c++/11/new:127:41: error: attributes after parenthesized initializer ignored [-fpermissive] 127 | __attribute__((__externally_visible__)); | ^ /usr/include/c++/11/new:128:26: error: declaration of ‘operator new []’ as non-function 128 | _GLIBCXX_NODISCARD void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc) | ^~~~~~~~ /usr/include/c++/11/new:128:46: error: ‘size_t’ is not a member of ‘std’; did you mean ‘time_t’? 128 | _GLIBCXX_NODISCARD void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc) | ^~~~~~ | time_t /usr/include/c++/11/new:129:41: error: attributes after parenthesized initializer ignored [-fpermissive] 129 | __attribute__((__externally_visible__)); | ^ /usr/include/c++/11/new:140:26: error: declaration of ‘operator new’ as non-function 140 | _GLIBCXX_NODISCARD void* operator new(std::size_t, const std::nothrow_t&) _GLIBCXX_USE_NOEXCEPT | ^~~~~~~~ /usr/include/c++/11/new:140:44: error: ‘size_t’ is not a member of ‘std’; did you mean ‘time_t’? 140 | _GLIBCXX_NODISCARD void* operator new(std::size_t, const std::nothrow_t&) _GLIBCXX_USE_NOEXCEPT | ^~~~~~ | time_t /usr/include/c++/11/new:140:52: error: expected primary-expression before ‘const’ 140 | _GLIBCXX_NODISCARD void* operator new(std::size_t, const std::nothrow_t&) _GLIBCXX_USE_NOEXCEPT | ^~~~~ /usr/include/c++/11/new:142:26: error: declaration of ‘operator new []’ as non-function 142 | _GLIBCXX_NODISCARD void* operator new[](std::size_t, const std::nothrow_t&) _GLIBCXX_USE_NOEXCEPT | ^~~~~~~~ /usr/include/c++/11/new:142:46: error: ‘size_t’ is not a member of ‘std’; did you mean ‘time_t’? 142 | _GLIBCXX_NODISCARD void* operator new[](std::size_t, const std::nothrow_t&) _GLIBCXX_USE_NOEXCEPT | ^~~~~~ | time_t /usr/include/c++/11/new:142:54: error: expected primary-expression before ‘const’ 142 | _GLIBCXX_NODISCARD void* operator new[](std::size_t, const std::nothrow_t&) _GLIBCXX_USE_NOEXCEPT | ^~~~~ /usr/include/c++/11/new:174:33: error: declaration of ‘operator new’ as non-function 174 | _GLIBCXX_NODISCARD inline void* operator new(std::size_t, void* __p) _GLIBCXX_USE_NOEXCEPT | ^~~~~~~~ /usr/include/c++/11/new:174:51: error: ‘size_t’ is not a member of ‘std’; did you mean ‘time_t’? 174 | _GLIBCXX_NODISCARD inline void* operator new(std::size_t, void* __p) _GLIBCXX_USE_NOEXCEPT | ^~~~~~ | time_t /usr/include/c++/11/new:174:59: error: expected primary-expression before ‘void’ 174 | _GLIBCXX_NODISCARD inline void* operator new(std::size_t, void* __p) _GLIBCXX_USE_NOEXCEPT | ^~~~ /usr/include/c++/11/new:176:33: error: declaration of ‘operator new []’ as non-function 176 | _GLIBCXX_NODISCARD inline void* operator new[](std::size_t, void* __p) _GLIBCXX_USE_NOEXCEPT | ^~~~~~~~ /usr/include/c++/11/new:176:53: error: ‘size_t’ is not a member of ‘std’; did you mean ‘time_t’? 176 | _GLIBCXX_NODISCARD inline void* operator new[](std::size_t, void* __p) _GLIBCXX_USE_NOEXCEPT | ^~~~~~ | time_t /usr/include/c++/11/new:176:61: error: expected primary-expression before ‘void’ 176 | _GLIBCXX_NODISCARD inline void* operator new[](std::size_t, void* __p) _GLIBCXX_USE_NOEXCEPT | ^~~~ In file included from /usr/include/c++/11/bits/move.h:57, from /usr/include/c++/11/bits/exception_ptr.h:43, from /usr/include/c++/11/exception:153, from /usr/include/c++/11/ios:39, from /usr/include/c++/11/istream:38, from /usr/include/c++/11/sstream:38, from /usr/include/c++/11/complex:45, from /usr/include/c++/11/ccomplex:39, from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:54, from Main.cc:2: /usr/include/c++/11/type_traits:431:31: error: ‘std::size_t’ has not been declared 431 | template | ^~~~~~ /usr/include/c++/11/type_traits:432:25: error: ‘_Size’ was not declared in this scope 432 | struct is_array<_Tp[_Size]> | ^~~~~ /usr/include/c++/11/type_traits:432:31: error: template argument 1 is invalid 432 | struct is_array<_Tp[_Size]> | ^ /usr/include/c++/11/type_traits:537:42: error: ‘nullptr_t’ is not a member of ‘std’; did you mean ‘nullptr_t’? 537 | struct __is_null_pointer_helper | ^~~~~~~~~ In file included from /usr/include/c++/11/cstddef:50, from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:45, from Main.cc:2: /usr/lib/gcc/x86_64-linux-gnu/11/include/stddef.h:433:29: note: ‘nullptr_t’ declared here 433 | typedef decltype(nullptr) nullptr_t; | ^~~~~~~~~ In file included from /usr/include/c++/11/bits/move.h:57, from /usr/include/c++/11/bits/exception_ptr.h:43, from /usr/include/c++/11/exception:153, from /usr/include/c++/11/ios:39, from /usr/include/c++/11/istream:38, from /usr/include/c++/11/sstream:38, from /usr/include/c++/11/complex:45, from /usr/include/c++/11/ccomplex:39, from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:54, from Main.cc:2: /usr/include/c++/11/type_traits:537:42: error: ‘nullptr_t’ is not a member of ‘std’; did you mean ‘nullptr_t’? 537 | struct __is_null_pointer_helper | ^~~~~~~~~ In file included from /usr/include/c++/11/cstddef:50, from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:45, from Main.cc:2: /usr/lib/gcc/x86_64-linux-gnu/11/include/stddef.h:433:29: note: ‘nullptr_t’ declared here 433 | typedef decltype(nullptr) nullptr_t; | ^~~~~~~~~ In file included from /usr/include/c++/11/bits/move.h:57, from /usr/include/c++/11/bits/exception_ptr.h:43, from /usr/include/c++/11/exception:153, from /usr/include/c++/11/ios:39, from /usr/include/c++/11/istream:38, from /usr/include/c++/11/sstream:38, from /usr/include/c++/11/complex:45, from /usr/include/c++/11/ccomplex:39, from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:54, from Main.cc:2: /usr/include/c++/11/type_traits:537:51: error: template argument 1 is invalid 537 | struct __is_null_pointer_helper | ^ /usr/include/c++/11/type_traits:1361:37: error: ‘size_t’ is not a member of ‘std’; did you mean ‘time_t’? 1361 | : public integral_constant | ^~~~~~ | time_t /usr/include/c++/11/type_traits:1361:37: error: ‘size_t’ is not a member of ‘std’; did you mean ‘time_t’? 1361 | : public integral_constant | ^~~~~~ | time_t /usr/include/c++/11/type_traits:1361:57: error: template argument 1 is invalid 1361 | : public integral_constant | ^ /usr/include/c++/11/type_traits:1361:57: note: invalid template non-type parameter /usr/include/c++/11/type_traits:1370:37: error: ‘size_t’ is not a member of ‘std’; did you mean ‘time_t’? 1370 | : public integral_constant { }; | ^~~~~~ | time_t /usr/include/c++/11/type_traits:1370:37: error: ‘size_t’ is not a member of ‘std’; did you mean ‘time_t’? 1370 | : public integral_constant { }; | ^~~~~~ | time_t /usr/include/c++/11/type_traits:1370:46: error: template argument 1 is invalid 1370 | : public integral_constant { }; | ^ /usr/include/c++/11/type_traits:1370:46: note: invalid template non-type parameter /usr/include/c++/11/type_traits:1372:31: error: ‘std::size_t’ has not been declared 1372 | template | ^~~~~~ /usr/include/c++/11/type_traits:1373:21: error: ‘_Size’ was not declared in this scope 1373 | struct rank<_Tp[_Size]> | ^~~~~ /usr/include/c++/11/type_traits:1373:27: error: template argument 1 is invalid 1373 | struct rank<_Tp[_Size]> | ^ /usr/include/c++/11/type_traits:1374:37: error: ‘size_t’ is not a member of ‘std’; did you mean ‘time_t’? 1374 | : public integral_constant::value> { }; | ^~~~~~ | time_t /usr/include/c++/11/type_traits:1374:37: error: ‘size_t’ is not a member of ‘std’; did you mean ‘time_t’? 1374 | : public integral_constant::value> { }; | ^~~~~~ | time_t /usr/include/c++/11/type_traits:1374:65: error: template argument 1 is invalid 1374 | : public integral_constant::value> { }; | ^ /usr/include/c++/11/type_traits:1374:65: note: invalid template non-type parameter /usr/include/c++/11/type_traits:1378:37: error: ‘size_t’ is not a member of ‘std’; did you mean ‘time_t’? 1378 | : public integral_constant::value> { }; | ^~~~~~ | time_t /usr/include/c++/11/type_traits:1378:37: error: ‘size_t’ is not a member of ‘std’; did you mean ‘time_t’? 1378 | : public integral_constant::value> { }; | ^~~~~~ | time_t /usr/include/c++/11/type_traits:1378:65: error: template argument 1 is invalid 1378 | : public integral_constant::value> { }; | ^ /usr/include/c++/11/type_traits:1378:65: note: invalid template non-type parameter /usr/include/c++/11/type_traits:1383:37: error: ‘size_t’ is not a member of ‘std’; did you mean ‘time_t’? 1383 | : public integral_constant { }; | ^~~~~~ | time_t /usr/include/c++/11/type_traits:1383:37: error: ‘size_t’ is not a member of ‘std’; did you mean ‘time_t’? 1383 | : public integral_constant { }; | ^~~~~~ | time_t /usr/include/c++/11/type_traits:1383:46: error: template argument 1 is invalid 1383 | : public integral_constant { }; | ^ /usr/include/c++/11/type_traits:1383:46: note: invalid template non-type parameter /usr/include/c++/11/type_traits:1385:47: error: ‘std::size_t’ has not been declared 1385 | template | ^~~~~~ /usr/include/c++/11/type_traits:1386:23: error: ‘_Size’ was not declared in this scope 1386 | struct extent<_Tp[_Size], _Uint> | ^~~~~ /usr/include/c++/11/type_traits:1386:36: error: template argument 1 is invalid 1386 | struct extent<_Tp[_Size], _Uint> | ^ /usr/include/c++/11/type_traits:1387:37: error: ‘size_t’ is not a member of ‘std’; did you mean ‘time_t’? 1387 | : public integral_constant::value> | ^ /usr/include/c++/11/type_traits:1389:77: note: invalid template non-type parameter /usr/include/c++/11/type_traits:1394:37: error: ‘size_t’ is not a member of ‘std’; did you mean ‘time_t’? 1394 | : public integral_constant::value> | ^ /usr/include/c++/11/type_traits:1396:73: note: invalid template non-type parameter /usr/include/c++/11/type_traits:1984:31: error: ‘std::size_t’ has not been declared 1984 | template | ^~~~~~ /usr/include/c++/11/type_traits:1985:30: error: ‘_Size’ was not declared in this scope 1985 | struct remove_extent<_Tp[_Size]> | ^~~~~ /usr/include/c++/11/type_traits:1985:36: error: template argument 1 is invalid 1985 | struct remove_extent<_Tp[_Size]> | ^ /usr/include/c++/11/type_traits:1997:31: error: ‘std::size_t’ has not been declared 1997 | template | ^~~~~~ /usr/include/c++/11/type_traits:1998:35: error: ‘_Size’ was not declared in this scope 1998 | struct remove_all_extents<_Tp[_Size]> | ^~~~~ /usr/include/c++/11/type_traits:1998:41: error: template argument 1 is invalid 1998 | struct remove_all_extents<_Tp[_Size]> | ^ /usr/include/c++/11/type_traits:2056:17: error: ‘std::size_t’ has not been declared 2056 | template | ^~~~~~ /usr/include/c++/11/type_traits:2061:30: error: ‘_Len’ was not declared in this scope 2061 | unsigned char __data[_Len]; | ^~~~ /usr/include/c++/11/type_traits:2076:17: error: ‘std::size_t’ has not been declared 2076 | template::__type)> | ^~~~ /usr/include/c++/11/type_traits:2077:59: error: template argument 1 is invalid 2077 | __alignof__(typename __aligned_storage_msa<_Len>::__type)> | ^ /usr/include/c++/11/type_traits:2082:30: error: ‘_Len’ was not declared in this scope 2082 | unsigned char __data[_Len]; | ^~~~ /usr/include/c++/11/type_traits:2083:44: error: ‘_Align’ was not declared in this scope 2083 | struct __attribute__((__aligned__((_Align)))) { } __align; | ^~~~~~ In file included from /usr/include/c++/11/ios:40, from /usr/include/c++/11/istream:38, from /usr/include/c++/11/sstream:38, from /usr/include/c++/11/complex:45, from /usr/include/c++/11/ccomplex:39, from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:54, from Main.cc:2: /usr/include/c++/11/bits/char_traits.h:114:66: error: ‘std::size_t’ has not been declared 114 | compare(const char_type* __s1, const char_type* __s2, std::size_t __n); | ^~~~~~ /usr/include/c++/11/bits/char_traits.h:116:40: error: ‘size_t’ in namespace ‘std’ does not name a type; did you mean ‘time_t’? 116 | static _GLIBCXX14_CONSTEXPR std::size_t | ^~~~~~ | time_t /usr/include/c++/11/bits/char_traits.h:120:39: error: ‘std::size_t’ has not been declared 120 | find(const char_type* __s, std::size_t __n, const char_type& __a); | ^~~~~~ /usr/include/c++/11/bits/char_traits.h:123:57: error: ‘std::size_t’ has not been declared 123 | move(char_type* __s1, const char_type* __s2, std::size_t __n); | ^~~~~~ /usr/include/c++/11/bits/char_traits.h:126:57: error: ‘std::size_t’ has not been declared 126 | copy(char_type* __s1, const char_type* __s2, std::size_t __n); | ^~~~~~ /usr/include/c++/11/bits/char_traits.h:129:35: error: ‘std::size_t’ has not been declared 129 | assign(char_type* __s, std::size_t __n, char_type __a); | ^~~~~~ /usr/include/c++/11/bits/char_traits.h:155:64: error: ‘std::size_t’ has not been declared 155 | compare(const char_type* __s1, const char_type* __s2, std::size_t __n) | ^~~~~~ /usr/include/c++/11/bits/char_traits.h: In static member function ‘static int __gnu_cxx::char_traits<_CharT>::compare(const char_type*, const char_type*, int)’: /usr/include/c++/11/bits/char_traits.h:157:17: error: ‘size_t’ is not a member of ‘std’; did you mean ‘time_t’? 157 | for (std::size_t __i = 0; __i < __n; ++__i) | ^~~~~~ | time_t /usr/include/c++/11/bits/char_traits.h:157:33: error: ‘__i’ was not declared in this scope; did you mean ‘__n’? 157 | for (std::size_t __i = 0; __i < __n; ++__i) | ^~~ | __n /usr/include/c++/11/bits/char_traits.h: At global scope: /usr/include/c++/11/bits/char_traits.h:166:31: error: ‘size_t’ in namespace ‘std’ does not name a type; did you mean ‘time_t’? 166 | _GLIBCXX14_CONSTEXPR std::size_t | ^~~~~~ | time_t /usr/include/c++/11/bits/char_traits.h:179:37: error: ‘std::size_t’ has not been declared 179 | find(const char_type* __s, std::size_t __n, const char_type& __a) | ^~~~~~ /usr/include/c++/11/bits/char_traits.h: In static member function ‘static const char_type* __gnu_cxx::char_traits<_CharT>::find(const char_type*, int, const char_type&)’: /usr/include/c++/11/bits/char_traits.h:181:17: error: ‘size_t’ is not a member of ‘std’; did you mean ‘time_t’? 181 | for (std::size_t __i = 0; __i < __n; ++__i) | ^~~~~~ | time_t /usr/include/c++/11/bits/char_traits.h:181:33: error: ‘__i’ was not declared in this scope; did you mean ‘__s’? 181 | for (std::size_t __i = 0; __i < __n; ++__i) | ^~~ | __s /usr/include/c++/11/bits/char_traits.h: At global scope: /usr/include/c++/11/bits/char_traits.h:191:55: error: ‘std::size_t’ has not been declared 191 | move(char_type* __s1, const char_type* __s2, std::size_t __n) | ^~~~~~ /usr/include/c++/11/bits/char_traits.h:241:55: error: ‘std::size_t’ has not been declared 241 | copy(char_type* __s1, const char_type* __s2, std::size_t __n) | ^~~~~~ /usr/include/c++/11/bits/char_traits.h:252:33: error: ‘std::size_t’ has not been declared 252 | assign(char_type* __s, std::size_t __n, char_type __a) | ^~~~~~ In file included from /usr/include/x86_64-linux-gnu/c++/11/bits/c++allocator.h:33, from /usr/include/c++/11/bits/allocator.h:46, from /usr/include/c++/11/string:41, from /usr/include/c++/11/bits/locale_classes.h:40, from /usr/include/c++/11/bits/ios_base.h:41, from /usr/include/c++/11/ios:42, from /usr/include/c++/11/istream:38, from /usr/include/c++/11/sstream:38, from /usr/include/c++/11/complex:45, from /usr/include/c++/11/ccomplex:39, from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:54, from Main.cc:2: /usr/include/c++/11/ext/new_allocator.h:59:20: error: ‘size_t’ in namespace ‘std’ does not name a type; did you mean ‘time_t’? 59 | typedef std::size_t size_type; | ^~~~~~ | time_t /usr/include/c++/11/ext/new_allocator.h:60:20: error: ‘ptrdiff_t’ in namespace ‘std’ does not name a type 60 | typedef std::ptrdiff_t difference_type; | ^~~~~~~~~ /usr/include/c++/11/ext/new_allocator.h:103:16: error: ‘size_type’ has not been declared 103 | allocate(size_type __n, const void* = static_cast(0)) | ^~~~~~~~~ /usr/include/c++/11/ext/new_allocator.h:132:28: error: ‘size_type’ has not been declared 132 | deallocate(_Tp* __p, size_type __t __attribute__ ((__unused__))) | ^~~~~~~~~ /usr/include/c++/11/ext/new_allocator.h:153:7: error: ‘size_type’ does not name a type; did you mean ‘size_t’? 153 | size_type | ^~~~~~~~~ | size_t /usr/include/c++/11/ext/new_allocator.h:196:26: error: ‘size_type’ does not name a type; did you mean ‘size_t’? 196 | _GLIBCXX_CONSTEXPR size_type | ^~~~~~~~~ | size_t /usr/include/c++/11/ext/new_allocator.h: In member function ‘_Tp* __gnu_cxx::new_allocator<_Tp>::allocate(int, const void*)’: /usr/include/c++/11/ext/new_allocator.h:115:29: error: ‘size_t’ is not a member of ‘std’; did you mean ‘time_t’? 115 | if (__n > (std::size_t(-1) / sizeof(_Tp))) | ^~~~~~ | time_t In file included from /usr/include/c++/11/ext/alloc_traits.h:34, from /usr/include/c++/11/bits/basic_string.h:40, from /usr/include/c++/11/string:55, from /usr/include/c++/11/bits/locale_classes.h:40, from /usr/include/c++/11/bits/ios_base.h:41, from /usr/include/c++/11/ios:42, from /usr/include/c++/11/istream:38, from /usr/include/c++/11/sstream:38, from /usr/include/c++/11/complex:45, from /usr/include/c++/11/ccomplex:39, from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:54, from Main.cc:2: /usr/include/c++/11/bits/alloc_traits.h: At global scope: /usr/include/c++/11/bits/alloc_traits.h:432:36: error: ‘ptrdiff_t’ in namespace ‘std’ does not name a type 432 | using difference_type = std::ptrdiff_t; | ^~~~~~~~~ /usr/include/c++/11/bits/alloc_traits.h:435:30: error: ‘size_t’ in namespace ‘std’ does not name a type; did you mean ‘time_t’? 435 | using size_type = std::size_t; | ^~~~~~ | time_t /usr/include/c++/11/bits/alloc_traits.h:463:37: error: ‘size_type’ has not been declared 463 | allocate(allocator_type& __a, size_type __n) | ^~~~~~~~~ /usr/include/c++/11/bits/alloc_traits.h:477:37: error: ‘size_type’ has not been declared 477 | allocate(allocator_type& __a, size_type __n, const_void_pointer __hint) | ^~~~~~~~~ /usr/include/c++/11/bits/alloc_traits.h:495:52: error: ‘size_type’ has not been declared 495 | deallocate(allocator_type& __a, pointer __p, size_type __n) | ^~~~~~~~~ /usr/include/c++/11/bits/alloc_traits.h:546:35: error: ‘size_type’ does not name a type; did you mean ‘true_type’? 546 | static _GLIBCXX20_CONSTEXPR size_type | ^~~~~~~~~ | true_type /usr/include/c++/11/bits/alloc_traits.h:589:36: error: ‘ptrdiff_t’ in namespace ‘std’ does not name a type 589 | using difference_type = std::ptrdiff_t; | ^~~~~~~~~ /usr/include/c++/11/bits/alloc_traits.h:592:30: error: ‘size_t’ in namespace ‘std’ does not name a type; did you mean ‘time_t’? 592 | using size_type = std::size_t; | ^~~~~~ | time_t /usr/include/c++/11/bits/alloc_traits.h:614:33: error: ‘size_type’ has not been declared 614 | allocate(allocator_type&, size_type, const void* = nullptr) = delete; | ^~~~~~~~~ /usr/include/c++/11/bits/alloc_traits.h:618:42: error: ‘size_type’ has not been declared