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_37277939_12585.cpp: In function 'void init()':
0_0_37277939_12585.cpp:6:2: error: reference to 'array' is ambiguous
  array[1]=2;
  ^
0_0_37277939_12585.cpp:4:11: note: candidates are: long long int array [48]
 long long array[maxn];
           ^
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++/functional:55,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:70,
                 from 0_0_37277939_12585.cpp:1:
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_37277939_12585.cpp:7:2: error: reference to 'array' is ambiguous
  array[2]=3;
  ^
0_0_37277939_12585.cpp:4:11: note: candidates are: long long int array [48]
 long long array[maxn];
           ^
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++/functional:55,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:70,
                 from 0_0_37277939_12585.cpp:1:
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_37277939_12585.cpp:9:3: error: reference to 'array' is ambiguous
   array[i]=array[i-1]+array[i-2];
   ^
0_0_37277939_12585.cpp:4:11: note: candidates are: long long int array [48]
 long long array[maxn];
           ^
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++/functional:55,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:70,
                 from 0_0_37277939_12585.cpp:1:
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_37277939_12585.cpp:9:12: error: reference to 'array' is ambiguous
   array[i]=array[i-1]+array[i-2];
            ^
0_0_37277939_12585.cpp:4:11: note: candidates are: long long int array [48]
 long long array[maxn];
           ^
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++/functional:55,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:70,
                 from 0_0_37277939_12585.cpp:1:
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_37277939_12585.cpp:9:23: error: reference to 'array' is ambiguous
   array[i]=array[i-1]+array[i-2];
                       ^
0_0_37277939_12585.cpp:4:11: note: candidates are: long long int array [48]
 long long array[maxn];
           ^
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++/functional:55,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:70,
                 from 0_0_37277939_12585.cpp:1:
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_37277939_12585.cpp: In function 'bool dfs(long long int, long long int)':
0_0_37277939_12585.cpp:15:8: error: reference to 'array' is ambiguous
   if(x%array[i]==0){
        ^
0_0_37277939_12585.cpp:4:11: note: candidates are: long long int array [48]
 long long array[maxn];
           ^
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++/functional:55,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:70,
                 from 0_0_37277939_12585.cpp:1:
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_37277939_12585.cpp:16:13: error: reference to 'array' is ambiguous
    if(dfs(x/array[i],i))
             ^
0_0_37277939_12585.cpp:4:11: note: candidates are: long long int array [48]
 long long array[maxn];
           ^
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++/functional:55,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:70,
                 from 0_0_37277939_12585.cpp:1:
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
            ^


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 13:27:47, Gzip enabled