Bruno.cpp: In function 'void Bruno(int, int, vi)':
Bruno.cpp:55:8: warning: unused variable 'r' [-Wunused-variable]
55 | int r=i;
| ^
Bruno.cpp:64:13: error: no matching function for call to 'remove(int&)'
64 | remove(j);
| ^
In file included from /usr/include/c++/10/cstdio:42,
from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:46,
from Bruno.cpp:2:
/usr/include/stdio.h:146:12: note: candidate: 'int remove(const char*)' (near match)
146 | extern int remove (const char *__filename) __THROW;
| ^~~~~~
/usr/include/stdio.h:146:12: note: conversion of argument 1 would be ill-formed:
Bruno.cpp:64:12: error: invalid conversion from 'int' to 'const char*' [-fpermissive]
64 | remove(j);
| ^
| |
| int
In file included from /usr/include/c++/10/algorithm:74,
from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:65,
from Bruno.cpp:2:
/usr/include/c++/10/pstl/glue_algorithm_defs.h:224:1: note: candidate: 'template<class _ExecutionPolicy, class _ForwardIterator, class _Tp> __pstl::__internal::__enable_if_execution_policy<_ExecutionPolicy, _ForwardIterator> std::remove(_ExecutionPolicy&&, _ForwardIterator, _ForwardIterator, const _Tp&)'
224 | remove(_ExecutionPolicy&& __exec, _ForwardIterator __first, _ForwardIterator __last, const _Tp& __value);
| ^~~~~~
/usr/include/c++/10/pstl/glue_algorithm_defs.h:224:1: note: template argument deduction/substitution failed:
Bruno.cpp:64:13: note: candidate expects 4 arguments, 1 provided
64 | remove(j);
| ^
In file included from /usr/include/c++/10/algorithm:62,
from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:65,
from Bruno.cpp:2:
/usr/include/c++/10/bits/stl_algo.h:870:5: note: candidate: 'template<class _FIter, class _Tp> _FIter std::remove(_FIter, _FIter, const _Tp&)'
870 | remove(_ForwardIterator __first, _ForwardIterator __last,
| ^~~~~~
/usr/include/c++/10/bits/stl_algo.h:870:5: note: template argument deduction/substitution failed:
Bruno.cpp:64:13: note: candidate expects 3 arguments, 1 provided
64 | remove(j);
| ^