job.cpp: In function 'long long int scheduling_cost(std::vector<long long int>, std::vector<long long int>, std::vector<long long int>)':
job.cpp:34:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(s.size()==n-1){
~~~~~~~~^~~~~
job.cpp:20:9: warning: unused variable 'ans' [-Wunused-variable]
int ans=0;
^~~
job.cpp:56:9: warning: 'result' may be used uninitialized in this function [-Wmaybe-uninitialized]
return result;
^~~~~~
/tmp/ccrCJsOl.o: In function `main':
grader.cpp:(.text.startup+0x2bf): undefined reference to `scheduling_cost(std::vector<int, std::allocator<int> >, std::vector<int, std::allocator<int> >, std::vector<int, std::allocator<int> >)'
collect2: error: ld returned 1 exit status