#include <stdio.h> #include <malloc.h> int* sort(int* p, int size) { int i, j; int temp = 0; for (i=0; i< size; i++) { for (j=0; j<size-i-1; j++) { if (p[j] > p[j+1]) { temp = p[j]; p[j] = p[j+1]; p[j+1] = temp; } } } return p; } int main() { int n; scanf("%d", &n); int* p ...