Language: C

#include <stdio.h>
#include <math.h>

struct typedef node{
  int x; 
  int y;
}Node;

int kock(int, int, int);

int p1, p2, d;

int main(){

  int n;

  scanf("%d", &n);

  kock(d, p1, p2);

  printf();   //???????????§??????????????????
  return 0;
}

int kock(int d, int p1, int p2){

  int s, t, u;

  if(n == 0){
    return n;
  }

  s.x = (2 * p1.x + 1 * p2.x) / 3;
  s.y = (2 * p1.y + 1 * p2.y) / 3;
  t.x = (1 * p1.x + 2 * p2.x) / 3;
  t.y = (1 * p1.y + 2 * p2.y) / 3;
  u.x = ((t.x - s.x) * (1 / 2)) - ((t.y - s.y) * (2 / sqrt(3))) + s.x;
  u.y = ((t.x - s.x) * (2 / sqrt(3)) + (t.y - s.y) * (1 / 2)) + s.y;

  kock(d-1, p1, s);
  printf("%d", s);
  kock(d-1, s, u);
  printf("%d", u);
  kock(d-1, u, t);
  printf("%d", t);
  kock(d-1, t, p2);
}

Compiler output:
main.c:4:8: error: expected '{' before 'typedef'
    4 | struct typedef node{
      |        ^~~~~~~
main.c:7:2: warning: data definition has no type or storage class
    7 | }Node;
      |  ^~~~
main.c:7:2: error: type defaults to 'int' in declaration of 'Node' [-Wimplicit-int]
main.c: In function 'main':
main.c:21:3: error: too few arguments to function 'printf'
   21 |   printf();   //???????????§??????????????????
      |   ^~~~~~
In file included from main.c:1:
/usr/include/stdio.h:363:12: note: declared here
  363 | extern int printf (const char *__restrict __format, ...);
      |            ^~~~~~
main.c: In function 'kock':
main.c:29:6: error: 'n' undeclared (first use in this function)
   29 |   if(n == 0){
      |      ^
main.c:29:6: note: each undeclared identifier is reported only once for each function it appears in
main.c:33:4: error: request for member 'x' in something not a structure or union
   33 |   s.x = (2 * p1.x + 1 * p2.x) / 3;
      |    ^
main.c:33:16: error: request for member 'x' in something not a structure or union
   33 |   s.x = (2 * p1.x + 1 * p2.x) / 3;
      |                ^
main.c:33:27: error: request for member 'x' in something not a structure or union
   33 |   s.x = (2 * p1.x + 1 * p2.x) / 3;
      |                           ^
main.c:34:4: error: request for member 'y' in something not a structure or union
   34 |   s.y = (2 * p1.y + 1 * p2.y) / 3;
      |    ^
main.c:34:16: error: request for member 'y' in something not a structure or union
   34 |   s.y = (2 * p1.y + 1 * p2.y) / 3;
      |                ^
main.c:34:27: error: request for member 'y' in something not a structure or union
   34 |   s.y = (2 * p1.y + 1 * p2.y) / 3;
      |                           ^
main.c:35:4: error: request for member 'x' in something not a structure or union
   35 |   t.x = (1 * p1.x + 2 * p2.x) / 3;
      |    ^
main.c:35:16: error: request for member 'x' in something not a structure or union
   35 |   t.x = (1 * p1.x + 2 * p2.x) / 3;
      |                ^
main.c:35:27: error: request for member 'x' in something not a structure or union
   35 |   t.x = (1 * p1.x + 2 * p2.x) / 3;
      |                           ^
main.c:36:4: error: request for member 'y' in something not a structure or union
   36 |   t.y = (1 * p1.y + 2 * p2.y) / 3;
      |    ^
main.c:36:16: error: request for member 'y' in something not a structure or union
   36 |   t.y = (1 * p1.y + 2 * p2.y) / 3;
      |                ^
main.c:36:27: error: request for member 'y' in something not a structure or union
   36 |   t.y = (1 * p1.y + 2 * p2.y) / 3;
      |                           ^
main.c:37:4: error: request for member 'x' in something not a structure or union
   37 |   u.x = ((t.x - s.x) * (1 / 2)) - ((t.y - s.y) * (2 / sqrt(3))) + s.x;
      |    ^
main.c:37:12: error: request for member 'x' in something not a structure or union
   37 |   u.x = ((t.x - s.x) * (1 / 2)) - ((t.y - s.y) * (2 / sqrt(3))) + s.x;
      |            ^
main.c:37:18: error: request for member 'x' in something not a structure or union
   37 |   u.x = ((t.x - s.x) * (1 / 2)) - ((t.y - s.y) * (2 / sqrt(3))) + s.x;
      |                  ^
main.c:37:38: error: request for member 'y' in something not a structure or union
   37 |   u.x = ((t.x - s.x) * (1 / 2)) - ((t.y - s.y) * (2 / sqrt(3))) + s.x;
      |                                      ^
main.c:37:44: error: request for member 'y' in something not a structure or union
   37 |   u.x = ((t.x - s.x) * (1 / 2)) - ((t.y - s.y) * (2 / sqrt(3))) + s.x;
      |                                            ^
main.c:37:68: error: request for member 'x' in something not a structure or union
   37 |   u.x = ((t.x - s.x) * (1 / 2)) - ((t.y - s.y) * (2 / sqrt(3))) + s.x;
      |                                                                    ^
main.c:38:4: error: request for member 'y' in something not a structure or union
   38 |   u.y = ((t.x - s.x) * (2 / sqrt(3)) + (t.y - s.y) * (1 / 2)) + s.y;
      |    ^
main.c:38:12: error: request for member 'x' in something not a structure or union
   38 |   u.y = ((t.x - s.x) * (2 / sqrt(3)) + (t.y - s.y) * (1 / 2)) + s.y;
      |            ^
main.c:38:18: error: request for member 'x' in something not a structure or union
   38 |   u.y = ((t.x - s.x) * (2 / sqrt(3)) + (t.y - s.y) * (1 / 2)) + s.y;
      |                  ^
main.c:38:42: error: request for member 'y' in something not a structure or union
   38 |   u.y = ((t.x - s.x) * (2 / sqrt(3)) + (t.y - s.y) * (1 / 2)) + s.y;
      |                                          ^
main.c:38:48: error: request for member 'y' in something not a structure or union
   38 |   u.y = ((t.x - s.x) * (2 / sqrt(3)) + (t.y - s.y) * (1 / 2)) + s.y;
      |                                                ^
main.c:38:66: error: request for member 'y' in something not a structure or union
   38 |   u.y = ((t.x - s.x) * (2 / sqrt(3)) + (t.y - s.y) * (1 / 2)) + s.y;
      |                                                                  ^