<commit_before>#include <stdio.h>
#include <string.h>
#include <time.h>

char a[10];
char b[10];
int checked(int n)
{
    int i, j, l;
    char t;
    sprintf(a, "%d", n);
    //printf("a: %s, len:%d\n", a, strlen(a));
    l = strlen(a);
    strcpy(b, a);
    for (i = 0, j=l-1;i<j ; i++,j--) {
        t = a[i],a[i] = a[j],a[j] = t;
    }
    b[l] = '\0';
    //printf("b: %s\n", b);
    return !strcmp(a,b);
}
int main(int argc, char* argv[])<commit_msg>better way for 1074<commit_after>#include <stdio.h>
#include <string.h>
#include <time.h>

char a[10];
int checked(int n)
{
    int i, j, l;
    sprintf(a, "%d", n);
    //printf("a: %s, len:%d\n", a, strlen(a));
    l = strlen(a);
    for (i = 0, j=l-1;i<j ; i++,j--) {
        if (a[i]!=a[j]) {
            return 0;
        }
    }
    return 1;
}
int main(int argc, char* argv[])
{'fraction_non_alphanumeric': 0.24910607866507747, 'fraction_numerical': 0.02026221692491061, 'mean_word_length': 2.4008097165991904, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 9, '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': '5057041', 'n_tokens_mistral': 397, 'n_tokens_neox': 386, 'n_words': 95}