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_15881321_15429.cpp: In function 'int getAngleNumber(int, int, int)':
0_0_15881321_15429.cpp:102:23: error: reference to 'right' is ambiguous
         return n-abs1(right[b][c]-right[b][a]+2)+3;
                       ^
0_0_15881321_15429.cpp:51:5: note: candidates are: int right [210][210]
 int right[N][N];
     ^
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++/ostream:38,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
                 from 0_0_15881321_15429.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_15881321_15429.cpp:102:35: error: reference to 'right' is ambiguous
         return n-abs1(right[b][c]-right[b][a]+2)+3;
                                   ^
0_0_15881321_15429.cpp:51:5: note: candidates are: int right [210][210]
 int right[N][N];
     ^
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++/ostream:38,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
                 from 0_0_15881321_15429.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_15881321_15429.cpp:103:17: error: reference to 'right' is ambiguous
     return abs1(right[b][a]-right[b][c])+2;
                 ^
0_0_15881321_15429.cpp:51:5: note: candidates are: int right [210][210]
 int right[N][N];
     ^
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++/ostream:38,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
                 from 0_0_15881321_15429.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_15881321_15429.cpp:103:29: error: reference to 'right' is ambiguous
     return abs1(right[b][a]-right[b][c])+2;
                             ^
0_0_15881321_15429.cpp:51:5: note: candidates are: int right [210][210]
 int right[N][N];
     ^
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++/ostream:38,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
                 from 0_0_15881321_15429.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_15881321_15429.cpp: In function 'int getTriangleNumber(int, int, int)':
0_0_15881321_15429.cpp:108:14: error: reference to 'left' is ambiguous
     return n-left[a][b]-left[b][c]-left[c][a]+getAngleNumber(a,b,c)+getAngleNumber(b,c,a)+getAngleNumber(c,a,b)-6;
              ^
0_0_15881321_15429.cpp:50:5: note: candidates are: int left [210][210]
 int left[N][N];
     ^
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++/ostream:38,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
                 from 0_0_15881321_15429.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/ios_base.h:916:3: note:                 std::ios_base& std::left(std::ios_base&)
   left(ios_base& __base)
   ^
0_0_15881321_15429.cpp:108:25: error: reference to 'left' is ambiguous
     return n-left[a][b]-left[b][c]-left[c][a]+getAngleNumber(a,b,c)+getAngleNumber(b,c,a)+getAngleNumber(c,a,b)-6;
                         ^
0_0_15881321_15429.cpp:50:5: note: candidates are: int left [210][210]
 int left[N][N];
     ^
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++/ostream:38,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
                 from 0_0_15881321_15429.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/ios_base.h:916:3: note:                 std::ios_base& std::left(std::ios_base&)
   left(ios_base& __base)
   ^
0_0_15881321_15429.cpp:108:36: error: reference to 'left' is ambiguous
     return n-left[a][b]-left[b][c]-left[c][a]+getAngleNumber(a,b,c)+getAngleNumber(b,c,a)+getAngleNumber(c,a,b)-6;
                                    ^
0_0_15881321_15429.cpp:50:5: note: candidates are: int left [210][210]
 int left[N][N];
     ^
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++/ostream:38,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
                 from 0_0_15881321_15429.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/ios_base.h:916:3: note:                 std::ios_base& std::left(std::ios_base&)
   left(ios_base& __base)
   ^
0_0_15881321_15429.cpp: In function 'int main()':
0_0_15881321_15429.cpp:150:16: error: reference to 'left' is ambiguous
         memset(left,0,sizeof(left));
                ^
0_0_15881321_15429.cpp:50:5: note: candidates are: int left [210][210]
 int left[N][N];
     ^
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++/ostream:38,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
                 from 0_0_15881321_15429.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/ios_base.h:916:3: note:                 std::ios_base& std::left(std::ios_base&)
   left(ios_base& __base)
   ^
0_0_15881321_15429.cpp:150:30: error: reference to 'left' is ambiguous
         memset(left,0,sizeof(left));
                              ^
0_0_15881321_15429.cpp:50:5: note: candidates are: int left [210][210]
 int left[N][N];
     ^
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++/ostream:38,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
                 from 0_0_15881321_15429.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/ios_base.h:916:3: note:                 std::ios_base& std::left(std::ios_base&)
   left(ios_base& __base)
   ^
0_0_15881321_15429.cpp:151:16: error: reference to 'right' is ambiguous
         memset(right,0,sizeof(right));
                ^
0_0_15881321_15429.cpp:51:5: note: candidates are: int right [210][210]
 int right[N][N];
     ^
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++/ostream:38,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
                 from 0_0_15881321_15429.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_15881321_15429.cpp:151:31: error: reference to 'right' is ambiguous
         memset(right,0,sizeof(right));
                               ^
0_0_15881321_15429.cpp:51:5: note: candidates are: int right [210][210]
 int right[N][N];
     ^
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++/ostream:38,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
                 from 0_0_15881321_15429.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_15881321_15429.cpp:161:31: error: reference to 'left' is ambiguous
                             ++left[i][j];
                               ^
0_0_15881321_15429.cpp:50:5: note: candidates are: int left [210][210]
 int left[N][N];
     ^
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++/ostream:38,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
                 from 0_0_15881321_15429.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/ios_base.h:916:3: note:                 std::ios_base& std::left(std::ios_base&)
   left(ios_base& __base)
   ^
0_0_15881321_15429.cpp:163:31: error: reference to 'left' is ambiguous
                             ++left[j][i];
                               ^
0_0_15881321_15429.cpp:50:5: note: candidates are: int left [210][210]
 int left[N][N];
     ^
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++/ostream:38,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
           


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-26 06:29:19, Gzip enabled