Why doesn't the getline function takes input here ?
#include <iostream>
#include <string>
using namespace std;
int main() {
unsigned n {}, m {};
cin >> n >> m;
string set;
getline(cin, set);
cout<<set<<endl;
return 0;
}
INPUT PROVIDED:
1 5
Hello World
OUPUT DISPLAYED: