记录详情

Compile Error

/in/foo.cc:1:1: error: stray '\350' in program
 语言: G++     用户名: 2637860006     题号: 1258
 ^
/in/foo.cc:1:2: error: stray '\257' in program
 语言: G++     用户名: 2637860006     题号: 1258
  ^
/in/foo.cc:1:3: error: stray '\255' in program
 语言: G++     用户名: 2637860006     题号: 1258
   ^
/in/foo.cc:1:4: error: stray '\350' in program
 语言: G++     用户名: 2637860006     题号: 1258
    ^
/in/foo.cc:1:5: error: stray '\250' in program
 语言: G++     用户名: 2637860006     题号: 1258
     ^
/in/foo.cc:1:6: error: stray '\200' in program
 语言: G++     用户名: 2637860006     题号: 1258
      ^
/in/foo.cc:1:17: error: stray '\347' in program
 语言: G++     用户名: 2637860006     题号: 1258
                 ^
/in/foo.cc:1:18: error: stray '\224' in program
 语言: G++     用户名: 2637860006     题号: 1258
                  ^
/in/foo.cc:1:19: error: stray '\250' in program
 语言: G++     用户名: 2637860006     题号: 1258
                   ^
/in/foo.cc:1:20: error: stray '\346' in program
 语言: G++     用户名: 2637860006     题号: 1258
                    ^
/in/foo.cc:1:21: error: stray '\210' in program
 语言: G++     用户名: 2637860006     题号: 1258
                     ^
/in/foo.cc:1:22: error: stray '\267' in program
 语言: G++     用户名: 2637860006     题号: 1258
                      ^
/in/foo.cc:1:23: error: stray '\345' in program
 语言: G++     用户名: 2637860006     题号: 1258
                       ^
/in/foo.cc:1:24: error: stray '\220' in program
 语言: G++     用户名: 2637860006     题号: 1258
                        ^
/in/foo.cc:1:25: error: stray '\215' in program
 语言: G++     用户名: 2637860006     题号: 1258
                         ^
/in/foo.cc:1:43: error: stray '\351' in program
 语言: G++     用户名: 2637860006     题号: 1258
                                           ^
/in/foo.cc:1:44: error: stray '\242' in program
 语言: G++     用户名: 2637860006     题号: 1258
                                            ^
/in/foo.cc:1:45: error: stray '\230' in program
 语言: G++     用户名: 2637860006     题号: 1258
                                             ^
/in/foo.cc:1:46: error: stray '\345' in program
 语言: G++     用户名: 2637860006     题号: 1258
                                              ^
/in/foo.cc:1:47: error: stray '\217' in program
 语言: G++     用户名: 2637860006     题号: 1258
                                               ^
/in/foo.cc:1:48: error: stray '\267' in program
 语言: G++     用户名: 2637860006     题号: 1258
                                                ^
/in/foo.cc:1:7: error: expected unqualified-id before ':' token
 语言: G++     用户名: 2637860006     题号: 1258
       ^
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 /in/foo.cc:4:
/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 /in/foo.cc:4:
/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:51: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 /in/foo.cc:4:
/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 /in/foo.cc:4:
/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:51: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 /in/foo.cc:4:
/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 /in/foo.cc:4:
/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:51: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 /in/foo.cc:4:
/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 /in/foo.cc:4:
/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:51: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++/

信息

递交者
类型
递交
题目
数字金字塔
语言
C++
递交时间
2018-11-01 16:13:42
评测时间
2018-11-01 16:13:42
评测机
分数
0
总耗时
377ms
峰值内存
26.836 MiB