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_36702239_7007.cpp: In member function 'spt::node* spt::join(spt::node*, spt::node*)':
0_0_36702239_7007.cpp:217:44: error: cast from 'spt::node*' to 'int' loses precision [-fpermissive]
         if (!a || !b) return (node *)((int)a|(int)b);
                                            ^
0_0_36702239_7007.cpp:217:51: error: cast from 'spt::node*' to 'int' loses precision [-fpermissive]
         if (!a || !b) return (node *)((int)a|(int)b);
                                                   ^
0_0_36702239_7007.cpp: In function 'void work(char, int)':
0_0_36702239_7007.cpp:256:21: error: reference to 'pair' is ambiguous
          path[data]=pair(a,b);
                     ^
0_0_36702239_7007.cpp:240:9: note: candidates are: struct pair
  struct pair
         ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/utility:70:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:60,
                 from 0_0_36702239_7007.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_pair.h:96:12: note:                 template<class _T1, class _T2> struct std::pair
     struct pair
            ^
0_0_36702239_7007.cpp:260:10: error: reference to 'pair' is ambiguous
          pair t=path[n];
          ^
0_0_36702239_7007.cpp:240:9: note: candidates are: struct pair
  struct pair
         ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/utility:70:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:60,
                 from 0_0_36702239_7007.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_pair.h:96:12: note:                 template<class _T1, class _T2> struct std::pair
     struct pair
            ^
0_0_36702239_7007.cpp:261:27: error: 't' was not declared in this scope
          mysp->removefuck(t.first);
                           ^
0_0_36702239_7007.cpp:268:10: error: reference to 'pair' is ambiguous
          pair t=path[n];
          ^
0_0_36702239_7007.cpp:240:9: note: candidates are: struct pair
  struct pair
         ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/utility:70:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:60,
                 from 0_0_36702239_7007.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_pair.h:96:12: note:                 template<class _T1, class _T2> struct std::pair
     struct pair
            ^
0_0_36702239_7007.cpp:269:22: error: 't' was not declared in this scope
          mysp->splay(t.second,mysp->root);
                      ^


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-09-28 06:22:20, Gzip enabled