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_38373875_2805.cpp: In function 'void DFS(int)':
0_0_38373875_2805.cpp:20:9: error: reference to 'list' is ambiguous
  online[list[t].a]++;
         ^
0_0_38373875_2805.cpp:9:6: note: candidates are: node list [30]
 node list[30];   //记有多少对输入
      ^
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_38373875_2805.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_38373875_2805.cpp:21:9: error: reference to 'list' is ambiguous
  online[list[t].b]++;
         ^
0_0_38373875_2805.cpp:9:6: note: candidates are: node list [30]
 node list[30];   //记有多少对输入
      ^
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_38373875_2805.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_38373875_2805.cpp:22:13: error: reference to 'list' is ambiguous
  if (online[list[t].a] <= Friend[list[t].a] / 2 && online[list[t].b] <= Friend[list[t].b] / 2) {
             ^
0_0_38373875_2805.cpp:9:6: note: candidates are: node list [30]
 node list[30];   //记有多少对输入
      ^
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_38373875_2805.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_38373875_2805.cpp:22:34: error: reference to 'list' is ambiguous
  if (online[list[t].a] <= Friend[list[t].a] / 2 && online[list[t].b] <= Friend[list[t].b] / 2) {
                                  ^
0_0_38373875_2805.cpp:9:6: note: candidates are: node list [30]
 node list[30];   //记有多少对输入
      ^
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_38373875_2805.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_38373875_2805.cpp:22:59: error: reference to 'list' is ambiguous
  if (online[list[t].a] <= Friend[list[t].a] / 2 && online[list[t].b] <= Friend[list[t].b] / 2) {
                                                           ^
0_0_38373875_2805.cpp:9:6: note: candidates are: node list [30]
 node list[30];   //记有多少对输入
      ^
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_38373875_2805.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_38373875_2805.cpp:22:80: error: reference to 'list' is ambiguous
  if (online[list[t].a] <= Friend[list[t].a] / 2 && online[list[t].b] <= Friend[list[t].b] / 2) {
                                                                                ^
0_0_38373875_2805.cpp:9:6: note: candidates are: node list [30]
 node list[30];   //记有多少对输入
      ^
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_38373875_2805.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_38373875_2805.cpp:25:9: error: reference to 'list' is ambiguous
  online[list[t].a]--;
         ^
0_0_38373875_2805.cpp:9:6: note: candidates are: node list [30]
 node list[30];   //记有多少对输入
      ^
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_38373875_2805.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_38373875_2805.cpp:26:9: error: reference to 'list' is ambiguous
  online[list[t].b]--;
         ^
0_0_38373875_2805.cpp:9:6: note: candidates are: node list [30]
 node list[30];   //记有多少对输入
      ^
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_38373875_2805.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_38373875_2805.cpp:29:10: error: reference to 'list' is ambiguous
  offline[list[t].a]++;
          ^
0_0_38373875_2805.cpp:9:6: note: candidates are: node list [30]
 node list[30];   //记有多少对输入
      ^
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_38373875_2805.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_38373875_2805.cpp:30:10: error: reference to 'list' is ambiguous
  offline[list[t].b]++;
          ^
0_0_38373875_2805.cpp:9:6: note: candidates are: node list [30]
 node list[30];   //记有多少对输入
      ^
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_38373875_2805.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_38373875_2805.cpp:31:14: error: reference to 'list' is ambiguous
  if (offline[list[t].a] <= Friend[list[t].a] / 2 && offline[list[t].b] <= Friend[list[t].b] / 2) {
              ^
0_0_38373875_2805.cpp:9:6: note: candidates are: node list [30]
 node list[30];   //记有多少对输入
      ^
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_38373875_2805.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_38373875_2805.cpp:31:35: error: reference to 'list' is ambiguous
  if (offline[list[t].a] <= Friend[list[t].a] / 2 && offline[list[t].b] <= Friend[list[t].b] / 2) {
                                   ^
0_0_38373875_2805.cpp:9:6: note: candidates are: node list [30]
 node list[30];   //记有多少对输入
      ^
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_38373875_2805.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_38373875_2805.cpp:31:61: error: reference to 'list' is ambiguous
  if (offline[list[t].a] <= Friend[list[t].a] / 2 && offline[list[t].b] <= Friend[list[t].b] / 2) {
                                                             ^
0_0_38373875_2805.cpp:9:6: note: candidates are: node list [30]
 node list[30];   //记有多少对输入
      ^
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_38373875_2805.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_38373875_2805.cpp:31:82: error: reference to 'list' is ambiguous
  if (offline[li


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-16 23:22:57, Gzip enabled