<commit_before>#include<stdio.h>
#include<string.h>
int main(){
	int num1,num2,a;
	char c[4];
	printf("enter of the operations: add,sub,mul,div,mod\n");
	scanf("%d %s %d",&num1,c,&num2);
	if(strcmp(c,"add")==0){
		a=num1+num2;
		printf("answer: %d",a);
	}
	else if(strcmp(c,"sub")==0){
		a=num1-num2;
		printf("answer: %d",a);
	}
	else if(strcmp(c,"mul")==0){
		a=num1*num2;
		printf("answer: %d",a);
	}
	else if(strcmp(c,"div")==0){
		a=num1/num2;
		printf("answer: %d",a);
	}
	else if(strcmp(c,"mod")==0){
		a=num1%num2;
		printf("answer: %d",a);
	}
	else{
		printf("error");
		
	}

	return 0;
}<commit_msg>homework_3<commit_after>#include<stdio.h>
#include<string.h>
int main(){
	int num1,num2,a;
	char c[4];
	printf("enter of the operations: add,sub,mul,div,mod\n");
	scanf("%d %s %d",&num1,c,&num2);
	if(strcmp(c,"add")==0){
		a=num1+num2;
		printf("answer: %d",a);
	}
	else if(strcmp(c,"sub")==0){
		a=num1-num2;
		printf("answer: %d",a);
	}
	else if(strcmp(c,"mul")==0){
		a=num1*num2;
		printf("answer: %d",a);
	}
	else if(strcmp(c,"div")==0){
		if(num2==0){
			printf("error:");
		}
		else{
		a=num1/num2;
		printf("answer: %d",a);
	}
	}
	else if(strcmp(c,"mod")==0){
		if(num2==0){
			printf("error");
		}
		else{
		a=num1%num2;
		printf("answer: %d",a);
	}
	}
	else{
		printf("error");
		
	}

	return 0;
}
{'fraction_non_alphanumeric': 0.2682370820668693, 'fraction_numerical': 0.03571428571428571, 'mean_word_length': 4.8017621145374445, 'pattern_counts': {'":': 0, '<': 7, '<?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': '5204309', 'n_tokens_mistral': 689, 'n_tokens_neox': 655, 'n_words': 94}