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_39459118_27593.cpp: In function 'int main()':
0_0_39459118_27593.cpp:44:17: error: reference to 'numbers' is ambiguous
   44 |                 numbers.push_back(a);
      |                 ^~~~~~~
In file included from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/max_size_type.h:37,
                 from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/ranges_base.h:39,
                 from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/ranges_algobase.h:38,
                 from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/ranges_algo.h:38,
                 from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/algorithm:63,
                 from .\stdc++.h:51:
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/numbers:48:11: note: candidates are: 'namespace std::numbers { }'
   48 | namespace numbers
      |           ^~~~~~~
0_0_39459118_27593.cpp:11:13: note:                 'std::vector<long long int> numbers'
   11 | vector<i64> numbers;
      |             ^~~~~~~
0_0_39459118_27593.cpp:45:17: error: reference to 'numbers' is ambiguous
   45 |                 numbers.push_back(b);
      |                 ^~~~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/numbers:48:11: note: candidates are: 'namespace std::numbers { }'
   48 | namespace numbers
      |           ^~~~~~~
0_0_39459118_27593.cpp:11:13: note:                 'std::vector<long long int> numbers'
   11 | vector<i64> numbers;
      |             ^~~~~~~
0_0_39459118_27593.cpp:46:17: error: reference to 'numbers' is ambiguous
   46 |                 numbers.push_back(c);
      |                 ^~~~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/numbers:48:11: note: candidates are: 'namespace std::numbers { }'
   48 | namespace numbers
      |           ^~~~~~~
0_0_39459118_27593.cpp:11:13: note:                 'std::vector<long long int> numbers'
   11 | vector<i64> numbers;
      |             ^~~~~~~
0_0_39459118_27593.cpp:47:17: error: reference to 'numbers' is ambiguous
   47 |                 numbers.push_back(d);
      |                 ^~~~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/numbers:48:11: note: candidates are: 'namespace std::numbers { }'
   48 | namespace numbers
      |           ^~~~~~~
0_0_39459118_27593.cpp:11:13: note:                 'std::vector<long long int> numbers'
   11 | vector<i64> numbers;
      |             ^~~~~~~
0_0_39459118_27593.cpp:49:9: error: reference to 'numbers' is ambiguous
   49 |         numbers.push_back(0);
      |         ^~~~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/numbers:48:11: note: candidates are: 'namespace std::numbers { }'
   48 | namespace numbers
      |           ^~~~~~~
0_0_39459118_27593.cpp:11:13: note:                 'std::vector<long long int> numbers'
   11 | vector<i64> numbers;
      |             ^~~~~~~
0_0_39459118_27593.cpp:50:14: error: reference to 'numbers' is ambiguous
   50 |         sort(numbers.begin(), numbers.end());
      |              ^~~~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/numbers:48:11: note: candidates are: 'namespace std::numbers { }'
   48 | namespace numbers
      |           ^~~~~~~
0_0_39459118_27593.cpp:11:13: note:                 'std::vector<long long int> numbers'
   11 | vector<i64> numbers;
      |             ^~~~~~~
0_0_39459118_27593.cpp:50:31: error: reference to 'numbers' is ambiguous
   50 |         sort(numbers.begin(), numbers.end());
      |                               ^~~~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/numbers:48:11: note: candidates are: 'namespace std::numbers { }'
   48 | namespace numbers
      |           ^~~~~~~
0_0_39459118_27593.cpp:11:13: note:                 'std::vector<long long int> numbers'
   11 | vector<i64> numbers;
      |             ^~~~~~~
0_0_39459118_27593.cpp:51:26: error: reference to 'numbers' is ambiguous
   51 |         int len = unique(numbers.begin(), numbers.end()) - numbers.begin();
      |                          ^~~~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/numbers:48:11: note: candidates are: 'namespace std::numbers { }'
   48 | namespace numbers
      |           ^~~~~~~
