Language: C

         case 0:
            flg[0]=1;
            break;
         case 1:
            flg[1]=1;
            break;
         case 2:
            flg[2]=1;
            break;
         case 3:
            flg[3]=1;
            break;
         case 4:
            flg[4]=1;
            break;
         case 5:
            flg[5]=1;
            break;
         case 6:
            flg[6]=1;
            break;
         case 7:
            flg[7]=1;
            break;
         default:
            flg[8]++;
         }
      }

   for(i=0;i<8;i++)
      min+=flg[i];
   printf("%d %d\n",min,min+flg[8]);

   free(a);

   return 0;
}

Compiler output:
main.c:1:10: error: expected identifier or '(' before 'case'
    1 |          case 0:
      |          ^~~~
main.c:3:13: error: expected identifier or '(' before 'break'
    3 |             break;
      |             ^~~~~
main.c:4:10: error: expected identifier or '(' before 'case'
    4 |          case 1:
      |          ^~~~
main.c:6:13: error: expected identifier or '(' before 'break'
    6 |             break;
      |             ^~~~~
main.c:7:10: error: expected identifier or '(' before 'case'
    7 |          case 2:
      |          ^~~~
main.c:9:13: error: expected identifier or '(' before 'break'
    9 |             break;
      |             ^~~~~
main.c:10:10: error: expected identifier or '(' before 'case'
   10 |          case 3:
      |          ^~~~
main.c:12:13: error: expected identifier or '(' before 'break'
   12 |             break;
      |             ^~~~~
main.c:13:10: error: expected identifier or '(' before 'case'
   13 |          case 4:
      |          ^~~~
main.c:15:13: error: expected identifier or '(' before 'break'
   15 |             break;
      |             ^~~~~
main.c:16:10: error: expected identifier or '(' before 'case'
   16 |          case 5:
      |          ^~~~
main.c:18:13: error: expected identifier or '(' before 'break'
   18 |             break;
      |             ^~~~~
main.c:19:10: error: expected identifier or '(' before 'case'
   19 |          case 6:
      |          ^~~~
main.c:21:13: error: expected identifier or '(' before 'break'
   21 |             break;
      |             ^~~~~
main.c:22:10: error: expected identifier or '(' before 'case'
   22 |          case 7:
      |          ^~~~
main.c:24:13: error: expected identifier or '(' before 'break'
   24 |             break;
      |             ^~~~~
main.c:25:10: error: expected identifier or '(' before 'default'
   25 |          default:
      |          ^~~~~~~
main.c:27:10: error: expected identifier or '(' before '}' token
   27 |          }
      |          ^
main.c:28:7: error: expected identifier or '(' before '}' token
   28 |       }
      |       ^
main.c:30:4: error: expected identifier or '(' before 'for'
   30 |    for(i=0;i<8;i++)
      |    ^~~
main.c:30:13: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
   30 |    for(i=0;i<8;i++)
      |             ^
main.c:30:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '++' token
   30 |    for(i=0;i<8;i++)
      |                 ^~
main.c:32:11: error: expected declaration specifiers or '...' before string constant
   32 |    printf("%d %d\n",min,min+flg[8]);
      |           ^~~~~~~~~
main.c:32:21: error: unknown type name 'min'
   32 |    printf("%d %d\n",min,min+flg[8]);
      |                     ^~~
main.c:32:25: error: unknown type name 'min'
   32 |    printf("%d %d\n",min,min+flg[8]);
      |                         ^~~
main.c:34:4: warning: data definition has no type or storage class
   34 |    free(a);
      |    ^~~~
main.c:34:4: error: type defaults to 'int' in declaration of 'free' [-Wimplicit-int]
main.c:34:4: error: parameter names (without types) in function declaration [-Wdeclaration-missing-parameter-type]
main.c:34:4: warning: conflicting types for built-in function 'free'; expected 'void(void *)' [-Wbuiltin-declaration-mismatch]
main.c:1:1: note: 'free' is declared in header '<stdlib.h>'
  +++ |+#include <stdlib.h>
    1 |          case 0:
main.c:36:4: error: expected identifier or '(' before 'return'
   36 |    return 0;
      |    ^~~~~~
main.c:37:1: error: expected identifier or '(' before '}' token
   37 | }
      | ^