stove.cpp: In function 'int main()':
stove.cpp:19:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
19 | for(int i=0;i<a.size() && used>k;i++,used--)
| ~^~~~~~~~~
stove.cpp:7:15: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
7 | ll n,k; scanf("%lld %lld",&n,&k);
| ~~~~~^~~~~~~~~~~~~~~~~~~
stove.cpp:9:28: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
9 | for(int i=0;i<n;i++) scanf("%lld",&v[i]);
| ~~~~~^~~~~~~~~~~~~~