<commit_before><commit_msg>Task1.c <NAME> 10b nomer 29<commit_after>#include<stdio.h>
#include<string.h>

long hash(char *word);

	int main(){
		char word[200];
		
		fgets(word, 200, stdin);
		
		printf("%ld",hash(word));
  return 0;
	}
	
	long hash(char *word){
		long starter = 42;
		int index = 0, position = 1;
		for (;index < strlen(word) -1  ; index++, position++)starter = starter + (word[index] * position);
		return starter;
	}
{'fraction_non_alphanumeric': 0.1743119266055046, 'fraction_numerical': 0.0389908256880734, 'mean_word_length': 4.0813953488372094, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 6, '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': '602767', 'n_tokens_mistral': 195, 'n_tokens_neox': 157, 'n_words': 41}