记录详情

Compile Error

/in/foo.cc:2:2: error: stray '\346' in program
  李罗@明伦 (李罗) LV 8 @ 3 年前
  ^
/in/foo.cc:2:3: error: stray '\235' in program
  李罗@明伦 (李罗) LV 8 @ 3 年前
   ^
/in/foo.cc:2:4: error: stray '\216' in program
  李罗@明伦 (李罗) LV 8 @ 3 年前
    ^
/in/foo.cc:2:5: error: stray '\347' in program
  李罗@明伦 (李罗) LV 8 @ 3 年前
     ^
/in/foo.cc:2:6: error: stray '\275' in program
  李罗@明伦 (李罗) LV 8 @ 3 年前
      ^
/in/foo.cc:2:7: error: stray '\227' in program
  李罗@明伦 (李罗) LV 8 @ 3 年前
       ^
/in/foo.cc:2:8: error: stray '@' in program
  李罗@明伦 (李罗) LV 8 @ 3 年前
        ^
/in/foo.cc:2:9: error: stray '\346' in program
  李罗@明伦 (李罗) LV 8 @ 3 年前
         ^
/in/foo.cc:2:10: error: stray '\230' in program
  李罗@明伦 (李罗) LV 8 @ 3 年前
          ^
/in/foo.cc:2:11: error: stray '\216' in program
  李罗@明伦 (李罗) LV 8 @ 3 年前
           ^
/in/foo.cc:2:12: error: stray '\344' in program
  李罗@明伦 (李罗) LV 8 @ 3 年前
            ^
/in/foo.cc:2:13: error: stray '\274' in program
  李罗@明伦 (李罗) LV 8 @ 3 年前
             ^
/in/foo.cc:2:14: error: stray '\246' in program
  李罗@明伦 (李罗) LV 8 @ 3 年前
              ^
/in/foo.cc:2:17: error: stray '\346' in program
  李罗@明伦 (李罗) LV 8 @ 3 年前
                 ^
/in/foo.cc:2:18: error: stray '\235' in program
  李罗@明伦 (李罗) LV 8 @ 3 年前
                  ^
/in/foo.cc:2:19: error: stray '\216' in program
  李罗@明伦 (李罗) LV 8 @ 3 年前
                   ^
/in/foo.cc:2:20: error: stray '\347' in program
  李罗@明伦 (李罗) LV 8 @ 3 年前
                    ^
/in/foo.cc:2:21: error: stray '\275' in program
  李罗@明伦 (李罗) LV 8 @ 3 年前
                     ^
/in/foo.cc:2:22: error: stray '\227' in program
  李罗@明伦 (李罗) LV 8 @ 3 年前
                      ^
/in/foo.cc:2:30: error: stray '@' in program
  李罗@明伦 (李罗) LV 8 @ 3 年前
                              ^
/in/foo.cc:2:34: error: stray '\345' in program
  李罗@明伦 (李罗) LV 8 @ 3 年前
                                  ^
/in/foo.cc:2:35: error: stray '\271' in program
  李罗@明伦 (李罗) LV 8 @ 3 年前
                                   ^
/in/foo.cc:2:36: error: stray '\264' in program
  李罗@明伦 (李罗) LV 8 @ 3 年前
                                    ^
/in/foo.cc:2:37: error: stray '\345' in program
  李罗@明伦 (李罗) LV 8 @ 3 年前
                                     ^
/in/foo.cc:2:38: error: stray '\211' in program
  李罗@明伦 (李罗) LV 8 @ 3 年前
                                      ^
/in/foo.cc:2:39: error: stray '\215' in program
  李罗@明伦 (李罗) LV 8 @ 3 年前
                                       ^
/in/foo.cc:2:23: error: expected unqualified-id before ')' token
  李罗@明伦 (李罗) LV 8 @ 3 年前
                       ^
In file included from /usr/include/c++/6/iosfwd:40:0,
                 from /usr/include/c++/6/ios:38,
                 from /usr/include/c++/6/ostream:38,
                 from /usr/include/c++/6/iostream:39,
                 from /in/foo.cc:3:
/usr/include/c++/6/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++/6/exception:172:0,
                 from /usr/include/c++/6/ios:39,
                 from /usr/include/c++/6/ostream:38,
                 from /usr/include/c++/6/iostream:39,
                 from /in/foo.cc:3:
/usr/include/c++/6/bits/exception_ptr.h:99:30: error: field 'nullptr_t' has incomplete type 'std::__exception_ptr::exception_ptr'
       exception_ptr(nullptr_t) noexcept
                              ^
/usr/include/c++/6/bits/exception_ptr.h:79:11: note: definition of 'class std::__exception_ptr::exception_ptr' is not complete until the closing brace
     class exception_ptr
           ^~~~~~~~~~~~~
