| Problem | squidzofrenzic |
|---|---|
| User | sussygoose |
| Submission Time | 2024-11-28 22:45:25 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
squidzofrenzic.cpp:3:33: error: redefinition of ‘int m’
3 | int m, n, upper = 0, lower = 0, m, count, total;
| ^
squidzofrenzic.cpp:3:5: note: ‘int m’ previously declared here
3 | int m, n, upper = 0, lower = 0, m, count, total;
| ^
squidzofrenzic.cpp: In function ‘int main()’:
squidzofrenzic.cpp:14:3: error: reference to ‘count’ is ambiguous
14 | count = 1;
| ^~~~~
In file included from /usr/include/c++/9/algorithm:71,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:65,
from squidzofrenzic.cpp:1:
/usr/include/c++/9/pstl/glue_algorithm_defs.h:101:1: note: candidates are: ‘template<class _ExecutionPolicy, class _ForwardIterator, class _Tp> __pstl::__internal::__enable_if_execution_policy<_ExecutionPolicy, typename std::iterator_traits<_II>::difference_type> std::count(_ExecutionPolicy&&, _ForwardIterator, _ForwardIterator,