0_0_39459118_27593.cpp:11:13: note:                 'std::vector<long long int> numbers'
   11 | vector<i64> numbers;
      |             ^~~~~~~
0_0_39459118_27593.cpp:51:43: error: reference to 'numbers' is ambiguous
   51 |         int len = unique(numbers.begin(), numbers.end()) - numbers.begin();
      |                                           ^~~~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/numbers:48:11: note: candidates are: 'namespace std::numbers { }'
   48 | namespace numbers
      |           ^~~~~~~
0_0_39459118_27593.cpp:11:13: note:                 'std::vector<long long int> numbers'
   11 | vector<i64> numbers;
      |             ^~~~~~~
0_0_39459118_27593.cpp:51:60: error: reference to 'numbers' is ambiguous
   51 |         int len = unique(numbers.begin(), numbers.end()) - numbers.begin();
      |                                                            ^~~~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/numbers:48:11: note: candidates are: 'namespace std::numbers { }'
   48 | namespace numbers
      |           ^~~~~~~
0_0_39459118_27593.cpp:11:13: note:                 'std::vector<long long int> numbers'
   11 | vector<i64> numbers;
      |             ^~~~~~~
0_0_39459118_27593.cpp:53:21: error: reference to 'numbers' is ambiguous
   53 |                 hah[numbers[i]] = i;
      |                     ^~~~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/numbers:48:11: note: candidates are: 'namespace std::numbers { }'
   48 | namespace numbers
      |           ^~~~~~~
0_0_39459118_27593.cpp:11:13: note:                 'std::vector<long long int> numbers'
   11 | vector<i64> numbers;
      |             ^~~~~~~
0_0_39459118_27593.cpp:75:41: error: reference to 'numbers' is ambiguous
   75 |                         S[mp[i][j]] += (numbers[i] - numbers[i - 1]) * (numbers[j] - numbers[j - 1]);
      |                                         ^~~~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/numbers:48:11: note: candidates are: 'namespace std::numbers { }'
   48 | namespace numbers
      |           ^~~~~~~
0_0_39459118_27593.cpp:11:13: note:                 'std::vector<long long int> numbers'
   11 | vector<i64> numbers;
      |             ^~~~~~~
0_0_39459118_27593.cpp:75:54: error: reference to 'numbers' is ambiguous
   75 |                         S[mp[i][j]] += (numbers[i] - numbers[i - 1]) * (numbers[j] - numbers[j - 1]);
      |                                                      ^~~~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/numbers:48:11: note: candidates are: 'namespace std::numbers { }'
   48 | namespace numbers
      |           ^~~~~~~
0_0_39459118_27593.cpp:11:13: note:                 'std::vector<long long int> numbers'
   11 | vector<i64> numbers;
      |             ^~~~~~~
0_0_39459118_27593.cpp:75:73: error: reference to 'numbers' is ambiguous
   75 |                         S[mp[i][j]] += (numbers[i] - numbers[i - 1]) * (numbers[j] - numbers[j - 1]);
      |                                                                         ^~~~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/numbers:48:11: note: candidates are: 'namespace std::numbers { }'
   48 | namespace numbers
      |           ^~~~~~~
0_0_39459118_27593.cpp:11:13: note:                 'std::vector<long long int> numbers'
   11 | vector<i64> numbers;
      |             ^~~~~~~
0_0_39459118_27593.cpp:75:86: error: reference to 'numbers' is ambiguous
   75 |                         S[mp[i][j]] += (numbers[i] - numbers[i - 1]) * (numbers[j] - numbers[j - 1]);
      |                                                                                      ^~~~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/numbers:48:11: note: candidates are: 'namespace std::numbers { }'
   48 | namespace numbers
      |           ^~~~~~~
0_0_39459118_27593.cpp:11:13: note:                 'std::vector<long long int> numbers'
   11 | vector<i64> numbers;
      |             ^~~~~~~


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-25 18:35:33, Gzip enabled