You are viewing a single comment's thread. Return to all comments →
using namespace std;
int main() {
string s; cin >> s; for (char c : s) { if (c == ',') { cout << '\n'; } else { cout << c; } } return 0;
}
Seems like cookies are disabled on this browser, please enable them to open this website
StringStream
You are viewing a single comment's thread. Return to all comments →
include
include
using namespace std;
int main() {
}