/usr/include/c++/6/bits/exception_ptr.h:99:30: error: expected ';' at end of member declaration
       exception_ptr(nullptr_t) noexcept
                              ^
/usr/include/c++/6/bits/exception_ptr.h:99:32: error: expected unqualified-id before 'noexcept'
       exception_ptr(nullptr_t) noexcept
                                ^~~~~~~~
In file included from /usr/include/c++/6/bits/move.h:57:0,
                 from /usr/include/c++/6/bits/nested_exception.h:40,
                 from /usr/include/c++/6/exception:173,
                 from /usr/include/c++/6/ios:39,
                 from /usr/include/c++/6/ostream:38,
                 from /usr/include/c++/6/iostream:39,
                 from /in/foo.cc:3:
/usr/include/c++/6/type_traits:359:31: error: 'std::size_t' has not been declared
   template<typename _Tp, std::size_t _Size>
                               ^~~~~~
/usr/include/c++/6/type_traits:360:25: error: '_Size' was not declared in this scope
     struct is_array<_Tp[_Size]>
                         ^~~~~
/usr/include/c++/6/type_traits:360:31: error: template argument 1 is invalid
     struct is_array<_Tp[_Size]>
                               ^
/usr/include/c++/6/type_traits:558:37: error: 'nullptr_t' is not a member of 'std'
     struct __is_null_pointer_helper<std::nullptr_t>
                                     ^~~
/usr/include/c++/6/type_traits:558:37: error: 'nullptr_t' is not a member of 'std'
/usr/include/c++/6/type_traits:558:51: error: template argument 1 is invalid
     struct __is_null_pointer_helper<std::nullptr_t>
                                                   ^
/usr/include/c++/6/type_traits:1478:32: error: 'size_t' is not a member of 'std'
     : public integral_constant<std::size_t, __alignof__(_Tp)> { };
                                ^~~
/usr/include/c++/6/type_traits:1478:32: note: suggested alternative:
In file included from /usr/include/wchar.h:51:0,
                 from /usr/include/c++/6/cwchar:44,
                 from /usr/include/c++/6/bits/postypes.h:40,
                 from /usr/include/c++/6/iosfwd:40,
                 from /usr/include/c++/6/ios:38,
                 from /usr/include/c++/6/ostream:38,
                 from /usr/include/c++/6/iostream:39,
                 from /in/foo.cc:3:
/usr/lib/gcc/x86_64-linux-gnu/6/include/stddef.h:216:23: note:   'size_t'
 typedef __SIZE_TYPE__ size_t;
                       ^~~~~~
In file included from /usr/include/c++/6/bits/move.h:57:0,
                 from /usr/include/c++/6/bits/nested_exception.h:40,
                 from /usr/include/c++/6/exception:173,
                 from /usr/include/c++/6/ios:39,
                 from /usr/include/c++/6/ostream:38,
                 from /usr/include/c++/6/iostream:39,
                 from /in/foo.cc:3:
/usr/include/c++/6/type_traits:1478:32: error: 'size_t' is not a member of 'std'
     : public integral_constant<std::size_t, __alignof__(_Tp)> { };
                                ^~~
/usr/include/c++/6/type_traits:1478:32: note: suggested alternative:
In file included from /usr/include/wchar.h:51:0,
                 from /usr/include/c++/6/cwchar:44,
                 from /usr/include/c++/6/bits/postypes.h:40,
                 from /usr/include/c++/6/iosfwd:40,
                 from /usr/include/c++/6/ios:38,
                 from /usr/include/c++/6/ostream:38,
                 from /usr/include/c++/6/iostream:39,
                 from /in/foo.cc:3:
/usr/lib/gcc/x86_64-linux-gnu/6/include/stddef.h:216:23: note:   'size_t'
 typedef __SIZE_TYPE__ size_t;
                       ^~~~~~
In file included from /usr/include/c++/6/bits/move.h:57:0,
                 from /usr/include/c++/6/bits/nested_exception.h:40,
                 from /usr/include/c++/6/exception:173,
                 from /usr/include/c++/6/ios:39,
                 from /usr/include/c++/6/ostream:38,
                 from /usr/include/c++/6/iostream:39,
                 from /in/foo.cc:3:
/usr/include/c++/6/type_traits:1478:61: error: template argument 1 is invalid
     : public integral_constant<std::size_t, __alignof__(_Tp)> { };
                                         

信息

递交者
类型
递交
题目
A1-1 分支结构练习:三数排序
语言
C++
递交时间
2024-10-21 21:50:25
评测时间
2024-10-21 21:50:25
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes