Language: C

#include <stdio.h>                                                                                                                                                                                                                        int main(void) {                                                                                                         int antenna[5];                                                                                                      int k;                                                                                                               int c = 0;                                                                                                                                                                                                                                for (int i = 0; i < 5; i++)                                                                                              scanf("%d", &antenna[i]);                                                                                        scanf("%d", &k);                                                                                                                                                                                                                          for (int i = 0; i < 4; i++) {                                                                                            for (int j = i+1; j < 5; j++) {                                                                                          if((antenna[i]-antenna[j]<=k && antenna[i]-antenna[j]>0) || (antenna[j]-antenna[i]<=k && antenna[i]-antenna[j]<0)){                                                                                                                           c++;                                                                                                             }                                                                                                                }                                                                                                                }                                                                                                                                                                                                                                         if(c==10) {                                                                                                              printf("Yay!\n");                                                                                                }                                                                                                                    else {                                                                                                                   printf(":(\n");                                                                                                  }                                                                                                                    return 0;                                                                                                        }

Compiler output:
main.c:1:235: warning: extra tokens at end of #include directive
    1 | #include <stdio.h>                                                                                                                                                                                                                        int main(void) {                                                                                                         int antenna[5];                                                                                                      int k;                                                                                                               int c = 0;                                                                                                                                                                                                                                for (int i = 0; i < 5; i++)                                                                                              scanf("%d", &antenna[i]);                                                                                        scanf("%d", &k);                                                                                                                                                                                                                          for (int i = 0; i < 4; i++) {                                                                                            for (int j = i+1; j < 5; j++) {                                                                                          if((antenna[i]-antenna[j]<=k && antenna[i]-antenna[j]>0) || (antenna[j]-antenna[i]<=k && antenna[i]-antenna[j]<0)){                                                                                                                           c++;                                                                                                             }                                                                                                                }                                                                                                                }                                                                                                                                                                                                                                         if(c==10) {                                                                                                              printf("Yay!\n");                                                                                                }                                                                                                                    else {                                                                                                                   printf(":(\n");                                                                                                  }                                                                                                                    return 0;                                                                                                        }
      |                                                                                                                                                                                                                                           ^~~
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/Scrt1.o: in function `_start':
(.text+0x17): undefined reference to `main'
collect2: error: ld returned 1 exit status