What is an triplet array

My issue

My code

#include <iostream>
using namespace std;

int main() {
	// your code goes here
	return 0;

Problem Link: TRIPLETMIN Problem - CodeChef

Triplet array means u have to select three numbers out of the array which will lead to nc3 combination and for each combination u have to track their smallest number.