<commit_before>#include <stdio.h>
int main()
{
	char cards[100];
	int i=0,j, temp, sort;
	printf("Enter 13 cards in a random order, from 2 to A:(10=T) \n");
	while(i<13){
		scanf("%c",&cards[i]);
		scanf("%c",&temp);
        if(cards[i] >= '2' && cards[i] <= '9') i++;
        if(cards[i] == 'T' || cards[i] == 'J' || cards[i] == 'Q' || cards[i] == 'K' || cards[i] == 'A') i++;
}
	for(i = 0 ; i < 13 ; i++){
		switch(cards[i]){                   // Converting from letters to numeral values for sorting
		    case 'T': cards[i]=100; break;   // Because "10" screws up the sorting
			case 'J': cards[i]=101; break;
			case 'Q': cards[i]=102; break;
			case 'K': cards[i]=103; break;
			case 'A': cards[i]=104; break;
		}
	}
	for(i = 0 ; i < 13 ; i++){              // Sorting
		for(j = 0; j < 13 ; j++){
			if(cards[i]<cards[j]){
                sort = cards[j];
				cards[j] = cards[i];
				cards[i] = sort;
			}
		}
	}
	for(i = 0 ; i < 13 ; i++){
		switch(cards[i]){                //Converting back into letters for the print
		    case 100: cards[i] ='T'; break;
			case 101: cards[i]='J'; break;
			case 102: cards[i]='Q'; break;
			case 103: cards[i]='K'; break;
			case 104: cards[i]='A'; break;
		}
		printf("%c",cards[i]);
	}
}<commit_msg>Update Cards.c<commit_after>#include <stdio.h>
int main()
{
	char cards[100];
	int i=0,j, temp, sort;
	printf("Enter 13 cards in a random order, from 2 to A:(10=T) \n");
	while(i<13){
		scanf("%c",&cards[i]);
		scanf("%c",&temp);
        if(cards[i] >= '2' && cards[i] <= '9') i++;
        if(cards[i] == 'T' || cards[i] == 'J' || cards[i] == 'Q' || cards[i] == 'K' || cards[i] == 'A') i++;
	}
	for(i = 0 ; i < 13 ; i++){
		switch(cards[i]){                   // Converting from letters to numeral values for sorting
		    case 'T': cards[i]=100; break;   // Because "10" screws up the sorting
			case 'J': cards[i]=101; break;
			case 'Q': cards[i]=102; break;
			case 'K': cards[i]=103; break;
			case 'A': cards[i]=104; break;
		}
	}
	for(i = 0 ; i < 13 ; i++){              // Sorting
		for(j = 0; j < 13 ; j++){
			if(cards[i]<cards[j]){
                sort = cards[j];
				cards[j] = cards[i];
				cards[i] = sort;
			}
		}
	}
	for(i = 0 ; i < 13 ; i++){
		switch(cards[i]){                //Converting back into letters for the print
		    case 100: cards[i] ='T'; break;
			case 101: cards[i]='J'; break;
			case 102: cards[i]='Q'; break;
			case 103: cards[i]='K'; break;
			case 104: cards[i]='A'; break;
		}
		printf("%c",cards[i]);
	}
}
{'fraction_non_alphanumeric': 0.23197115384615385, 'fraction_numerical': 0.04567307692307692, 'mean_word_length': 2.6083815028901736, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1649053', 'n_tokens_mistral': 1184, 'n_tokens_neox': 993, 'n_words': 269}