#include using namespace std; int min = 1000; int path[4]; int main() { int n; cin >> n; int arr[5]; for (int i = 0; i > arr[i]; } int used[5] = { 0 }; int answer[3] = { 9,9,9 }; for (int i = 0;i arr[i]) { used[i] = 1; answer[0] = arr[i]; } } } } for (int k = 1; k < 3;k++) { int temp; for (int i = 0;i < n;i++) { if..