QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#783955#6660. 택시 여행HuluoboCompile Error//C++143.7kb2024-11-26 12:23:242024-11-26 12:23:25

Details

In file included from /usr/include/c++/13/cassert:43,
                 from /usr/include/x86_64-linux-gnu/c++/13/bits/stdc++.h:33,
                 from answer.code:3:
/usr/include/x86_64-linux-gnu/c++/13/bits/c++config.h:308:33: error: expected initializer before ‘size_t’
  308 |   typedef __SIZE_TYPE__         size_t;
      |                                 ^~~~~~
/usr/include/x86_64-linux-gnu/c++/13/bits/c++config.h:309:33: error: expected initializer before ‘ptrdiff_t’
  309 |   typedef __PTRDIFF_TYPE__      ptrdiff_t;
      |                                 ^~~~~~~~~
In file included from /usr/include/c++/13/cassert:44:
/usr/include/assert.h:70:41: error: expected ‘,’ or ‘...’ before ‘__line’
   70 |                            unsigned int __line, const char *__function)
      |                                         ^~~~~~
/usr/include/assert.h:74:13: error: variable or field ‘__assert_perror_fail’ declared void
   74 | extern void __assert_perror_fail (int __errnum, const char *__file,
      |             ^~~~~~~~~~~~~~~~~~~~
answer.code:2:13: error: ‘LL’ was not declared in this scope
    2 | #define int LL
      |             ^~
/usr/include/assert.h:74:49: error: expected primary-expression before ‘const’
   74 | extern void __assert_perror_fail (int __errnum, const char *__file,
      |                                                 ^~~~~
/usr/include/assert.h:75:35: error: expected primary-expression before ‘unsigned’
   75 |                                   unsigned int __line, const char *__function)
      |                                   ^~~~~~~~
/usr/include/assert.h:75:56: error: expected primary-expression before ‘const’
   75 |                                   unsigned int __line, const char *__function)
      |                                                        ^~~~~
answer.code:2:13: error: ‘LL’ has not been declared
    2 | #define int LL
      |             ^~
In file included from /usr/include/ctype.h:26,
                 from /usr/include/c++/13/cctype:42,
                 from /usr/include/x86_64-linux-gnu/c++/13/bits/stdc++.h:35:
/usr/include/x86_64-linux-gnu/bits/types.h:32:28: error: expected initializer before ‘__u_short’
   32 | typedef unsigned short int __u_short;
      |                            ^~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/types.h:33:22: error: expected initializer before ‘__u_int’
   33 | typedef unsigned int __u_int;
      |                      ^~~~~~~
/usr/include/x86_64-linux-gnu/bits/types.h:34:27: error: expected initializer before ‘__u_long’
   34 | typedef unsigned long int __u_long;
      |                           ^~~~~~~~
/usr/include/x86_64-linux-gnu/bits/types.h:39:26: error: expected initializer before ‘__int16_t’
   39 | typedef signed short int __int16_t;
      |                          ^~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/types.h:40:28: error: expected initializer before ‘__uint16_t’
   40 | typedef unsigned short int __uint16_t;
      |                            ^~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/types.h:41:20: error: expected initializer before ‘__int32_t’
   41 | typedef signed int __int32_t;
      |                    ^~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/types.h:42:22: error: expected initializer before ‘__uint32_t’
   42 | typedef unsigned int __uint32_t;
      |                      ^~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/types.h:44:25: error: expected initializer before ‘__int64_t’
   44 | typedef signed long int __int64_t;
      |                         ^~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/types.h:45:27: error: expected initializer before ‘__uint64_t’
   45 | typedef unsigned long int __uint64_t;
      |                           ^~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/types.h:54:9: error: ‘__int16_t’ does not name a type; did you mean ‘__int8_t’?
   54 | typedef __int16_t __int_least16_t;
      |         ^~~~~~~~~
      |         __int8_t
/usr/include/x86_64-linux-gnu/bits/types.h:55:9: error: ‘__uint16_t’ does not name a type; did you mean ‘__uint8_t’?
   55 | typedef __uint16_t __uint_least16_t;
      |         ^~~~~~~~~~
      |         __uint8_t
/usr/include/x86_64-linux-gnu/bits/types.h:56:9: error: ‘__int32_t’ does not name a type; did you mean ‘__int8_t’?
   56 | typedef __int32_t __int_least32_t;
      |         ^~~~~~~~~
      |         __int8_t
/usr/include/x86_64-linux-gnu/bits/types.h:57:9: error: ‘__uint32_t’ does not name a type; did you mean ‘__uint8_t’?
   57 | typedef __uint32_t __uint_least32_t;
      |         ^~~~~~~~~~
      |         __uint8_t
/usr/include/x86_64-linux-gnu/bits/types.h:58:9: error: ‘__int64_t’ does not name a type; did you mean ‘__int8_t’?
   58 | typedef __int64_t __int_least64_t;
      |         ^~~~~~~~~
      |         __int8_t
/usr/include/x86_64-linux-gnu/bits/types.h:59:9: error: ‘__uint64_t’ does not name a type; did you mean ‘__uint8_t’?
   59 | typedef __uint64_t __uint_least64_t;
      |         ^~~~~~~~~~
      |     ...