kClistCore.c
unsigned long long printckdeg(unsigned long long *nck, sparse *g, char* ckdeg){
	unsigned i;
	unsigned long long tot=0;
	FILE* file=fopen(ckdeg,"w");
	for (i=0;i<g->n2;i++){
		fprintf(file,"%u %llu\n",g->map[i],nck[i]);
		tot+=nck[i];
	}
	fclose(file);
	return tot;
}
//printing the k-clique degree of each node
printing the k-clique degree of each node
printing the k - clique degree of each node
unsigned long long printckdeg(unsigned long long *nck, sparse *g, char* ckdeg){
	unsigned i;
	unsigned long long tot=0;
	FILE* file=fopen(ckdeg,"w");
	for (i=0;i<g->n2;i++){
		fprintf(file,"%u %llu\n",g->map[i],nck[i]);
		tot+=nck[i];
	}
	fclose(file);
	return tot;
}
unsigned long long printckdeg ( unsigned long long * nck , sparse * g , char * ckdeg ) { unsigned i ; unsigned long long tot = 0 ; FILE * file = fopen ( ckdeg , " " ) ; for ( i = 0 ; i < g -> n2 ; i ++ ) { fprintf ( file , " \n " , g -> map [ i ] , nck [ i ] ) ; tot += nck [ i ] ; } fclose ( file ) ; return tot ; }
printing the k-clique degree of each node
printing the k - clique degree of each node