Language: C++

#include<stdio.h>
int main(){
    int n,k ;
 
    int a[200002];
    scanf("%d %d", &n, &k);

    for (int i=0; i<n; i++){
        scanf ("%d", a + i);
    }

    for (int i=k; i<n; i++){
        if (a[i] > a[i - k]){
            printf ("Yes\n");
        }
        else {
            printf ("No\n");
        }
    }
    return 0;
}
ini A
#include <stdio.h>

int main (){

    int x, y;

    scanf("%d %d", &x, &y);

    if(x >= 0 && y >= 0){
        printf("1");
    }if(x <= 0 && y >= 0){
        printf("2");
    }if(x >= 0 && y <= 0){
        printf("4");
    }if(x <= 0 && y <= 0){
        printf("3");
    }

    return 0;
}
ini B
#include<stdio.h>
 #include<string.h>
 int main()
 {
 int i,l;
 char s[101];
 scanf("%s",s);
 l=strlen(s);
 for(i=0; i<l; i++)
 {
  if(s[i]!='a' && s[i]!='A' && s[i]!='e' && s[i]!='E' && s[i]!='i' && s[i]!='I' && s[i]!='o' && s[i]!='O' && s[i]!='u' && s[i]!='U' && s[i]!='y' && s[i]!='Y')
  {
   if(s[i]>='A' && s[i]<='Z') s[i]+=32;
   printf(".%c",s[i]);
  }
 }
 printf("\n");
 
 return 0;
 }
ini c
#include <stdio.h>
 
int main(){
    long long int n, sum = 0;
    scanf("%lld", &n);
    for (int i=0 ; i<=n ; i++){
        if (i%3 == 0 || i%5 == 0 ){
            continue;
        }
        else {
            sum+=i;
        }
    }
    printf("%lld", sum);

    return 0;
}
ini e
#include<stdio.h>
int main(){
    int n, b[10];
    int a[3][3], ck[3][3];
 
    for(int i = 0 ; i < 3 ; i++ ) {
        scanf("%d %d %d",&a[i][0],&a[i][1],&a[i][2]);
    }

    scanf("%d",&n);

    for(int j = 0 ; j < n ; j++ ){
        scanf("%d",&b[j]);
 
        for(int  x = 0 ; x < 3 ; x++ ) {
            for(int z = 0 ; z < 3 ; z++ ){
                if( b[j] == a[x][z] ) {
                    ck[x][z] = 1;
                }
            }
        }
    }

    if( (ck[1][1] == 1 && ck[2][2] == 1 && ck[0][0] == 1  )
     (ck[2][0] == 1 && ck[1][1] == 1 && ck[0][2] == 1  )
     (ck[0][0] == 1 && ck[0][1] == 1 && ck[0][2] == 1  )
     (ck[1][0] == 1 && ck[1][1] == 1 && ck[1][2] == 1  )
     (ck[2][0] == 1 && ck[2][1] == 1 && ck[2][2] == 1  )
     (ck[0][0] == 1 && ck[1][0] == 1 && ck[2][0] == 1  )
     (ck[0][1] == 1 && ck[1][1] == 1 && ck[2][1] == 1  )
    || (ck[0][2] == 1 && ck[1][2] == 1 && ck[2][2] == 1  )
    ) {
        printf("Yes\n");
    } else {
        printf("No\n");
    }


Compiler output:
a.cc:22:1: error: 'ini' does not name a type; did you mean 'int'?
   22 | ini A
      | ^~~
      | int
a.cc:43:1: error: 'ini' does not name a type; did you mean 'int'?
   43 | ini B
      | ^~~
      | int
a.cc:46:6: error: redefinition of 'int main()'
   46 |  int main()
      |      ^~~~
a.cc:2:5: note: 'int main()' previously defined here
    2 | int main(){
      |     ^~~~
a.cc: In function 'int main()':
a.cc:51:4: error: 'strlen' was not declared in this scope
   51 |  l=strlen(s);
      |    ^~~~~~
a.cc:46:1: note: 'strlen' is defined in header '<cstring>'; this is probably fixable by adding '#include <cstring>'
   45 |  #include<string.h>
  +++ |+#include <cstring>
   46 |  int main()
a.cc: At global scope:
a.cc:64:1: error: 'ini' does not name a type; did you mean 'int'?
   64 | ini c
      | ^~~
      | int
a.cc:82:1: error: 'ini' does not name a type; did you mean 'int'?
   82 | ini e
      | ^~~
      | int