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_30938469_20413.cpp: In function 'int OJ(char*, char*)':
0_0_30938469_20413.cpp:43:26: error: 'del' was not declared in this scope
  int is_del_r = del(right);
                          ^
0_0_30938469_20413.cpp: In function 'int main(int, char**)':
0_0_30938469_20413.cpp:81:10: error: reference to 'right' is ambiguous
   memset(right,0,sizeof(right));
          ^
0_0_30938469_20413.cpp:4:6: note: candidates are: char right [5050]
 char right[5050];
      ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:42:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/istream:38,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/sstream:38,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/complex:45,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/ccomplex:38,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:52,
                 from 0_0_30938469_20413.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/ios_base.h:924:3: note:                 std::ios_base& std::right(std::ios_base&)
   right(ios_base& __base)
   ^
0_0_30938469_20413.cpp:81:25: error: reference to 'right' is ambiguous
   memset(right,0,sizeof(right));
                         ^
0_0_30938469_20413.cpp:4:6: note: candidates are: char right [5050]
 char right[5050];
      ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:42:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/istream:38,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/sstream:38,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/complex:45,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/ccomplex:38,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:52,
                 from 0_0_30938469_20413.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/ios_base.h:924:3: note:                 std::ios_base& std::right(std::ios_base&)
   right(ios_base& __base)
   ^
0_0_30938469_20413.cpp:95:12: error: reference to 'right' is ambiguous
     strcat(right,temp);
            ^
0_0_30938469_20413.cpp:4:6: note: candidates are: char right [5050]
 char right[5050];
      ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:42:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/istream:38,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/sstream:38,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/complex:45,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/ccomplex:38,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:52,
                 from 0_0_30938469_20413.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/ios_base.h:924:3: note:                 std::ios_base& std::right(std::ios_base&)
   right(ios_base& __base)
   ^
0_0_30938469_20413.cpp:100:22: error: reference to 'right' is ambiguous
   }while(is_end(temp,right) == 0);
                      ^
0_0_30938469_20413.cpp:4:6: note: candidates are: char right [5050]
 char right[5050];
      ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:42:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/istream:38,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/sstream:38,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/complex:45,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/ccomplex:38,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:52,
                 from 0_0_30938469_20413.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/ios_base.h:924:3: note:                 std::ios_base& std::right(std::ios_base&)
   right(ios_base& __base)
   ^
0_0_30938469_20413.cpp:122:16: error: reference to 'right' is ambiguous
   int res = OJ(right,input);
                ^
0_0_30938469_20413.cpp:4:6: note: candidates are: char right [5050]
 char right[5050];
      ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:42:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/istream:38,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/sstream:38,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/complex:45,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/ccomplex:38,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:52,
                 from 0_0_30938469_20413.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/ios_base.h:924:3: note:                 std::ios_base& std::right(std::ios_base&)
   right(ios_base& __base)
   ^


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-07-03 14:56:00, Gzip enabled