/*
 * */

#define DO_COUNT_GLOBAL 1 /* Não defina as extern globals : elas são
			     definidas locais aqui */

#include "common.h"
#include <stdio.h>

long count_comp;
long count_swap;

inline void swap(int *a, int *b)
{
	int tmp;

	tmp = *a;
	*a = *b;
	*b = tmp;
	
	COUNT_SWAP;
}

void print_array ( int A[], int n, char* nome)
{
	int i;
	printf("%s> ",nome);
	for(i = 0; i < n; i++){
		printf("%02d ",A[i]);
	}
	printf("\n");
}
