Electronics Shop | Hackerrank Solution in C++
Electronics Shop | Hackerrank Solution It is an hackerrank problem you can find it by clicking her e. Below given solution is prepared by one of the coder of our. Soultion in C++ #include< iostream > using namespace std; int main(){ int s,n,m,a,cost = -1; int keyboard[ 1001 ],usb[ 1001 ]; cin >> s >> n >> m; for ( int i = 0 ; i < n; i++)cin >> keyboard[i]; for ( int i...