std::vector func(int num) { std::vector vec; int sum = 0; for(int i = 0; i < num; i++) { sum +=i; std::string s =