F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

0_0_27694200_28071.cpp: In function 'bool dfs(int)':
0_0_27694200_28071.cpp:30:35: error: reference to 'list' is ambiguous
         if(!row[pos[v][0]][i] && !list[pos[v][1]][i] && check(v,i))
                                   ^
0_0_27694200_28071.cpp:6:18: note: candidates are: bool list [10][10]
 bool row[10][10],list[10][10];//用来标明哪行哪列出现过什么数.
                  ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/list:63:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:78,
                 from 0_0_27694200_28071.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_list.h:447:11: note:                 template<class _Tp, class _Alloc> class std::list
     class list : protected _List_base<_Tp, _Alloc>
           ^
0_0_27694200_28071.cpp:34:13: error: reference to 'list' is ambiguous
             list[pos[v][1]][i]=true;
             ^
0_0_27694200_28071.cpp:6:18: note: candidates are: bool list [10][10]
 bool row[10][10],list[10][10];//用来标明哪行哪列出现过什么数.
                  ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/list:63:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:78,
                 from 0_0_27694200_28071.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_list.h:447:11: note:                 template<class _Tp, class _Alloc> class std::list
     class list : protected _List_base<_Tp, _Alloc>
           ^
0_0_27694200_28071.cpp:41:13: error: reference to 'list' is ambiguous
             list[pos[v][1]][i]=false;
             ^
0_0_27694200_28071.cpp:6:18: note: candidates are: bool list [10][10]
 bool row[10][10],list[10][10];//用来标明哪行哪列出现过什么数.
                  ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/list:63:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:78,
                 from 0_0_27694200_28071.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_list.h:447:11: note:                 template<class _Tp, class _Alloc> class std::list
     class list : protected _List_base<_Tp, _Alloc>
           ^
0_0_27694200_28071.cpp: In function 'int main()':
0_0_27694200_28071.cpp:63:13: error: reference to 'list' is ambiguous
      memset(list,false,sizeof list);
             ^
0_0_27694200_28071.cpp:6:18: note: candidates are: bool list [10][10]
 bool row[10][10],list[10][10];//用来标明哪行哪列出现过什么数.
                  ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/list:63:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:78,
                 from 0_0_27694200_28071.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_list.h:447:11: note:                 template<class _Tp, class _Alloc> class std::list
     class list : protected _List_base<_Tp, _Alloc>
           ^
0_0_27694200_28071.cpp:63:31: error: reference to 'list' is ambiguous
      memset(list,false,sizeof list);
                               ^
0_0_27694200_28071.cpp:6:18: note: candidates are: bool list [10][10]
 bool row[10][10],list[10][10];//用来标明哪行哪列出现过什么数.
                  ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/list:63:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:78,
                 from 0_0_27694200_28071.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_list.h:447:11: note:                 template<class _Tp, class _Alloc> class std::list
     class list : protected _List_base<_Tp, _Alloc>
           ^
0_0_27694200_28071.cpp:75:15: error: reference to 'list' is ambiguous
               list[j][map_[i][j]-'0']=true;
               ^
0_0_27694200_28071.cpp:6:18: note: candidates are: bool list [10][10]
 bool row[10][10],list[10][10];//用来标明哪行哪列出现过什么数.
                  ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/list:63:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:78,
                 from 0_0_27694200_28071.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_list.h:447:11: note:                 template<class _Tp, class _Alloc> class std::list
     class list : protected _List_base<_Tp, _Alloc>
           ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-11-17 08:50:41, Gzip enabled