/ Vijos /

记录详情

Compile Error

foo.cpp:1:1: error: stray '\241' in program
foo.cpp:1:1: error: stray '\252' in program
foo.cpp:1:1: error: stray '\241' in program
foo.cpp:1:1: error: stray '\252' in program
foo.cpp:1:1: error: stray '\243' in program
foo.cpp:1:1: error: stray '\250' in program
foo.cpp:1:1: error: stray '\243' in program
foo.cpp:1:1: error: stray '\251' in program
foo.cpp:1:1: error: 'DP' does not name a type
In file included from c:\mingw32\bin\../lib/gcc/mingw32/4.6.1/include/c++/string:42:0,
                 from foo.cpp:12:
c:\mingw32\bin\../lib/gcc/mingw32/4.6.1/include/c++/bits/char_traits.h:106:66: error: 'std::size_t' has not been declared
c:\mingw32\bin\../lib/gcc/mingw32/4.6.1/include/c++/bits/char_traits.h:108:14: error: 'size_t' in namespace 'std' does not name a type
c:\mingw32\bin\../lib/gcc/mingw32/4.6.1/include/c++/bits/char_traits.h:112:39: error: 'std::size_t' has not been declared
c:\mingw32\bin\../lib/gcc/mingw32/4.6.1/include/c++/bits/char_traits.h:115:57: error: 'std::size_t' has not been declared
c:\mingw32\bin\../lib/gcc/mingw32/4.6.1/include/c++/bits/char_traits.h:118:57: error: 'std::size_t' has not been declared
c:\mingw32\bin\../lib/gcc/mingw32/4.6.1/include/c++/bits/char_traits.h:121:35: error: 'std::size_t' has not been declared
c:\mingw32\bin\../lib/gcc/mingw32/4.6.1/include/c++/bits/char_traits.h:147:64: error: 'std::size_t' has not been declared
c:\mingw32\bin\../lib/gcc/mingw32/4.6.1/include/c++/bits/char_traits.h: In static member function 'static int __gnu_cxx::char_traits<_CharT>::compare(const char_type*, const char_type*, int)':
c:\mingw32\bin\../lib/gcc/mingw32/4.6.1/include/c++/bits/char_traits.h:149:12: error: 'size_t' is not a member of 'std'
c:\mingw32\bin\../lib/gcc/mingw32/4.6.1/include/c++/bits/char_traits.h:149:12: note: suggested alternative:
c:\mingw32\bin\../lib/gcc/mingw32/4.6.1/include/stddef.h:212:23: note:   'size_t'
c:\mingw32\bin\../lib/gcc/mingw32/4.6.1/include/c++/bits/char_traits.h:149:24: error: expected ';' before '__i'
c:\mingw32\bin\../lib/gcc/mingw32/4.6.1/include/c++/bits/char_traits.h:149:33: error: '__i' was not declared in this scope
c:\mingw32\bin\../lib/gcc/mingw32/4.6.1/include/c++/bits/char_traits.h: At global scope:
c:\mingw32\bin\../lib/gcc/mingw32/4.6.1/include/c++/bits/char_traits.h:158:5: error: 'size_t' in namespace 'std' does not name a type
c:\mingw32\bin\../lib/gcc/mingw32/4.6.1/include/c++/bits/char_traits.h:171:37: error: 'std::size_t' has not been declared
c:\mingw32\bin\../lib/gcc/mingw32/4.6.1/include/c++/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&)':
c:\mingw32\bin\../lib/gcc/mingw32/4.6.1/include/c++/bits/char_traits.h:173:12: error: 'size_t' is not a member of 'std'
c:\mingw32\bin\../lib/gcc/mingw32/4.6.1/include/c++/bits/char_traits.h:173:12: note: suggested alternative:
c:\mingw32\bin\../lib/gcc/mingw32/4.6.1/include/stddef.h:212:23: note:   'size_t'
c:\mingw32\bin\../lib/gcc/mingw32/4.6.1/include/c++/bits/char_traits.h:173:24: error: expected ';' before '__i'
c:\mingw32\bin\../lib/gcc/mingw32/4.6.1/include/c++/bits/char_traits.h:173:33: error: '__i' was not declared in this scope
c:\mingw32\bin\../lib/gcc/mingw32/4.6.1/include/c++/bits/char_traits.h: At global scope:
c:\mingw32\bin\../lib/gcc/mingw32/4.6.1/include/c++/bits/char_traits.h:182:55: error: 'std::size_t' has not been declared
c:\mingw32\bin\../lib/gcc/mingw32/4.6.1/include/c++/bits/char_traits.h:191:55: error: 'std::size_t' has not been declared
c:\mingw32\bin\../lib/gcc/mingw32/4.6.1/include/c++/bits/char_traits.h:201:33: error: 'std::size_t' has not been declared
In file included from c:\mingw32\bin\../lib/gcc/mingw32/4.6.1/include/c++/ext/new_allocator.h:34:0,
                 from c:\mingw32\bin\../lib/gcc/mingw32/4.6.1/include/c++/mingw32/bits/c++allocator.h:34,
                 from c:\mingw32\bin\../lib/gcc/mingw32/4.6.1/include/c++/bits/allocator.h:48,
                 from c:\mingw32\bin\../lib/gcc/mingw32/4.6.1/include/c++/string:43

信息

递交者
类型
递交
题目
P1832 千年虫
语言
C++
递交时间
2015-06-03 19:20:53
评测时间
2015-06-03 19:20:54
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes