/ new_bzoj /

记录详情

Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:54:6: error: reference to 'hash' is ambiguous
    p[hash(i,j)]=true;
      ^~~~
/in/foo.cc:36:27: note: candidates are: long long unsigned int hash(int, int)
 inline unsigned long long hash(int x,int y) {
                           ^~~~
In file included from /usr/include/c++/6/bits/basic_string.h:5643:0,
                 from /usr/include/c++/6/string:52,
                 from /usr/include/c++/6/stdexcept:39,
                 from /usr/include/c++/6/array:39,
                 from /usr/include/c++/6/tuple:39,
                 from /usr/include/c++/6/bits/stl_map.h:63,
                 from /usr/include/c++/6/map:61,
                 from /in/foo.cc:2:
/usr/include/c++/6/bits/functional_hash.h:58:12: note:                 template<class _Tp> struct std::hash
     struct hash;
            ^~~~

信息

递交者
类型
递交
题目
Matrix
语言
C++
递交时间
2021-01-03 11:31:17
评测时间
2021-01-03 11:31:17
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes