QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#157211#7112. XOR Cliqueucup-team999#Compile Error//C++1712.9kb2023-09-02 15:05:142023-09-02 15:05:15

Details

answer.code:1:1: error: extended character ⡀ is not valid in an identifier
    1 | ⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
      | ^
answer.code:1:1: error: extended character ⠀ is not valid in an identifier
answer.code:1:1: error: extended character ⠀ is not valid in an identifier
answer.code:1:1: error: extended character ⠀ is not valid in an identifier
answer.code:1:1: error: extended character ⠀ is not valid in an identifier
answer.code:1:1: error: extended character ⠀ is not valid in an identifier
answer.code:1:1: error: extended character ⠀ is not valid in an identifier
answer.code:1:1: error: extended character ⠀ is not valid in an identifier
answer.code:1:1: error: extended character ⠀ is not valid in an identifier
answer.code:1:1: error: extended character ⠀ is not valid in an identifier
answer.code:1:1: error: extended character ⠀ is not valid in an identifier
answer.code:1:1: error: extended character ⠀ is not valid in an identifier
answer.code:1:1: error: extended character ⠀ is not valid in an identifier
answer.code:1:1: error: extended character ⠀ is not valid in an identifier
answer.code:1:1: error: extended character ⠀ is not valid in an identifier
answer.code:1:1: error: extended character ⠀ is not valid in an identifier
answer.code:1:1: error: extended character ⠀ is not valid in an identifier
answer.code:1:1: error: extended character ⠀ is not valid in an identifier
answer.code:1:1: error: extended character ⠀ is not valid in an identifier
answer.code:1:1: error: extended character ⠀ is not valid in an identifier
answer.code:1:1: error: extended character ⠀ is not valid in an identifier
answer.code:1:1: error: extended character ⠀ is not valid in an identifier
answer.code:1:1: error: extended character ⠀ is not valid in an identifier
answer.code:1:1: error: extended character ⠀ is not valid in an identifier
answer.code:1:1: error: extended character ⠀ is not valid in an identifier
answer.code:1:1: error: extended character ⠀ is not valid in an identifier
answer.code:1:1: error: extended character ⠀ is not valid in an identifier
answer.code:1:1: error: extended character ⠀ is not valid in an identifier
answer.code:1:1: error: extended character ⠀ is not valid in an identifier
answer.code:1:1: error: extended character ⠀ is not valid in an identifier
answer.code:1:1: error: extended character ⠀ is not valid in an identifier
answer.code:1:1: error: extended character ⠀ is not valid in an identifier
answer.code:1:1: error: extended character ⠀ is not valid in an identifier
answer.code:1:1: error: ‘⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀’ does not name a type
    1 | ⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/11/iosfwd:40,
                 from /usr/include/c++/11/ios:38,
                 from /usr/include/c++/11/ostream:38,
                 from /usr/include/c++/11/iostream:39,
                 from answer.code:73:
/usr/include/c++/11/bits/postypes.h:98:11: error: ‘ptrdiff_t’ does not name a type
   98 |   typedef ptrdiff_t     streamsize; // Signed integral type
      |           ^~~~~~~~~
/usr/include/c++/11/bits/postypes.h:41:1: note: ‘ptrdiff_t’ is defined in header ‘<cstddef>’; did you forget to ‘#include <cstddef>’?
   40 | #include <cwchar> // For mbstate_t
  +++ |+#include <cstddef>
   41 | 
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/ostream:38,
                 from /usr/include/c++/11/iostream:39,
                 from answer.code:73:
/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 ‘size_t’?
  126 | _GLIBCXX_NODISCARD void* operator new(std::size_t) _GLIBCXX_THROW (std::bad_alloc)
      |                                            ^~~~~~
In file included from /usr/include/wchar.h:35,
                 from /usr/include/c++/11/cwchar:44,
                 from /usr/include/c++/11/bits/postypes.h:40,
                 from /usr/include/c++/11/iosfwd:40,
                 from /usr/include/c++/11/ios:38,
                 from /usr/include/c++/11/ostream:38,
                 from /usr/include/c++/11/iostream:39,
                 from answer.code:73:
/usr/lib/gcc/x86_64-linux-gnu/11/include/stddef.h:209:23: note: ‘size_t’ declared here
  209 | typedef __SIZE_TYPE__ size_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/ostream:38,
                 from /usr/include/c++/11/iostream:39,
                 from an...