biochips.cpp: In function 'int main()':
biochips.cpp:77:9: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
77 | if (i!=svi.size()-1) dp[i][j]=max(dp[i][j], dp[i+1][j]);
| ~^~~~~~~~~~~~~~
biochips.cpp:79:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
79 | if (r[svi[i]]<svi.size()) dp[i][j]=max(dp[i][j], dp[r[svi[i]]][j-1]+w[svi[i]]);
| ~~~~~~~~~^~~~~~~~~~~
biochips.cpp:85:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
85 | for (int i=0; i<svi.size(); i++) ress=max(ress, dp[i][m]);
| ~^~~~~~~~~~~
biochips.cpp:57:8: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
57 | scanf("%d",&pp[i]); // cin>>pp[i]
| ~~~~~^~~~~~~~~~~~~