Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <set>
- #include <vector>
- #include <sstream>
- #include <string>
- bool is_number(const std::string& s) {
- if (s[0] >= '0' && s[0] <= '9') {
- return true;
- }
- return false;
- }
- std::pair<std::string, std::set<std::string>> split(const std::string& line) {
- std::string task;
- int count;
- std::set<std::string> complete;
- size_t found = line.find(" ");
- task = line.substr(0, found - 1);
- size_t found2 = line.find(" ", found + 1);
- count = std::stoi(line.substr(found + 1, found2 - found));
- while ()
- }
- int main() {
- int count;
- std::string task;
- std::string line;
- std::vector<std::string> contests;
- std::vector<std::set<std::string>> complete;
- while (std::getline(std::cin, line)) {
- std::stringstream l(line);
- l >> line;
- task = l;
- for (std::string s; l >> s; ) {
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement