Language: C++

[7/15, 4:12 AM] 3bkrenoooo: #include<bits/stdc++.h>
using namespace std;
int main()
{
	int x, n, y;
	scanf("%d", &n);
	if(n>=1 && n<=100){
			x=800*n;
		if(n>15){
			y=((n/15)*200);
			printf("%d", x-y);
		}
		else{
			printf("%d", x);
		}
	}
	else{
		printf("Error");
	}
	return 0;
}
[7/15, 7:28 AM] 3bkrenoooo: #include<bits/stdc++.h>
using namespace std;
int main()
{
	int n[3];
	for(int j=0;j<3;j++)
	{
		scanf("%d", &n[j]);
	}
	if(n[0]>=1 && n[0]<=9){
		if(n[2]>=0 && n[2]<=9)
		{
			if(n[0]!=n[2]){
				printf("No");
			}
			else{
				printf("Yas");
			}	
		}
		else
		{
		printf("Error");
		}
	}
	else
	{
		printf("Error");
	}
	return 0;
}

Compiler output:
a.cc:1:29: error: stray '#' in program
    1 | [7/15, 4:12 AM] 3bkrenoooo: #include<bits/stdc++.h>
      |                             ^
a.cc:22:29: error: stray '#' in program
   22 | [7/15, 7:28 AM] 3bkrenoooo: #include<bits/stdc++.h>
      |                             ^
a.cc:1:1: error: expected unqualified-id before '[' token
    1 | [7/15, 4:12 AM] 3bkrenoooo: #include<bits/stdc++.h>
      | ^
a.cc: In function 'int main()':
a.cc:6:9: error: 'scanf' was not declared in this scope
    6 |         scanf("%d", &n);
      |         ^~~~~
a.cc:11:25: error: 'printf' was not declared in this scope
   11 |                         printf("%d", x-y);
      |                         ^~~~~~
a.cc:1:1: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
  +++ |+#include <cstdio>
    1 | [7/15, 4:12 AM] 3bkrenoooo: #include<bits/stdc++.h>
a.cc:14:25: error: 'printf' was not declared in this scope
   14 |                         printf("%d", x);
      |                         ^~~~~~
a.cc:14:25: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
a.cc:18:17: error: 'printf' was not declared in this scope
   18 |                 printf("Error");
      |                 ^~~~~~
a.cc:18:17: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
a.cc: At global scope:
a.cc:22:1: error: expected unqualified-id before '[' token
   22 | [7/15, 7:28 AM] 3bkrenoooo: #include<bits/stdc++.h>
      | ^
a.cc:24:5: error: redefinition of 'int main()'
   24 | int main()
      |     ^~~~
a.cc:3:5: note: 'int main()' previously defined here
    3 | int main()
      |     ^~~~
a.cc: In function 'int main()':
a.cc:29:17: error: 'scanf' was not declared in this scope
   29 |                 scanf("%d", &n[j]);
      |                 ^~~~~
a.cc:35:33: error: 'printf' was not declared in this scope
   35 |                                 printf("No");
      |                                 ^~~~~~
a.cc:35:33: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
a.cc:38:33: error: 'printf' was not declared in this scope
   38 |                                 printf("Yas");
      |                                 ^~~~~~
a.cc:38:33: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
a.cc:43:17: error: 'printf' was not declared in this scope
   43 |                 printf("Error");
      |                 ^~~~~~
a.cc:43:17: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
a.cc:48:17: error: 'printf' was not declared in this scope
   48 |                 printf("Error");
      |                 ^~~~~~
a.cc:48:17: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'