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_15325466_19217.cpp: In function 'int main()':
0_0_15325466_19217.cpp:110:16: error: reference to 'ignore' is ambiguous
         memset(ignore,0,sizeof ignore);
                ^
0_0_15325466_19217.cpp:92:5: note: candidates are: int ignore [2222]
 int ignore[2222];
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_map.h:63:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61,
                 from 0_0_15325466_19217.cpp:13:
GCC4.9.2/x86_64-w64-mingw32/include/c++/tuple:1076:25: note:                 const std::_Swallow_assign std::ignore
   const _Swallow_assign ignore{};
                         ^
0_0_15325466_19217.cpp:110:32: error: reference to 'ignore' is ambiguous
         memset(ignore,0,sizeof ignore);
                                ^
0_0_15325466_19217.cpp:92:5: note: candidates are: int ignore [2222]
 int ignore[2222];
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_map.h:63:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61,
                 from 0_0_15325466_19217.cpp:13:
GCC4.9.2/x86_64-w64-mingw32/include/c++/tuple:1076:25: note:                 const std::_Swallow_assign std::ignore
   const _Swallow_assign ignore{};
                         ^
0_0_15325466_19217.cpp:117:17: error: reference to 'ignore' is ambiguous
                 ignore[i-1]=1;
                 ^
0_0_15325466_19217.cpp:92:5: note: candidates are: int ignore [2222]
 int ignore[2222];
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_map.h:63:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61,
                 from 0_0_15325466_19217.cpp:13:
GCC4.9.2/x86_64-w64-mingw32/include/c++/tuple:1076:25: note:                 const std::_Swallow_assign std::ignore
   const _Swallow_assign ignore{};
                         ^
0_0_15325466_19217.cpp:127:21: error: reference to 'ignore' is ambiguous
                 if(!ignore[j])
                     ^
0_0_15325466_19217.cpp:92:5: note: candidates are: int ignore [2222]
 int ignore[2222];
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_map.h:63:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61,
                 from 0_0_15325466_19217.cpp:13:
GCC4.9.2/x86_64-w64-mingw32/include/c++/tuple:1076:25: note:                 const std::_Swallow_assign std::ignore
   const _Swallow_assign ignore{};
                         ^


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-28 07:47:07, Gzip enabled