#include <string>
#include <vector>
using namespace std;
 
vector<long long> solution(int x, int n) 
{
    vector<long long> answer;
    
    for(int i = 1; i <= n; i++)
    {
        long long num = x * i;
        answer.push_back(num);
    }
    
    return answer;
}
cs

+ Recent posts