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_20996200_27424.cpp: In function 'int main()':
0_0_20996200_27424.cpp:18:15: error: reference to 'array' is ambiguous
        memset(array,0,sizeof(array));
               ^
0_0_20996200_27424.cpp:7:11: note: candidates are: long long int array [111]
 long long array[111];
           ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/tuple:39:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_map.h:63,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61,
                 from 0_0_20996200_27424.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/array:81:12: note:                 template<class _Tp, long long unsigned int _Nm> struct std::array
     struct array
            ^
0_0_20996200_27424.cpp:18:30: error: reference to 'array' is ambiguous
        memset(array,0,sizeof(array));
                              ^
0_0_20996200_27424.cpp:7:11: note: candidates are: long long int array [111]
 long long array[111];
           ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/tuple:39:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_map.h:63,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61,
                 from 0_0_20996200_27424.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/array:81:12: note:                 template<class _Tp, long long unsigned int _Nm> struct std::array
     struct array
            ^
0_0_20996200_27424.cpp:22:27: error: reference to 'array' is ambiguous
            scanf("%I64d",&array[i]);
                           ^
0_0_20996200_27424.cpp:7:11: note: candidates are: long long int array [111]
 long long array[111];
           ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/tuple:39:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_map.h:63,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61,
                 from 0_0_20996200_27424.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/array:81:12: note:                 template<class _Tp, long long unsigned int _Nm> struct std::array
     struct array
            ^
0_0_20996200_27424.cpp:23:15: error: reference to 'array' is ambiguous
             p[array[i]]++;
               ^
0_0_20996200_27424.cpp:7:11: note: candidates are: long long int array [111]
 long long array[111];
           ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/tuple:39:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_map.h:63,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61,
                 from 0_0_20996200_27424.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/array:81:12: note:                 template<class _Tp, long long unsigned int _Nm> struct std::array
     struct array
            ^
0_0_20996200_27424.cpp:26:13: error: reference to 'array' is ambiguous
        sort(array,array+N);
             ^
0_0_20996200_27424.cpp:7:11: note: candidates are: long long int array [111]
 long long array[111];
           ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/tuple:39:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_map.h:63,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61,
                 from 0_0_20996200_27424.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/array:81:12: note:                 template<class _Tp, long long unsigned int _Nm> struct std::array
     struct array
            ^
0_0_20996200_27424.cpp:26:19: error: reference to 'array' is ambiguous
        sort(array,array+N);
                   ^
0_0_20996200_27424.cpp:7:11: note: candidates are: long long int array [111]
 long long array[111];
           ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/tuple:39:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_map.h:63,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61,
                 from 0_0_20996200_27424.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/array:81:12: note:                 template<class _Tp, long long unsigned int _Nm> struct std::array
     struct array
            ^
0_0_20996200_27424.cpp:27:25: error: reference to 'array' is ambiguous
        int len = unique(array,array+N) - array;
                         ^
0_0_20996200_27424.cpp:7:11: note: candidates are: long long int array [111]
 long long array[111];
           ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/tuple:39:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_map.h:63,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61,
                 from 0_0_20996200_27424.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/array:81:12: note:                 template<class _Tp, long long unsigned int _Nm> struct std::array
     struct array
            ^
0_0_20996200_27424.cpp:27:31: error: reference to 'array' is ambiguous
        int len = unique(array,array+N) - array;
                               ^
0_0_20996200_27424.cpp:7:11: note: candidates are: long long int array [111]
 long long array[111];
           ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/tuple:39:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_map.h:63,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61,
                 from 0_0_20996200_27424.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/array:81:12: note:                 template<class _Tp, long long unsigned int _Nm> struct std::array
     struct array
            ^
0_0_20996200_27424.cpp:27:42: error: reference to 'array' is ambiguous
        int len = unique(array,array+N) - array;
                                          ^
0_0_20996200_27424.cpp:7:11: note: candidates are: long long int array [111]
 long long array[111];
           ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/tuple:39:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_map.h:63,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61,
                 from 0_0_20996200_27424.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/array:81:12: note:                 template<class _Tp, long long unsigned int _Nm> struct std::array
     struct array
            ^
0_0_20996200_27424.cpp:30:26: error: reference to 'array' is ambiguous
            if(i == 0 && (array[i]+array[len-1])%mod == array[i+1]) cou += p[array[i]];
                          ^
0_0_20996200_27424.cpp:7:11: note: candidates are: long long int array [111]
 long long array[111];
           ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/tuple:39:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_map.h:63,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61,
                 from 0_0_20996200_27424.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/array:81:12: note:                 template<class _Tp, long long unsigned int _Nm> struct std::array
     struct array
            ^
0_0_20996200_27424.cpp:30:35: error: reference to 'array' is ambiguous
            if(i == 0 && (array[i]+array[len-1])%mod == array[i+1]) cou += p[array[i]];
                                   ^
0_0_20996200_27424.cpp:7:11: note: candidates are: long long int array [111]
 long long array[111];
           ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/tuple:39:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_map.h:63,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61,
                 from 0_0_20996200_27424.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/array:81:12: note:                 template<class _Tp, long long unsigned int _Nm> struct std::array
     struct array
            ^
0_0_20996200_27424.cpp:30:56: error: reference to 'array' is ambiguous
            if(i == 0 && (array[i]+array[len-1])%mod == array[i+1]) cou += p[array[i]];
                                                        ^
0_0_20996200_27424.cpp:7:11: note: candidates are: long long int array [111]
 long long array[111];
           ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/tuple:39:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_map.h:63,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61,
                 from 0_0_20996200_27424.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/array:81:12: note:                 template<class _Tp, long long unsigned int _Nm> struct std::array
     struct array
            ^
0_0_20996200_27424.cpp:30:77: error: reference to 'array' is ambiguous
            if(i == 0 && (array[i]+array[len-1])%mod == array[i+1]) cou += p[array[i]];
                                                                             ^
0_0_20996200_27424.cpp:7:11: note: candidates are: long long int array [111]
 long long array[111];
           ^
In file included 


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-29 06:12:45, Gzip enabled