#include "triangles.h"

std::vector<std::vector<int>> solve(int n) {
    std::vector<Triangle> left = { Triangle(0, 1, 2), Triangle(0, 2, 3) };
    std::vector<Triangle> right = { Triangle(0, 1, 3), Triangle(1, 2, 3) };
    int compare_result = compare(left, right);
    
	if (compare_result == -1) {
		std::vector<std::vector<int>> ans;
		ans.push_back({ 0, 1, 2 });
		ans.push_back({ 0, 2, 3 });
	} else {
		std::vector<std::vector<int>> ans;
		ans.push_back({ 0, 1, 3 });
		ans.push_back({ 1, 2, 3 });
	}

    
    return ans;
}
