input/code.cpp: In function 'int main()':
input/code.cpp:18:8: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (k >= erilaiset.size()) {
~~^~~~~~~~~~~~~~~~~~~
input/code.cpp:25:31: error: call of overloaded 'abs(long long unsigned int)' is ambiguous
e = abs(erilaiset.size() - k);
^
In file included from /usr/include/c++/7/bits/std_abs.h:38:0,
from /usr/include/c++/7/cmath:47,
from /usr/include/x86_64-linux-gnu/c++/7/bits/stdc++.h:41,
from input/code.cpp:1:
/usr/include/stdlib.h:837:12: note: candidate: int abs(int)
extern int abs (int __x) __THROW __attribute__ ((__const__)) __wur;
^~~
In file included from /usr/include/c++/7/cmath:47:0,
from /usr/include/x86_64-linux-gnu/c++/7/bits/stdc++.h:41,
from input/code.cpp:1:
/usr/include/c++/7/bits/std_abs.h:56:3: note: candidate: long int std::abs(long int)
abs(...