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_15597718_11756.cpp: In function 'int main()':
0_0_15597718_11756.cpp:32:9: error: reference to 'list' is ambiguous
         list[k]=way[k][8][8];
         ^
0_0_15597718_11756.cpp:20:5: note: candidates are: int list [15]
 int list[15];
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/list:63:0,
                 from 0_0_15597718_11756.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_15597718_11756.cpp:38:23: error: reference to 'list' is ambiguous
         printf("%d\n",list[n]);
                       ^
0_0_15597718_11756.cpp:20:5: note: candidates are: int list [15]
 int list[15];
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/list:63:0,
                 from 0_0_15597718_11756.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-11-26 07:42:24, Gzip enabled