/ Vijos /

记录详情

Compile Error

/in/foo.cc:2:1: error: expected unqualified-id before numeric constant
 3
 ^
In file included from /usr/include/c++/6/cmath:43:0,
                 from /in/foo.cc:16:
/usr/include/c++/6/ext/type_traits.h:162:35: error: '__gnu_cxx::__is_null_pointer' declared as an 'inline' variable
   __is_null_pointer(std::nullptr_t)
                                   ^
/usr/include/c++/6/ext/type_traits.h:162:35: error: 'bool __gnu_cxx::__is_null_pointer' redeclared as different kind of symbol
/usr/include/c++/6/ext/type_traits.h:157:5: note: previous declaration 'template<class _Type> bool __gnu_cxx::__is_null_pointer(_Type)'
     __is_null_pointer(_Type)
     ^~~~~~~~~~~~~~~~~
/usr/include/c++/6/ext/type_traits.h:162:21: error: 'nullptr_t' is not a member of 'std'
   __is_null_pointer(std::nullptr_t)
                     ^~~

信息

递交者
类型
递交
题目
P1007 绕钉子的长绳子
语言
C++
递交时间
2018-02-07 12:06:45
评测时间
2018-02-07 12:06:45
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes