#include <stdio.h> #include<malloc.h> int main() { int n; scanf("%d", &n); int* arr = (int*)malloc(n * sizeof(int)); for (int i = 0; i < n; i++) { scanf("%d", &arr[i]); } for (int i = 0; i < n; i++) { for (int j = 0; j < n - i - ...