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_27864153_26199.cpp: In function 'int main()':
0_0_27864153_26199.cpp:74:17: error: reference to 'tm' is ambiguous
                 tm[vlen].idx=tot-2,tm[vlen++].pos=Sx;
                 ^
0_0_27864153_26199.cpp:38:2: note: candidates are: TM tm [500005]
 }tm[M];
  ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/cwchar:44:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/postypes.h:40,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/iosfwd:40,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:38,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
                 from 0_0_27864153_26199.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/wchar.h:895:10: note:                 struct tm
   struct tm {
          ^
0_0_27864153_26199.cpp:74:36: error: reference to 'tm' is ambiguous
                 tm[vlen].idx=tot-2,tm[vlen++].pos=Sx;
                                    ^
0_0_27864153_26199.cpp:38:2: note: candidates are: TM tm [500005]
 }tm[M];
  ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/cwchar:44:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/postypes.h:40,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/iosfwd:40,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:38,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
                 from 0_0_27864153_26199.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/wchar.h:895:10: note:                 struct tm
   struct tm {
          ^
0_0_27864153_26199.cpp:77:21: error: reference to 'tm' is ambiguous
                     tm[vlen].idx=tot-1,tm[vlen++].pos=Tx;
                     ^
0_0_27864153_26199.cpp:38:2: note: candidates are: TM tm [500005]
 }tm[M];
  ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/cwchar:44:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/postypes.h:40,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/iosfwd:40,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:38,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
                 from 0_0_27864153_26199.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/wchar.h:895:10: note:                 struct tm
   struct tm {
          ^
0_0_27864153_26199.cpp:77:40: error: reference to 'tm' is ambiguous
                     tm[vlen].idx=tot-1,tm[vlen++].pos=Tx;
                                        ^
0_0_27864153_26199.cpp:38:2: note: candidates are: TM tm [500005]
 }tm[M];
  ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/cwchar:44:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/postypes.h:40,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/iosfwd:40,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:38,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
                 from 0_0_27864153_26199.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/wchar.h:895:10: note:                 struct tm
   struct tm {
          ^
0_0_27864153_26199.cpp:85:38: error: reference to 'tm' is ambiguous
                     addedge(p,2*j,1),tm[vlen].pos=node[j].l,tm[vlen].idx=p++,++vlen;
                                      ^
0_0_27864153_26199.cpp:38:2: note: candidates are: TM tm [500005]
 }tm[M];
  ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/cwchar:44:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/postypes.h:40,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/iosfwd:40,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:38,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
                 from 0_0_27864153_26199.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/wchar.h:895:10: note:                 struct tm
   struct tm {
          ^
0_0_27864153_26199.cpp:85:61: error: reference to 'tm' is ambiguous
                     addedge(p,2*j,1),tm[vlen].pos=node[j].l,tm[vlen].idx=p++,++vlen;
                                                             ^
0_0_27864153_26199.cpp:38:2: note: candidates are: TM tm [500005]
 }tm[M];
  ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/cwchar:44:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/postypes.h:40,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/iosfwd:40,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:38,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
                 from 0_0_27864153_26199.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/wchar.h:895:10: note:                 struct tm
   struct tm {
          ^
0_0_27864153_26199.cpp:87:40: error: reference to 'tm' is ambiguous
                     addedge(p,2*j+1,1),tm[vlen].pos=node[j].r,tm[vlen].idx=p++,++vlen;
                                        ^
0_0_27864153_26199.cpp:38:2: note: candidates are: TM tm [500005]
 }tm[M];
  ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/cwchar:44:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/postypes.h:40,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/iosfwd:40,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:38,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
                 from 0_0_27864153_26199.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/wchar.h:895:10: note:                 struct tm
   struct tm {
          ^
0_0_27864153_26199.cpp:87:63: error: reference to 'tm' is ambiguous
                     addedge(p,2*j+1,1),tm[vlen].pos=node[j].r,tm[vlen].idx=p++,++vlen;
                                                               ^
0_0_27864153_26199.cpp:38:2: note: candidates are: TM tm [500005]
 }tm[M];
  ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/cwchar:44:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/postypes.h:40,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/iosfwd:40,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:38,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
                 from 0_0_27864153_26199.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/wchar.h:895:10: note:                 struct tm
   struct tm {
          ^
0_0_27864153_26199.cpp:90:22: error: reference to 'tm' is ambiguous
                 sort(tm,tm+vlen);
                      ^
0_0_27864153_26199.cpp:38:2: note: candidates are: TM tm [500005]
 }tm[M];
  ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/cwchar:44:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/postypes.h:40,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/iosfwd:40,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:38,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
                 from 0_0_27864153_26199.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/wchar.h:895:10: note:                 struct tm
   struct tm {
          ^
0_0_27864153_26199.cpp:90:25: error: reference to 'tm' is ambiguous
                 sort(tm,tm+vlen);
                         ^
0_0_27864153_26199.cpp:38:2: note: candidates are: TM tm [500005]
 }tm[M];
  ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/cwchar:44:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/postypes.h:40,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/iosfwd:40,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:38,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
                 from 0_0_27864153_26199.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/wchar.h:895:10: note:                 struct tm
   struct tm {
          ^
0_0_


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-29 16:23:36, Gzip enabled