#include <iostream>

int main(int argc, char **argv)
{
	int number = 2520;

	// naive solution
	while (true) {
		for (int i = 2; i <= 20; i++) {
			if (number % i != 0) {
				break;
			}
			else if (i == 20 && number % i == 0) {
				std::cout << number << std::endl;
				return 0;
			}
		}
		number++;
	}

	return 0;
}

Add C++ solution to problem 005
Add C++ solution to problem 005

Signed-off-by: Rafael Campos Nunes <42f0a9af43f2538fd3153aecc7c3ff958e89d724@engineer.com>
