| Problem | shamelessad2 | 
|---|---|
| User | Sheb | 
| Submission Time | 2025-04-28 17:59:51 | 
| Score | 0 | 
| Max Time | N/A | 
| Max Memory | N/A | 
Owl Get a Life
 shamelessad2.cpp: In function ‘int main()’:
shamelessad2.cpp:13:28: error: no matching function for call to ‘accumulate(long long int [n], long long int*)’
   13 |         accumulate(A, A + n) / n < 8
      |                            ^
In file included from /usr/include/c++/9/numeric:62,
                 from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:84,
                 from shamelessad2.cpp:1:
/usr/include/c++/9/bits/stl_numeric.h:132:5: note: candidate: ‘template<class _InputIterator, class _Tp> _Tp std::accumulate(_InputIterator, _InputIterator, _Tp)’
  132 |     accumulate(_InputIterator __first, _InputIterator __last, _Tp __init)
      |     ^~~~~~~~~~
/usr/include/c++/9/bits/stl_numeric.h:132:5: note:   template argument deduction/substitution failed:
shamelessad2.cpp:13:28: note:   candidate expects 3 arguments, 2 provided
   13 |         accumulate(A, A + n) / n < 8
      |                            ^
In file inc