/ Vijos /

记录详情

Compile Error

foo.cpp:3:1: error: stray '\273' in program
 回复  fan_hd发表于2014-08-15 06:39
 ^
foo.cpp:3:1: error: stray '\330' in program
foo.cpp:3:1: error: stray '\270' in program
foo.cpp:3:1: error: stray '\264' in program
foo.cpp:3:1: error: stray '\267' in program
foo.cpp:3:1: error: stray '\242' in program
foo.cpp:3:1: error: stray '\261' in program
foo.cpp:3:1: error: stray '\355' in program
foo.cpp:3:1: error: stray '\323' in program
foo.cpp:3:1: error: stray '\332' in program
foo.cpp:3:24: error: invalid digit "8" in octal constant
 回复  fan_hd发表于2014-08-15 06:39
                        ^
foo.cpp:1:1: error: expected unqualified-id before numeric constant
 0
 ^
In file included from C:/TDM-GCC-32/lib/gcc/mingw32/4.9.2/include/c++/bits/move.h:57:0,
                 from C:/TDM-GCC-32/lib/gcc/mingw32/4.9.2/include/c++/bits/stl_pair.h:59,
                 from C:/TDM-GCC-32/lib/gcc/mingw32/4.9.2/include/c++/utility:70,
                 from C:/TDM-GCC-32/lib/gcc/mingw32/4.9.2/include/c++/algorithm:60,
                 from foo.cpp:5:
C:/TDM-GCC-32/lib/gcc/mingw32/4.9.2/include/c++/type_traits:294:31: error: 'std::size_t' has not been declared
   template<typename _Tp, std::size_t _Size>
                               ^
C:/TDM-GCC-32/lib/gcc/mingw32/4.9.2/include/c++/type_traits:493:37: error: 'nullptr_t' is not a member of 'std'
     struct __is_null_pointer_helper<std::nullptr_t>
                                     ^
C:/TDM-GCC-32/lib/gcc/mingw32/4.9.2/include/c++/type_traits:493:37: error: 'nullptr_t' is not a member of 'std'
C:/TDM-GCC-32/lib/gcc/mingw32/4.9.2/include/c++/type_traits:493:51: error: template argument 1 is invalid
     struct __is_null_pointer_helper<std::nullptr_t>
                                                   ^
C:/TDM-GCC-32/lib/gcc/mingw32/4.9.2/include/c++/type_traits:1336:32: error: 'size_t' is not a member of 'std'
     : public integral_constant<std::size_t, __alignof__(_Tp)> { };
                                ^
C:/TDM-GCC-32/lib/gcc/mingw32/4.9.2/include/c++/type_traits:1336:32: note: suggested alternative:
In file included from C:/TDM-GCC-32/include/stdio.h:26:0,
                 from C:/TDM-GCC-32/lib/gcc/mingw32/4.9.2/include/c++/cstdio:42,
                 from foo.cpp:4:
C:/TDM-GCC-32/lib/gcc/mingw32/4.9.2/include/stddef.h:212:23: note:   'size_t'
 typedef __SIZE_TYPE__ size_t;
                       ^
In file included from C:/TDM-GCC-32/lib/gcc/mingw32/4.9.2/include/c++/bits/move.h:57:0,
                 from C:/TDM-GCC-32/lib/gcc/mingw32/4.9.2/include/c++/bits/stl_pair.h:59,
                 from C:/TDM-GCC-32/lib/gcc/mingw32/4.9.2/include/c++/utility:70,
                 from C:/TDM-GCC-32/lib/gcc/mingw32/4.9.2/include/c++/algorithm:60,
                 from foo.cpp:5:
C:/TDM-GCC-32/lib/gcc/mingw32/4.9.2/include/c++/type_traits:1336:32: error: 'size_t' is not a member of 'std'
     : public integral_constant<std::size_t, __alignof__(_Tp)> { };
                                ^
C:/TDM-GCC-32/lib/gcc/mingw32/4.9.2/include/c++/type_traits:1336:32: note: suggested alternative:
In file included from C:/TDM-GCC-32/include/stdio.h:26:0,
                 from C:/TDM-GCC-32/lib/gcc/mingw32/4.9.2/include/c++/cstdio:42,
                 from foo.cpp:4:
C:/TDM-GCC-32/lib/gcc/mingw32/4.9.2/include/stddef.h:212:23: note:   'size_t'
 typedef __SIZE_TYPE__ size_t;
                       ^
In file included from C:/TDM-GCC-32/lib/gcc/mingw32/4.9.2/include/c++/bits/move.h:57:0,
                 from C:/TDM-GCC-32/lib/gcc/mingw32/4.9.2/include/c++/bits/stl_pair.h:59,
                 from C:/TDM-GCC-32/lib/gcc/mingw32/4.9.2/include/c++/utility:70,
                 from C:/TDM-GCC-32/lib/gcc/mingw32/4.9.2/include/c++/algorithm:60,
                 from foo.cpp:5:
C:/TDM-GCC-32/lib/gcc/mingw32/4.9.2/include/c++/type_traits:1336:61: error: template argument 1 is invalid
     : public integral_constant<std::size_t, __alignof__(_Tp)> { };
                                                             ^
C:/TDM-GCC-32/lib/gcc/mingw32/4.9.2/incl

信息

递交者
类型
递交
题目
P1783 疫情控制
语言
C++
递交时间
2015-11-02 09:20:00
评测时间
2015-11-02 09:20:27
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes