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_17737717_10599.cpp: In function 'int main()':
0_0_17737717_10599.cpp:42:22: error: no matching function for call to 'fill(long long int [1010], long long int, int)'
         fill(xx,n+5,0);
                      ^
0_0_17737717_10599.cpp:42:22: note: candidates are:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/deque:60:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/queue:60,
                 from 0_0_17737717_10599.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:732:5: note: template<class _ForwardIterator, class _Tp> void std::fill(_ForwardIterator, _ForwardIterator, const _Tp&)
     fill(_ForwardIterator __first, _ForwardIterator __last, const _Tp& __value)
     ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:732:5: note:   template argument deduction/substitution failed:
0_0_17737717_10599.cpp:42:22: note:   deduced conflicting types for parameter '_ForwardIterator' ('long long int*' and 'long long int')
         fill(xx,n+5,0);
                      ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/deque:66:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/queue:60,
                 from 0_0_17737717_10599.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/deque.tcc:926:5: note: template<class _Tp> void std::fill(const std::_Deque_iterator<_Tp, _Tp&, _Tp*>&, const std::_Deque_iterator<_Tp, _Tp&, _Tp*>&, const _Tp&)
     fill(const _Deque_iterator<_Tp, _Tp&, _Tp*>& __first,
     ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/deque.tcc:926:5: note:   template argument deduction/substitution failed:
0_0_17737717_10599.cpp:42:22: note:   mismatched types 'const std::_Deque_iterator<_Tp, _Tp&, _Tp*>' and 'long long int [1010]'
         fill(xx,n+5,0);
                      ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/vector:65:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/queue:61,
                 from 0_0_17737717_10599.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_bvector.h:398:3: note: void std::fill(std::_Bit_iterator, std::_Bit_iterator, const bool&)
   fill(_Bit_iterator __first, _Bit_iterator __last, const bool& __x)
   ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_bvector.h:398:3: note:   no known conversion for argument 1 from 'long long int [1010]' to 'std::_Bit_iterator'
0_0_17737717_10599.cpp:43:22: error: no matching function for call to 'fill(long long int [1010], long long int, int)'
         fill(yy,n+5,0);
                      ^
0_0_17737717_10599.cpp:43:22: note: candidates are:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/deque:60:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/queue:60,
                 from 0_0_17737717_10599.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:732:5: note: template<class _ForwardIterator, class _Tp> void std::fill(_ForwardIterator, _ForwardIterator, const _Tp&)
     fill(_ForwardIterator __first, _ForwardIterator __last, const _Tp& __value)
     ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:732:5: note:   template argument deduction/substitution failed:
0_0_17737717_10599.cpp:43:22: note:   deduced conflicting types for parameter '_ForwardIterator' ('long long int*' and 'long long int')
         fill(yy,n+5,0);
                      ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/deque:66:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/queue:60,
                 from 0_0_17737717_10599.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/deque.tcc:926:5: note: template<class _Tp> void std::fill(const std::_Deque_iterator<_Tp, _Tp&, _Tp*>&, const std::_Deque_iterator<_Tp, _Tp&, _Tp*>&, const _Tp&)
     fill(const _Deque_iterator<_Tp, _Tp&, _Tp*>& __first,
     ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/deque.tcc:926:5: note:   template argument deduction/substitution failed:
0_0_17737717_10599.cpp:43:22: note:   mismatched types 'const std::_Deque_iterator<_Tp, _Tp&, _Tp*>' and 'long long int [1010]'
         fill(yy,n+5,0);
                      ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/vector:65:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/queue:61,
                 from 0_0_17737717_10599.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_bvector.h:398:3: note: void std::fill(std::_Bit_iterator, std::_Bit_iterator, const bool&)
   fill(_Bit_iterator __first, _Bit_iterator __last, const bool& __x)
   ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_bvector.h:398:3: note:   no known conversion for argument 1 from 'long long int [1010]' to 'std::_Bit_iterator'
0_0_17737717_10599.cpp:44:24: error: no matching function for call to 'fill(long long int [1010], long long int, int)'
         fill(chex,n+5,0);
                        ^
0_0_17737717_10599.cpp:44:24: note: candidates are:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/deque:60:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/queue:60,
                 from 0_0_17737717_10599.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:732:5: note: template<class _ForwardIterator, class _Tp> void std::fill(_ForwardIterator, _ForwardIterator, const _Tp&)
     fill(_ForwardIterator __first, _ForwardIterator __last, const _Tp& __value)
     ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:732:5: note:   template argument deduction/substitution failed:
0_0_17737717_10599.cpp:44:24: note:   deduced conflicting types for parameter '_ForwardIterator' ('long long int*' and 'long long int')
         fill(chex,n+5,0);
                        ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/deque:66:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/queue:60,
                 from 0_0_17737717_10599.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/deque.tcc:926:5: note: template<class _Tp> void std::fill(const std::_Deque_iterator<_Tp, _Tp&, _Tp*>&, const std::_Deque_iterator<_Tp, _Tp&, _Tp*>&, const _Tp&)
     fill(const _Deque_iterator<_Tp, _Tp&, _Tp*>& __first,
     ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/deque.tcc:926:5: note:   template argument deduction/substitution failed:
0_0_17737717_10599.cpp:44:24: note:   mismatched types 'const std::_Deque_iterator<_Tp, _Tp&, _Tp*>' and 'long long int [1010]'
         fill(chex,n+5,0);
                        ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/vector:65:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/queue:61,
                 from 0_0_17737717_10599.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_bvector.h:398:3: note: void std::fill(std::_Bit_iterator, std::_Bit_iterator, const bool&)
   fill(_Bit_iterator __first, _Bit_iterator __last, const bool& __x)
   ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_bvector.h:398:3: note:   no known conversion for argument 1 from 'long long int [1010]' to 'std::_Bit_iterator'
0_0_17737717_10599.cpp:45:24: error: no matching function for call to 'fill(long long int [1010], long long int, int)'
         fill(chey,n+5,0);
                        ^
0_0_17737717_10599.cpp:45:24: note: candidates are:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/deque:60:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/queue:60,
                 from 0_0_17737717_10599.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:732:5: note: template<class _ForwardIterator, class _Tp> void std::fill(_ForwardIterator, _ForwardIterator, const _Tp&)
     fill(_ForwardIterator __first, _ForwardIterator __last, const _Tp& __value)
     ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:732:5: note:   template argument deduction/substitution failed:
0_0_17737717_10599.cpp:45:24: note:   deduced conflicting types for parameter '_ForwardIterator' ('long long int*' and 'long long int')
         fill(chey,n+5,0);
                        ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/deque:66:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/queue:60,
                 from 0_0_17737717_10599.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/deque.tcc:926:5: note: template<class _Tp> void std::fill(const std::_Deque_iterator<_Tp, _Tp&, _Tp*>&, const std::_Deque_iterator<_Tp, _Tp&, _Tp*>&, const _Tp&)
     fill(const _Deque_iterator<_Tp, _Tp&, _Tp*>& __first,
     ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/deque.tcc:926:5: note:   template argument deduction/substitution failed:
0_0_17737717_10599.cpp:45:24: note:   mismatched types 'const std::_Deque_iterator<_Tp, _Tp&, _Tp*>' and 'long long int [1010]'
         fill(chey,n+5,0);
                        ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/vector:65:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/queue:61,
                 from 0_0_17737717_10599.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_bvector.h:398:3: note: void std::fill(std


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