prog.cpp: In function ‘void slidingwindow_naive(std::vector<int>&, std::vector<int>&, std::vector<int>&)’:
prog.cpp:6:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
prog.cpp:7:22: error: ‘maxval’ was not declared in this scope
prog.cpp:10:19: error: ‘K’ was not declared in this scope