Language: C

#include <stdio.h>
#include <string.h>
int main(){

char A[201]={};
char F[201]={};


int k,i,h,j,l;



while(1){
    scanf("%s",&A);

    if(strcmp(A[0],"_")==0){break;}

    scanf("%d",&k);

    for(i=0;i<k;i++){
        scanf("%d",&h);
    char b[strlen(A)-h];
    char ue[h];




    for(l=0;l<h;l++){
        ue[l]=A[l];}


    for(j=0;j<strlen(A)-h;j++){
        b[j]=A[j+h];}
  strcat(b,ue);
  strcpy(F,b);
  }
       print(f"%s\n",F);}


return 0;
}

    char b[strlen(A)-h];
    char ue[h];




    for(l=0;l<h;l++){
        ue[l]=A[l];}


    for(j=0;j<strlen(A)-h;j++){
        b[j]=A[j+h];}
  strcat(b,ue);
  strcpy(F,b);
  }
       print(f"%s\n",F);}


return 0;
}

Compiler output:
main.c: In function 'main':
main.c:16:16: error: passing argument 1 of 'strcmp' makes pointer from integer without a cast [-Wint-conversion]
   16 |     if(strcmp(A[0],"_")==0){break;}
      |               ~^~~
      |                |
      |                char
In file included from main.c:2:
/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'char'
  156 | extern int strcmp (const char *__s1, const char *__s2)
      |                    ~~~~~~~~~~~~^~~~
main.c:37:8: error: implicit declaration of function 'print'; did you mean 'printf'? [-Wimplicit-function-declaration]
   37 |        print(f"%s\n",F);}
      |        ^~~~~
      |        printf
main.c:37:14: error: 'f' undeclared (first use in this function)
   37 |        print(f"%s\n",F);}
      |              ^
main.c:37:14: note: each undeclared identifier is reported only once for each function it appears in
main.c:37:15: error: expected ')' before string constant
   37 |        print(f"%s\n",F);}
      |             ~ ^~~~~~
      |               )
main.c: At top level:
main.c:43:19: error: 'A' undeclared here (not in a function)
   43 |     char b[strlen(A)-h];
      |                   ^
main.c:43:22: error: 'h' undeclared here (not in a function)
   43 |     char b[strlen(A)-h];
      |                      ^
main.c:49:5: error: expected identifier or '(' before 'for'
   49 |     for(l=0;l<h;l++){
      |     ^~~
main.c:49:14: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
   49 |     for(l=0;l<h;l++){
      |              ^
main.c:49:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before '++' token
   49 |     for(l=0;l<h;l++){
      |                  ^~
main.c:53:5: error: expected identifier or '(' before 'for'
   53 |     for(j=0;j<strlen(A)-h;j++){
      |     ^~~
main.c:53:14: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
   53 |     for(j=0;j<strlen(A)-h;j++){
      |              ^
main.c:53:28: error: expected '=', ',', ';', 'asm' or '__attribute__' before '++' token
   53 |     for(j=0;j<strlen(A)-h;j++){
      |                            ^~
main.c:55:3: warning: data definition has no type or storage class
   55 |   strcat(b,ue);
      |   ^~~~~~
main.c:55:3: error: type defaults to 'int' in declaration of 'strcat' [-Wimplicit-int]
main.c:55:3: error: parameter names (without types) in function declaration [-Wdeclaration-missing-parameter-type]
main.c:55:3: error: conflicting types for 'strcat'; have 'int()'
/usr/include/string.h:149:14: note: previous declaration of 'strcat' with type 'char *(char *, const char *)'
  149 | extern char *strcat (char *__restrict __dest, const char *__restrict __src)
      |              ^~~~~~
main.c:56:3: warning: data definition has no type or storage class
   56 |   strcpy(F,b);
      |   ^~~~~~
main.c:56:3: error: type defaults to 'int' in declaration of 'strcpy' [-Wimplicit-int]
main.c:56:3: error: parameter names (without types) in function declaration [-Wdeclaration-missing-parameter-type]
main.c:56:3: error: conflicting types for 'strcpy'; have 'int()'
/usr/include/string.h:141:14: note: previous declaration of 'strcpy' with type 'char *(char *, const char *)'
  141 | extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
      |              ^~~~~~
main.c:57:3: error: expected identifier or '(' before '}' token
   57 |   }
      |   ^
main.c:58:15: error: expected ')' before string constant
   58 |        print(f"%s\n",F);}
      |               ^~~~~~
      |               )
main.c:58:25: error: expected identifier or '(' before '}' token
   58 |        print(f"%s\n",F);}
      |                         ^
main.c:61:1: error: expected identifier or '(' before 'return'
   61 | return 0;
      | ^~~~~~
main.c:62:1: error: expected identifier or '(' before '}' token
   62 | }
      | ^