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_15595279_17133.cpp: In function 'int findwordmat()':
0_0_15595279_17133.cpp:65:20: error: reference to 'list' is ambiguous
            if (key[list[i][j]])
                    ^
0_0_15595279_17133.cpp:31:27: note: candidates are: char list [100][30]
 char answer[128],key[125],list[100][30];
                           ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/list:63:0,
                 from 0_0_15595279_17133.cpp:8:
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_15595279_17133.cpp: In function 'int subsearch(int, int, int, int)':
0_0_15595279_17133.cpp:96:14: error: reference to 'list' is ambiguous
    char cc = list[wi][num];
              ^
0_0_15595279_17133.cpp:31:27: note: candidates are: char list [100][30]
 char answer[128],key[125],list[100][30];
                           ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/list:63:0,
                 from 0_0_15595279_17133.cpp:8:
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_15595279_17133.cpp: In function 'int main()':
0_0_15595279_17133.cpp:132:15: error: reference to 'list' is ambiguous
        memset(list,0,sizeof list);
               ^
0_0_15595279_17133.cpp:31:27: note: candidates are: char list [100][30]
 char answer[128],key[125],list[100][30];
                           ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/list:63:0,
                 from 0_0_15595279_17133.cpp:8:
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_15595279_17133.cpp:132:29: error: reference to 'list' is ambiguous
        memset(list,0,sizeof list);
                             ^
0_0_15595279_17133.cpp:31:27: note: candidates are: char list [100][30]
 char answer[128],key[125],list[100][30];
                           ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/list:63:0,
                 from 0_0_15595279_17133.cpp:8:
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_15595279_17133.cpp:141:28: error: reference to 'list' is ambiguous
                pd = false; list[cnt][tmp ++] = c;
                            ^
0_0_15595279_17133.cpp:31:27: note: candidates are: char list [100][30]
 char answer[128],key[125],list[100][30];
                           ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/list:63:0,
                 from 0_0_15595279_17133.cpp:8:
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_15595279_17133.cpp:146:34: error: reference to 'list' is ambiguous
                    tl[cnt] = tmp;list[cnt ++][tmp] = 0;
                                  ^
0_0_15595279_17133.cpp:31:27: note: candidates are: char list [100][30]
 char answer[128],key[125],list[100][30];
                           ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/list:63:0,
                 from 0_0_15595279_17133.cpp:8:
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_15595279_17133.cpp:152:34: error: reference to 'list' is ambiguous
                    tl[cnt] = tmp;list[cnt ++][tmp] = 0;
                                  ^
0_0_15595279_17133.cpp:31:27: note: candidates are: char list [100][30]
 char answer[128],key[125],list[100][30];
                           ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/list:63:0,
                 from 0_0_15595279_17133.cpp:8:
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_15595279_17133.cpp:160:34: error: reference to 'list' is ambiguous
                    tl[cnt] = tmp;list[cnt ++][tmp] = 0;
                                  ^
0_0_15595279_17133.cpp:31:27: note: candidates are: char list [100][30]
 char answer[128],key[125],list[100][30];
                           ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/list:63:0,
                 from 0_0_15595279_17133.cpp:8:
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-12-02 09:44:46, Gzip enabled