Language: C

int getChar(char ch){
  if ( ch == 'A') return 1;
  else if ( ch == 'C') return 2;
  else if ( ch == 'G') return 3;
  else if ( ch == 'T') return 4;
}

/* convert a string into an integer value */
long long getKey(char str[]){
  long long sum = 0, p = 1, i;
  for ( i = 0; i < strlen(str); i++ ){
    sum += p*(getChar(str[i]));
    p *= 5;
  }
  return sum;
}

int h1(int key){ return /* your task */; }
int h2(int key){ return /* your task */; }

int find(char str[]){

    /* your task */

}

int insert(char str[]){

    /* your task */

}

int main(){
    int i, n, h;
    char str[L], com[9];
    for ( i = 0; i < M; i++ ) H[i][0] = '\0';
    
    scanf("%d", &n);
    
    for ( i = 0; i < n; i++ ){
	scanf("%s %s", com, str);
	
	if ( com[0] == 'i' ){
	    insert(str);
	} else {
	    if (find(str)){
		printf("yes\n");
	    } else {
		printf("no\n");
	    }
	}
    }

    return 0;
}

Compiler output:
main.c: In function 'getKey':
main.c:11:20: error: implicit declaration of function 'strlen' [-Wimplicit-function-declaration]
   11 |   for ( i = 0; i < strlen(str); i++ ){
      |                    ^~~~~~
main.c:1:1: note: include '<string.h>' or provide a declaration of 'strlen'
  +++ |+#include <string.h>
    1 | int getChar(char ch){
main.c:11:20: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch]
   11 |   for ( i = 0; i < strlen(str); i++ ){
      |                    ^~~~~~
main.c:11:20: note: include '<string.h>' or provide a declaration of 'strlen'
main.c: In function 'h1':
main.c:18:18: error: 'return' with no value, in function returning non-void [-Wreturn-mismatch]
   18 | int h1(int key){ return /* your task */; }
      |                  ^~~~~~
main.c:18:5: note: declared here
   18 | int h1(int key){ return /* your task */; }
      |     ^~
main.c: In function 'h2':
main.c:19:18: error: 'return' with no value, in function returning non-void [-Wreturn-mismatch]
   19 | int h2(int key){ return /* your task */; }
      |                  ^~~~~~
main.c:19:5: note: declared here
   19 | int h2(int key){ return /* your task */; }
      |     ^~
main.c: In function 'main':
main.c:35:14: error: 'L' undeclared (first use in this function)
   35 |     char str[L], com[9];
      |              ^
main.c:35:14: note: each undeclared identifier is reported only once for each function it appears in
main.c:36:22: error: 'M' undeclared (first use in this function)
   36 |     for ( i = 0; i < M; i++ ) H[i][0] = '\0';
      |                      ^
main.c:36:31: error: 'H' undeclared (first use in this function)
   36 |     for ( i = 0; i < M; i++ ) H[i][0] = '\0';
      |                               ^
main.c:38:5: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
   38 |     scanf("%d", &n);
      |     ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | int getChar(char ch){
main.c:38:5: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
   38 |     scanf("%d", &n);
      |     ^~~~~
main.c:38:5: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:47:17: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
   47 |                 printf("yes\n");
      |                 ^~~~~~
main.c:47:17: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:47:17: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:47:17: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:49:17: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
   49 |                 printf("no\n");
      |                 ^~~~~~
main.c:49:17: note: include '<stdio.h>' or provide a declaration of 'printf'