zalmoxis.cpp: In function 'int main()':
zalmoxis.cpp:51:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<sequence.size();i++)
~^~~~~~~~~~~~~~~~
In file included from /usr/include/c++/7/cassert:44:0,
from /usr/include/x86_64-linux-gnu/c++/7/bits/stdc++.h:33,
from zalmoxis.cpp:1:
zalmoxis.cpp:62:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
assert(output.size()==n+k);
~~~~~~~~~~~~~^~~~~
zalmoxis.cpp:42:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%i%i",&n,&k);
~~~~~^~~~~~~~~~~~~~
zalmoxis.cpp:43:31: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
for(int i=1;i<=n;i++)scanf("%i",&inp[i]);
~~~~~^~~~~~~~~~~~~~