We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
int main() {
/* Enter your code here. Read input from STDIN. Print output to STDOUT */
int n,q;
cin>>n>>q;
vector words;
vector headers;
for(int i=0;i<=n;i++){
string temp;
getline(cin,temp);
Attribute Parser
You are viewing a single comment's thread. Return to all comments →
include
include
include
include
include
include
include
include
using namespace std;
std::vector split(const std::string &s, char delim) { std::vector tokens; std::stringstream ss(s); std::string token; while (std::getline(ss, token, delim)) { tokens.push_back(token); } return tokens; }
int main() { /* Enter your code here. Read input from STDIN. Print output to STDOUT */ int n,q; cin>>n>>q; vector words; vector headers; for(int i=0;i<=n;i++){ string temp; getline(cin,temp);
}