criyle/codenet-compile-errors huggingface dataset:
Language: C++

// G++ MACRO.CPP -STD=C++17
#include <bits/stdc++.h>
typedef long long ll;
const int INF = 1e9;
const int MOD = 1e9+7;
const ll LINF = 1e18;
using namespace std;
 
#define dump(x)  cout << #x << " = " << (x) << endl;
#define YES(n) cout << ((n) ? "YES" : "NO"  ) << endl
#define Yes(n) cout << ((n) ? "Yes" : "No"  ) << endl
#define POSSIBLE(n) cout << ((n) ? "POSSIBLE" : "IMPOSSIBLE"  ) << endl
#define Possible(n) cout << ((n) ? "Possible" : "Impossible"  ) << endl
#define possible(n) cout << ((n) ? "possible" : "impossible"  ) << endl
 
#define SANKOU(n,a,b) cout << ((n) ? (#a) : (#b) ) << endl
 
#define FOR(i,a,b) for(int i=(a);i<(b);++i)
#define REP(i,n) for(int i=0;i<(n);++i)
#define REPR(i,n) for(int i=n;i>=0;i--)
 
#define FOREACH(x,a) for(auto& (x) : (a) )
 
#define WFA(d,v) REP(k,v)REP(i,v)REP(j,v)d[i][j]=min(d[i][j],d[i][k]+d[k][j])
 
#define SCOUT(x) cout<<(x)<<" "
#define ENDL cout<<endl
 
#define VECCIN(x) for(auto&youso_: (x) )cin>>youso_
#define VECIN2(x,y) REP(i,x.size())cin>>x[i]>>y[i]
#define VECCOUT(x) if(1){for(auto tt=x.begin();tt!=x.end();tt++){if(tt!=x.begin())cout<<" ";cout<<(*tt);}cout<<endl;}
 
#define ALL(obj) (obj).begin(),(obj).end()
 
#define EXIST(n,x) (find(ALL(n),x)!=n.end())
#define UNIQUE(obj) sort(ALL( obj )); obj.erase(unique(ALL(obj)),obj.end())
#define EN(x) if(1){cout<<#x<<endl;return 0;}
#define COUT(x) cout<<(x)<<endl
void CINT(){}
template <class Head,class... Tail>
void CINT(Head&& head,Tail&&... tail){
    cin>>head;
    CINT(move(tail)...);
}
#define CIN(...) int __VA_ARGS__;CINT(__VA_ARGS__)
#define LCIN(...) ll __VA_ARGS__;CINT(__VA_ARGS__)
#define SCIN(...) string __VA_ARGS__;CINT(__VA_ARGS__)
 
template <class T = ll>
T IN(){T x;cin>>x;return (x);}
 
template <class Head>
void VT(Head head){}
template <class Head,class Seco,class... Tail>
void VT(Head&& head,Seco&& seco,Tail&&... tail){
    seco.resize(head);
    VT(head,move(tail)...);
}
void VT2(){}
template <class Head,class... Tail>
void VT2(Head&& head,Tail&&... tail){
  VECCIN(head);
  VT2(move(tail)...);
}
 
template <class Head>
void VT3(Head&& head){}
template <class Head,class Seco,class... Tail>
void VT3(Head&& head,Seco&& seco,Tail&&... tail){
  seco[head]=IN();
  VT3(head,move(tail)...);
}
 
#define VC1(n,...) V __VA_ARGS__;VT(n,__VA_ARGS__);VT2(__VA_ARGS__); //aaabbbccc
#define VC2(n,...) V __VA_ARGS__;VT(n,__VA_ARGS__);REP(i,n)VT3(i,__VA_ARGS__); //abcabcabc
 
// #include <boost/multiprecision/cpp_int.hpp>
// using namespace boost::multiprecision; // cpp_int
 
#define P pair<ll,ll>
#define V vector<ll>
#define M map<ll,ll>
#define S set<ll>
 
#define pb(a) push_back(a)
#define mp make_pair
 
int main(){

  CIN(n);
  COUT(800*n + (n/15) * 200)

  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:93:3: error: expected ';' before 'return'
   93 |   return 0;
      |   ^~~~~~
Language: C++

#include<bits/stdc++.h>
using namespace std;

int main() {
  int N;
  cin >> N;
  int X;
  int y;
  x = 800*N;
  y = (N/15)*200;
  cout << x-y << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:3: error: 'x' was not declared in this scope
    9 |   x = 800*N;
      |   ^
Language: C++

#include<bits/stdc++.h>
using namespace std;

int main(){
  int N;
  cin >> N;
  int X;
  int y;
  x = 800*N;
  y = (N/15)*200;
  cout << x-y << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:3: error: 'x' was not declared in this scope
    9 |   x = 800*N;
      |   ^
Language: C++

＃include<bits/stdc++.h>
using namespace std;

int main(){
  int N;
  cin >> N;
  int X;
  int y;
  x = 800*N;
  y = (N/15)*200;
  cout << x-y << endl;
}

Compiler output:
a.cc:1:1: error: '\U0000ff03include' does not name a type
    1 | ＃include<bits/stdc++.h>
      | ^~~~~~~~~
a.cc: In function 'int main()':
a.cc:6:3: error: 'cin' was not declared in this scope
    6 |   cin >> N;
      |   ^~~
a.cc:9:3: error: 'x' was not declared in this scope
    9 |   x = 800*N;
      |   ^
a.cc:11:3: error: 'cout' was not declared in this scope
   11 |   cout << x-y << endl;
      |   ^~~~
a.cc:11:18: error: 'endl' was not declared in this scope
   11 |   cout << x-y << endl;
      |                  ^~~~
Language: C++

#include <iostream>
using namespace std;

int main() {
　　int N;
    cin >> N;
    int x;
    int y;
    x = N * 800;
    N = N - N % 15;
    N = N / 15;
    y = N * 200;
    cout << x - y << endl;
	return 0;
}

Compiler output:
a.cc:5:1: error: extended character 　 is not valid in an identifier
    5 | 　　int N;
      | ^
a.cc:5:1: error: extended character 　 is not valid in an identifier
a.cc: In function 'int main()':
a.cc:5:1: error: '\U00003000\U00003000int' was not declared in this scope
    5 | 　　int N;
      | ^~~~~~~
a.cc:6:12: error: 'N' was not declared in this scope
    6 |     cin >> N;
      |            ^
Language: C++

#include<iostream>
#include<map>
using namespace std;
int main(){
    int N=0,tmp=0;
    int angel[100005]={};
    map<int,int> 
    cin>>N;


    cout<<800*N-200*(N/15)<<endl;

}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:8: error: expected initializer before '>>' token
    8 |     cin>>N;
      |        ^~
Language: C++

#include<stdio.h>
#include<conio.h>
int main()
{
    int x,y,m;
    int N(N>0&&N<101);
     scanf("%d",&N);
     x=800*N;
    if(N<=15)
        y=200;
     else if(N<=30)
        y=400;
     else if(N<=45)
        y=600;
        else if(N<=60)
        y=800;
     else if(N<=75)
        y=1000;
     else if(N<=90)
        y=1200;
        else
            y=1200;

            m=x-y;
        printf("%d",m);
     return 0;
}


Compiler output:
a.cc:2:9: fatal error: conio.h: No such file or directory
    2 | #include<conio.h>
      |         ^~~~~~~~~
compilation terminated.
Language: C++

#include <iostream>
#include <string>
#include <algorithm>
#include <iomanip>
#include <vector>
#include <map>
#include <cmath>
#include <queue>
#include <utility>
#include <functional>
#include <deque>
#include <cctype>
#include <stack>
#include <bitset>

using ll = long long;
typedef unsigned long long ull;
typedef std::pair<ll, ll>P;

ll gcd(ll a, ll b) {
	if (b == 0) return a;
	return gcd(b, a%b);
}
ll lcm(ll a, ll b) {
	ll g = gcd(a, b);
	return a / g * b;
}

const ll mod = 1000000007;
const ll INF = 1 << 30;
const ll INF2 = 9000000000000000000LL;
bool fl = true;
int dx[4] = { 1,0,-1,0 }, dy[4] = { 0,1,0,-1 };
std::string abc = "abcdefghijklmnopqrstuvwxyz";
struct edge { ll to, cost; };
struct edge1 { ll from, to, cost; };
double pai = 3.141592653589793;
std::vector<P>v[100010];

int main() {
	int n;
	std::cin >> n;
	std::cout << n * 800 - 200 * n % 15<< std::endl;

Compiler output:
a.cc: In function 'int main()':
a.cc:43:57: error: expected '}' at end of input
   43 |         std::cout << n * 800 - 200 * n % 15<< std::endl;
      |                                                         ^
a.cc:40:12: note: to match this '{'
   40 | int main() {
      |            ^
Language: C++

#include <iostream>
#include <string>
#include <algorithm>
#include <iomanip>
#include <vector>
#include <map>
#include <cmath>
#include <queue>
#include <utility>
#include <functional>
#include <deque>
#include <cctype>
#include <stack>
#include <bitset>

using ll = long long;
typedef unsigned long long ull;
typedef std::pair<ll, ll>P;

ll gcd(ll a, ll b) {
	if (b == 0) return a;
	return gcd(b, a%b);
}
ll lcm(ll a, ll b) {
	ll g = gcd(a, b);
	return a / g * b;
}

const ll mod = 1000000007;
const ll INF = 1 << 30;
const ll INF2 = 9000000000000000000LL;
bool fl = true;
int dx[4] = { 1,0,-1,0 }, dy[4] = { 0,1,0,-1 };
std::string abc = "abcdefghijklmnopqrstuvwxyz";
struct edge { ll to, cost; };
struct edge1 { ll from, to, cost; };
double pai = 3.141592653589793;
std::vector<P>v[100010];

int main() {
	int n;
	std::cout << n * 800 - 200 * n % 15<< std::endl;

Compiler output:
a.cc: In function 'int main()':
a.cc:42:57: error: expected '}' at end of input
   42 |         std::cout << n * 800 - 200 * n % 15<< std::endl;
      |                                                         ^
a.cc:40:12: note: to match this '{'
   40 | int main() {
      |            ^
Language: C++

#include <iostream>
#include <algorithm>
#include<string>
#include<sstream>
using namespace std;
int main()
{
int n,x,y;
cin>>n;
cout<<800*n-n/15*200<,endl;
	system("pause");
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:22: error: expected primary-expression before ',' token
   10 | cout<<800*n-n/15*200<,endl;
      |                      ^
Language: C++

include<iostream>
using namespace std;
int main()
{int a,b;
 cin>>a;
 b=a/15;
 cout<<800*a-200*b;
return 0;
}

Compiler output:
a.cc:1:1: error: 'include' does not name a type
    1 | include<iostream>
      | ^~~~~~~
a.cc: In function 'int main()':
a.cc:5:2: error: 'cin' was not declared in this scope
    5 |  cin>>a;
      |  ^~~
a.cc:7:2: error: 'cout' was not declared in this scope
    7 |  cout<<800*a-200*b;
      |  ^~~~
Language: C++

#include<iostream>
#include<algorithm>
#include<string>
#include<cstdlib>
using namespace std;

int main()
{
    int n;
    
    cin >> n;
    
    x = 800 * n;
    y = 200 * (n / 15);
    
    cout << x - y << "\n";
    
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:13:5: error: 'x' was not declared in this scope
   13 |     x = 800 * n;
      |     ^
a.cc:14:5: error: 'y' was not declared in this scope
   14 |     y = 200 * (n / 15);
      |     ^
Language: Java

public class Main{
 
 public static void main(String[] args){
  int eatLunch = 0;
  int price = 0;
  Scanner sc = new Scanner(System.in);
  
  while(true){
  eatLunch = sc.nextInt();
  if(eatLunch =< 100){
    break;
  }
  }
  
  price = eatLunch * 800;
 
  if(eatLunch =< 15){
    price = price - ((eatLunch / 15) * 200);
  }
 
  System.out.println(price);
}
}

Compiler output:
Main.java:10: error: illegal start of type
  if(eatLunch =< 100){
                 ^
Main.java:10: error: ';' expected
  if(eatLunch =< 100){
                    ^
Main.java:17: error: illegal start of type
  if(eatLunch =< 15){
                 ^
Main.java:17: error: ';' expected
  if(eatLunch =< 15){
                   ^
4 errors
Language: Java

public class Main{
 
 public static void main(String[] args){
  int eatLunch = 0;
  int price = 0;
  Scanner sc = new Scanner(System.in);
  
  while(true){
  eatLunch = sc.nextInt();
  if(eatLunch =< 100){
    break;
  }
  
  price = eatLunch * 800;
 
  if(eatLunch =< 15){
    price = price - ((eatLunch / 15) * 200);
  }
 
  System.out.println(price);
}
}

Compiler output:
Main.java:10: error: illegal start of type
  if(eatLunch =< 100){
                 ^
Main.java:10: error: ';' expected
  if(eatLunch =< 100){
                    ^
Main.java:16: error: illegal start of type
  if(eatLunch =< 15){
                 ^
Main.java:16: error: ';' expected
  if(eatLunch =< 15){
                   ^
Main.java:22: error: reached end of file while parsing
}
 ^
5 errors
Language: Java

public class Restraint{

 public static void Main(String[] args){
  int eatLunch = 0;
  int price = 0;
  Scanner sc = new Scanner(System.in);
  
  while(true){
  eatLunch = sc.nextInt();
  if(eatLunch =< 100){
    break;
  }
  
  price = eatLunch * 800;

  if(eatLunch =< 15){
    price = price - ((eatLunch / 15) * 200);
  }

  System.out.println(price);
}
}

Compiler output:
Main.java:10: error: illegal start of type
  if(eatLunch =< 100){
                 ^
Main.java:10: error: ';' expected
  if(eatLunch =< 100){
                    ^
Main.java:16: error: illegal start of type
  if(eatLunch =< 15){
                 ^
Main.java:16: error: ';' expected
  if(eatLunch =< 15){
                   ^
Main.java:22: error: reached end of file while parsing
}
 ^
5 errors
Language: C++

#include<iostream>
using namespace std;

	
int main(){
	int n=0;
	int m=0;
	cin>>n>>m;
		m=m-2*n;
		m=m/4;
		if(m<0)m=0;
		cout<<n+m;
	


Compiler output:
a.cc: In function 'int main()':
a.cc:12:27: error: expected '}' at end of input
   12 |                 cout<<n+m;
      |                           ^
a.cc:5:11: note: to match this '{'
    5 | int main(){
      |           ^
Language: C++

import java.io.BufferedReader;
import java.io.InputStreamReader;

public class Main {

	public static void main(String[] args) throws Exception {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		String s = br.readLine();
		int n = Integer.parseInt(s);

		int x = n * 800;
		int y = (n / 15) * 200;

		System.out.println(x - y);

	}
}


Compiler output:
a.cc:1:1: error: 'import' does not name a type
    1 | import java.io.BufferedReader;
      | ^~~~~~
a.cc:1:1: note: C++20 'import' only available with '-fmodules-ts'
a.cc:2:1: error: 'import' does not name a type
    2 | import java.io.InputStreamReader;
      | ^~~~~~
a.cc:2:1: note: C++20 'import' only available with '-fmodules-ts'
a.cc:4:1: error: expected unqualified-id before 'public'
    4 | public class Main {
      | ^~~~~~
Language: C++

#include <stdio.h>
int main(void){
  int N,P=1;
  scanf("%d",&N);
  for(i=0;i<=N;i++)
    P*=i;
  P=P%(1000000000+7);
 
  printf("%d",P);
  
  return 0;

}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:7: error: 'i' was not declared in this scope
    5 |   for(i=0;i<=N;i++)
      |       ^
Language: C++

#include <iostream>
#include <string>
using namespace std;

int main()
{
int N;
cin N;
cout << 800 * N - N / 15 * 200 << endl;
} 

Compiler output:
a.cc: In function 'int main()':
a.cc:8:4: error: expected ';' before 'N'
    8 | cin N;
      |    ^~
      |    ;
Language: C++

#include <iostream>
#include <algorithm>
#include <string>
#include <cstdio>
#include <cmath>
#include <stack>
#include <cstring>
#include <vector>
#include <set>
#include <map>
#include <queue>
#include <numeric>
#include <iomanip>


int main()
{
	long long n;

	std::cin >> n;

	std::cout << n * 800 - (n / 15) * 200) << std::endl;
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:22:46: error: expected ';' before ')' token
   22 |         std::cout << n * 800 - (n / 15) * 200) << std::endl;
      |                                              ^
      |                                              ;
Language: C++

#include <iostream>
#include <stdio.h>
#include <string>
#include <math.h>
using namespace std;

int main(){
	int n;
	cin >> n;
	
	int x = 800*n;
	int y = 200*(n/15);
	
	printf("%d\n, x-y);
	
	return 0;
}

Compiler output:
a.cc:14:16: warning: missing terminating " character
   14 |         printf("%d\n, x-y);
      |                ^
a.cc:14:16: error: missing terminating " character
   14 |         printf("%d\n, x-y);
      |                ^~~~~~~~~~~~
a.cc: In function 'int main()':
a.cc:16:9: error: expected primary-expression before 'return'
   16 |         return 0;
      |         ^~~~~~
Language: Java

import java.util.Scanner;
import java.util.Random;
import java.util.Arrays;

class Main {
	
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int a = nextInt();
		
		int num = a/15;
		
		System.out.println(800*a - num);
	}
}

Compiler output:
Main.java:9: error: cannot find symbol
		int a = nextInt();
		        ^
  symbol:   method nextInt()
  location: class Main
1 error
Language: C++

#include<iostream>

int main(){
int n;
int a,b;
cin>>n;
a=800*n;
b=200*(n/15);
std::cout<<a-b;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:1: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    6 | cin>>n;
      | ^~~
      | std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
Language: C++

#include<bits/stdc++.h>

#define fi first
#define se second
#define FO(x, n) for (int x = 0; x < n; ++x)
#define FOR(x, a, b) for (int x = a; x < b; ++x)
#define RFO(x, n) for (int x = n - 1; x >= 0; --x)
#define RFOR(x, a, b) for (int x = b - 1; x >= a; --x)
#define FOR_ITER(x, a) for(auto x = a.begin(); x != a.end(); ++x)

typedef unsigned char byte;
typedef long long ll;
typedef unsigned long long ull;
typedef pair<int, int> pii;
typedef pair<double, double> pdd;
typedef pair<string, string> pss;
typedef pair<ll, ll> pll;
inline bool feq(const double& a, const double& b) { return fabs(a - b) < 1e-10; }

using namespace std;

int n, m;

int main(){
//    int n, l;
//    cin >> n >> k;
//    vector<bool> dislike(10, false);
//
//    FOR(i, 0, k) {
//        int t;
//        cin >> t;
//        dislike[t] = true;
//    }



    cin >>n;

    cout<<(800*n - 200*(n/15)) <<endl;

    return 0;
}


Compiler output:
a.cc:14:9: error: 'pair' does not name a type
   14 | typedef pair<int, int> pii;
      |         ^~~~
a.cc:15:9: error: 'pair' does not name a type
   15 | typedef pair<double, double> pdd;
      |         ^~~~
a.cc:16:9: error: 'pair' does not name a type
   16 | typedef pair<string, string> pss;
      |         ^~~~
a.cc:17:9: error: 'pair' does not name a type
   17 | typedef pair<ll, ll> pll;
      |         ^~~~
Language: C++

#include <iostream>
using namespace std;
int main() {
	int N;
	cin >> N;
	if(N<=14){
	cout << 800 * N  << endl;
	if (15 <= N <= 29) {
		cout << 800 * N - 200 << endl;
	}
	if (30 <= N <= 44) {
		cout << 800 * N - 400 << endl;
	}
	if (45 <= N <= 59) {
		cout << 800 * N - 600 << endl;
	}
	if (60 <= N <= 74) {
		cout << 800 * N - 800 << endl;
	}
	if (75 <= N <= 89) {
		cout << 800 * N - 1000 << endl;
	}
	if (90 <= N) { cout << 800 * N - 1200 << endl;
	}


	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:28:2: error: expected '}' at end of input
   28 | }
      |  ^
a.cc:3:12: note: to match this '{'
    3 | int main() {
      |            ^
Language: C++

#include <iostream>
using namespace std;
int main() {
	int N;
	cin >> N;
	if(N<=14){
	cout << 800 * N  << endl;
	if (15 <= N <= 29) {
		cout << 800 * N - 200 << endl;
	}
	if (30 <= N <= 44) {
		cout << 800 * N - 400 << endl;
	}
	if (45 <= N <= 59) {
		cout << 800 * N - 600 << endl;
	}
	if (60 <= N <= 74) {
		cout << 800 * N - 800 << endl;
	}
	if (75 <= N <= 89) {
		cout << 800 * N - 1000 << endl;
	}
	if (90 <= N <= 100) { cout << 800 * N - 1200 << endl;
	}


	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:28:2: error: expected '}' at end of input
   28 | }
      |  ^
a.cc:3:12: note: to match this '{'
    3 | int main() {
      |            ^
Language: C++

#include<iostream>
using namespace std;
int main(){
  int N;
  cin >> N;
  int x,y;
  x = 800*N;
  y = 200*(N%15;)
     cout << x-y << endl;

}


Compiler output:
a.cc: In function 'int main()':
a.cc:8:16: error: expected ')' before ';' token
    8 |   y = 200*(N%15;)
      |           ~    ^
      |                )
a.cc:8:17: error: expected primary-expression before ')' token
    8 |   y = 200*(N%15;)
      |                 ^
Language: C++

#include <iostream>
#include <string>
#include <vector>
#include <algorithm>
#include <utility>
#include <cmath>
#include <utility>
using namespace std;
#define fol(i,n) for (int i=0;i<n;i++)

int main(){
    int a;
    cin >>a;
cout << a*800-200*(a/15)
return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:14:25: error: expected ';' before 'return'
   14 | cout << a*800-200*(a/15)
      |                         ^
      |                         ;
   15 | return 0;
      | ~~~~~~
Language: C++

#include<iostream>
using namespace std;
int main() {
    int N;
    N = 100;
    int x,y,Y=0;
    for(int i=1; i <= N/15; i++){
        Y = Y+1;
    }
    x = 800*N;
    y = 200*Y
    cout << x-y << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:14: error: expected ';' before 'cout'
   11 |     y = 200*Y
      |              ^
      |              ;
   12 |     cout << x-y << endl;
      |     ~~~~
Language: C

#include <stdio.h>
int main(void)
{
int N,x,y;
N>=1 && N<=100;
int scanf ("%d",&N);
x=800*N;
y=N/15;
printf ("%dyen\n",(x-(y*200)));
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:6:12: error: expected declaration specifiers or '...' before string constant
    6 | int scanf ("%d",&N);
      |            ^~~~
main.c:6:17: error: expected declaration specifiers or '...' before '&' token
    6 | int scanf ("%d",&N);
      |                 ^
Language: C++

#include <stdio.h>
int main(void)
{
int N,x,y;
N>=1 && N<=100;
int scanf ("%d",&N);
x=800*N;
y=N/15;
printf ("%dyen\n",(x-(y*200)));
return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:19: error: expression list treated as compound expression in initializer [-fpermissive]
    6 | int scanf ("%d",&N);
      |                   ^
a.cc:6:19: error: invalid conversion from 'int*' to 'int' [-fpermissive]
    6 | int scanf ("%d",&N);
      |                   ^
      |                   |
      |                   int*
Language: C++

#include<iostream>
using namespase std;
int main(){
int n; cin>>n;
cout<<n*800-(n/15)*200<<endl;
}

Compiler output:
a.cc:2:7: error: expected nested-name-specifier before 'namespase'
    2 | using namespase std;
      |       ^~~~~~~~~
a.cc: In function 'int main()':
a.cc:4:8: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    4 | int n; cin>>n;
      |        ^~~
      |        std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:5:1: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    5 | cout<<n*800-(n/15)*200<<endl;
      | ^~~~
      | std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:5:25: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    5 | cout<<n*800-(n/15)*200<<endl;
      |                         ^~~~
      |                         std::endl
In file included from /usr/include/c++/14/iostream:41:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
Language: C++

#include<iostream>
using namespacse std;
int main(){
int n; cin>>n;
cout<<n*800-(n/15)*200<<endl;
}

Compiler output:
a.cc:2:7: error: expected nested-name-specifier before 'namespacse'
    2 | using namespacse std;
      |       ^~~~~~~~~~
a.cc: In function 'int main()':
a.cc:4:8: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    4 | int n; cin>>n;
      |        ^~~
      |        std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:5:1: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    5 | cout<<n*800-(n/15)*200<<endl;
      | ^~~~
      | std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:5:25: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    5 | cout<<n*800-(n/15)*200<<endl;
      |                         ^~~~
      |                         std::endl
In file included from /usr/include/c++/14/iostream:41:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
Language: Java

package abc055;

import java.util.Scanner;


public class A {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int n=sc.nextInt();
		System.out.println(800*n-200*(n/15));
	}
}



Compiler output:
Main.java:6: error: class A is public, should be declared in a file named A.java
public class A {
       ^
1 error
Language: C++


#include <iostream>
#include<math.h>
int main() {
  long long N;
  std::cin >> N;
  long long power = 1;
  for(long long i = 1; i <= N; i++){
    power = (power * N) % (pow(10, 9) + 7)
  }
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:25: error: invalid operands of types 'long long int' and '__gnu_cxx::__promote<double>::__type' {aka 'double'} to binary 'operator%'
    9 |     power = (power * N) % (pow(10, 9) + 7)
      |             ~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~
      |                    |                  |
      |                    long long int      __gnu_cxx::__promote<double>::__type {aka double}
Language: C++

#include <iostream>
int main() {
  long long N;
  std::cin >> N;
  long long power = 1;
  for(long long i = 1; i <= N; i++){
    power = (power * N) % (pow(10, 9) + 7)
  }
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:28: error: 'pow' was not declared in this scope; did you mean 'power'?
    7 |     power = (power * N) % (pow(10, 9) + 7)
      |                            ^~~
      |                            power
Language: Java

package abc055;

import java.util.Scanner;


public class A {

	public static void main(String[] args) {
		// TODO Auto-generated method stub
		Scanner sc = new Scanner(System.in);
		int n=sc.nextInt();
		System.out.println(800*n-200*(n/15));
	}

}


Compiler output:
Main.java:6: error: class A is public, should be declared in a file named A.java
public class A {
       ^
1 error
Language: C++

#include <iostream>
Using namespace std;

int main()
{
    int n;
    cin >> n;
    count<<n*800-(n/15)*200<<endl;
}

Compiler output:
a.cc:2:1: error: 'Using' does not name a type
    2 | Using namespace std;
      | ^~~~~
a.cc: In function 'int main()':
a.cc:7:5: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    7 |     cin >> n;
      |     ^~~
      |     std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:8:5: error: 'count' was not declared in this scope
    8 |     count<<n*800-(n/15)*200<<endl;
      |     ^~~~~
a.cc:8:30: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    8 |     count<<n*800-(n/15)*200<<endl;
      |                              ^~~~
      |                              std::endl
In file included from /usr/include/c++/14/iostream:41:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
Language: C++

#include <bits/stdc++.h>
int main() {
int N;
while(std::cin >> N) {
cout << 800 * N - 200 * (N / 15) << endl;
}
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:1: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    5 | cout << 800 * N - 200 * (N / 15) << endl;
      | ^~~~
      | std::cout
In file included from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:146,
                 from a.cc:1:
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:5:37: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    5 | cout << 800 * N - 200 * (N / 15) << endl;
      |                                     ^~~~
      |                                     std::endl
In file included from /usr/include/c++/14/istream:41,
                 from /usr/include/c++/14/sstream:40,
                 from /usr/include/c++/14/complex:45,
                 from /usr/include/c++/14/ccomplex:39,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:127:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
Language: Java

package spring;

public class atcoder {
 public static void main(String[] args){
		int n=10,i,a=1;
		for(i=1;i<n+1;i++){
		a=a*i;
		}
		System.out.println(a);
	} 
}


Compiler output:
Main.java:3: error: class atcoder is public, should be declared in a file named atcoder.java
public class atcoder {
       ^
1 error
Language: Java

import java.util.Scanner;

public class TrainingCamp {
	 public static void main(String[] args) {
		 Scanner a = new Scanner(System.in);
		 int N = a.nextInt();
		 double power = 1;
		 for(int i = 1; i <= N; i++){
			 power = (power * i) % 100000000+7; 
		 }
		 System.out.println(power);
	}
 
}

Compiler output:
Main.java:3: error: class TrainingCamp is public, should be declared in a file named TrainingCamp.java
public class TrainingCamp {
       ^
1 error
Language: Java

import java.util.Scanner;
public class A_Restaurant {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt();
		int x = N * 800;
		int y = (N / 15) * 200;
		int sum = x-y;
		System.out.print("合計金額＝"+sum);
	}
}

Compiler output:
Main.java:2: error: class A_Restaurant is public, should be declared in a file named A_Restaurant.java
public class A_Restaurant {
       ^
1 error
Language: Java

import java.util.*;  
public class Aaa{
   public static void main(String[] args){
	   Scanner sc = new Scanner(System.in);
	   int N = sc.nextInt();
	   int i;
	   int pow=1;
	   double ans=0;
 for(i = 1; i <= N; i++){
     pow = pow * i;
     ans = pow % (Math.pow(10.0,9.0)+7.0);
 }
 System.out.println((int)ans);
     }
 }


Compiler output:
Main.java:2: error: class Aaa is public, should be declared in a file named Aaa.java
public class Aaa{
       ^
1 error
Language: Java

import java.util.*;  
public class Aaa{
   public static void main(String[] args){
	   Scanner sc = new Scanner(System.in);
	   int N = sc.nextInt();
	   int i;
	   double pow=1;
	   double ans=0;
 for(i = 1; i <= N; i++){
     pow = pow * i;
     ans = (double)pow % (Math.pow(10.0,9.0)+7.0);
 }
 System.out.println((int)ans);
     }
 }


Compiler output:
Main.java:2: error: class Aaa is public, should be declared in a file named Aaa.java
public class Aaa{
       ^
1 error
Language: Java

import java.util.*;  
public class Main {
   public static void main(String[] args){
 Scanner sc = new Scanner(System.in);
 int N = sc.nextInt();
 int i;
 int pow=1;
 for(i = 1; i <= N; i++){
     pow = pow * i;
     double ans = (double)pow % (Math.pow(10.0,9.0)+7.0);
 }
 System.out.println((int)ans);
     }
 }

Compiler output:
Main.java:12: error: cannot find symbol
 System.out.println((int)ans);
                         ^
  symbol:   variable ans
  location: class Main
1 error
Language: Java

import java.util.*;

public class Main {
    public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int N = sc.nextInt();
int i;
for(i = 1; i < N; i++){
    int pow = pow * i;
    double ans = (double)pow % (Math.pow(10.0,9.0)+7.0);
}
System.out.println((int)ans);

    }
}


Compiler output:
Main.java:12: error: cannot find symbol
System.out.println((int)ans);
                        ^
  symbol:   variable ans
  location: class Main
1 error
Language: Java

import java.util.*;

public class Main {
    public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int N = sc.nextInt();
int i;
for(i = 1; i < N; i++){
    int pow = pow * i;
    int ans = pow % (Math.pow(10.0,9.0)+7.0);
}
System.out.println((int)ans);

    }
}



Compiler output:
Main.java:10: error: incompatible types: possible lossy conversion from double to int
    int ans = pow % (Math.pow(10.0,9.0)+7.0);
                  ^
Main.java:12: error: cannot find symbol
System.out.println((int)ans);
                        ^
  symbol:   variable ans
  location: class Main
2 errors
Language: Java

import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.*;

public class Main {
    public static void main(String[] args) throws Exception {
Scanner sc = new Scanner(System.in);
int N = sc.nextInt();
int i;
for(i = 1; i < N; i++){
    int pow = pow * i;
    int ans = pow % (Math.pow(10.0,9.0)+7.0);
}
System.out.println(ans);

    }
}


Compiler output:
Main.java:12: error: incompatible types: possible lossy conversion from double to int
    int ans = pow % (Math.pow(10.0,9.0)+7.0);
                  ^
Main.java:14: error: cannot find symbol
System.out.println(ans);
                   ^
  symbol:   variable ans
  location: class Main
2 errors
Language: Java

import java.util.*;

public class Main {
    public static void main(String[] args) throws Exception {
Scanner sc = new Scanner(System.in);
int N = sc.nextInt();
int i;
for(i = 1; i < N; i++){
    int pow = pow * i;
    double ans = pow % (Math.pow(10.0,9.0)+7.0);
}
System.out.println(ans);

    }
}


Compiler output:
Main.java:12: error: cannot find symbol
System.out.println(ans);
                   ^
  symbol:   variable ans
  location: class Main
1 error
Language: Java

import java.*;
public class Main{
  public static void main(String[] args){
        Scanner sc = new Scanner(System. in);
int n = sc.nextInt();
x = 800 * n;
y = n / 15 * 200;
x - y = ans;
System.out.println(ans);
}
}


Compiler output:
Main.java:1: error: package java does not exist
import java.*;
^
Main.java:4: error: cannot find symbol
        Scanner sc = new Scanner(System. in);
        ^
  symbol:   class Scanner
  location: class Main
Main.java:4: error: cannot find symbol
        Scanner sc = new Scanner(System. in);
                         ^
  symbol:   class Scanner
  location: class Main
Main.java:6: error: cannot find symbol
x = 800 * n;
^
  symbol:   variable x
  location: class Main
Main.java:7: error: cannot find symbol
y = n / 15 * 200;
^
  symbol:   variable y
  location: class Main
Main.java:8: error: cannot find symbol
x - y = ans;
^
  symbol:   variable x
  location: class Main
Main.java:8: error: cannot find symbol
x - y = ans;
    ^
  symbol:   variable y
  location: class Main
Main.java:8: error: cannot find symbol
x - y = ans;
        ^
  symbol:   variable ans
  location: class Main
Main.java:9: error: cannot find symbol
System.out.println(ans);
                   ^
  symbol:   variable ans
  location: class Main
9 errors
Language: Java

public class Main{
  public static void main(String[] args){
        Scanner sc = new Scanner(System. in);
int n = sc.nextInt();
x = 800 * n;
y = n / 15 * 200;
x - y = ans;
println(ans);

Compiler output:
Main.java:8: error: reached end of file while parsing
println(ans);
             ^
1 error
Language: C

#include <stdio.h>

int main(void){
  int n;
  scanf("%d", &n);
  a = n * 800 - (n / 15) * 200;
  printf("%d\n", a);
  return 0;
}


Compiler output:
main.c: In function 'main':
main.c:6:3: error: 'a' undeclared (first use in this function)
    6 |   a = n * 800 - (n / 15) * 200;
      |   ^
main.c:6:3: note: each undeclared identifier is reported only once for each function it appears in
Language: Java

package spring21;

public class ABC055_A {
	public static void main(String[] args){
	int N=20,x,y;
	x=N*800;
	y=200*(N/15);
	System.out.println(x-y);
	}
}

Compiler output:
Main.java:3: error: class ABC055_A is public, should be declared in a file named ABC055_A.java
public class ABC055_A {
       ^
1 error
Language: C++

import java.util.*;
public class Main {

	public static void main(String[] args) {
		// TODO Auto-generated method stub
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        int x = 0, y = 0;
        for(int i = 1; i <= N; i++){
        	x += 800;
        	if(i % 15 == 0) y += 200;
        }
        System.out.println(x-y);
	}

}


Compiler output:
a.cc:1:1: error: 'import' does not name a type
    1 | import java.util.*;
      | ^~~~~~
a.cc:1:1: note: C++20 'import' only available with '-fmodules-ts'
a.cc:2:1: error: expected unqualified-id before 'public'
    2 | public class Main {
      | ^~~~~~
Language: C

#include <stdio.h>

int main() {
	int n;
	scanf_s("%d", &n);
	printf("%d\n", n * 800 - n / 15 * 200);
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:5:9: error: implicit declaration of function 'scanf_s'; did you mean 'scanf'? [-Wimplicit-function-declaration]
    5 |         scanf_s("%d", &n);
      |         ^~~~~~~
      |         scanf
Language: Java

import java.util.Scanner;

public class Restaurant {

	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int in = scan.nextInt();
		System.out.println(in * 800 - (in/15)*200);
		scan.close();
	}

}

Compiler output:
Main.java:3: error: class Restaurant is public, should be declared in a file named Restaurant.java
public class Restaurant {
       ^
1 error
Language: Java

import java.util.Scanner;

public class Restaurant {

	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int in = scan.nextInt();
		System.out.println(in * 800 - (in/15)*200);
		scan.close();
	}

}


Compiler output:
Main.java:3: error: class Restaurant is public, should be declared in a file named Restaurant.java
public class Restaurant {
       ^
1 error
Language: Java

public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int in = scan.nextInt();
		System.out.println(in * 800 - (in/15)*200);
	}

Compiler output:
Main.java:1: error: unnamed classes are a preview feature and are disabled by default.
public static void main(String[] args) {
              ^
  (use --enable-preview to enable unnamed classes)
1 error
Language: Java

import java.util.Scanner;

public class Restaurant {

	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int in = scan.nextInt();
		System.out.println(in * 800 - (in/15)*200);
	}

}

Compiler output:
Main.java:3: error: class Restaurant is public, should be declared in a file named Restaurant.java
public class Restaurant {
       ^
1 error
Language: Java

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package atcoderjava;

import java.util.Scanner;

/**
 *
 * @author takaesumizuki
 */
public class AtcoderJava {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        // TODO code application logic here
        Scanner sc = new Scanner(System.in);
        String str = sc.next();
        Integer eat = new Integer(str);
        Integer refundMoney = eat/15*200;
        Integer payMoney = eat * 800;
        Integer diffMoney = payMoney - refundMoney;
        System.out.println(diffMoney);
        
    }
    
}


Compiler output:
Main.java:14: error: class AtcoderJava is public, should be declared in a file named AtcoderJava.java
public class AtcoderJava {
       ^
Main.java:23: warning: [removal] Integer(String) in Integer has been deprecated and marked for removal
        Integer eat = new Integer(str);
                      ^
1 error
1 warning
Language: C

#include<stdio.h>
int main()
{
	int s,c;
	int q,w;
	int e,r;
	scanf_s("%d",&s);
	scanf_s("%d",&c);
	q=s*2;
/*	if(c>q)
	{
		w=c-q;
		e=w/4;
		r=e+s;
		printf("%d",r);
	}*/
	if(c<=q)
	{
		if(0==c%2)
		{
			w=c/2;
			printf("%d",w);
		}
		if(0!=c%2)
		{
			c--;
			w=c/2;
			printf("%d",w);
		}
	}
}

Compiler output:
main.c: In function 'main':
main.c:7:9: error: implicit declaration of function 'scanf_s'; did you mean 'scanf'? [-Wimplicit-function-declaration]
    7 |         scanf_s("%d",&s);
      |         ^~~~~~~
      |         scanf
Language: C++

#include<stdio.h>
int main()
{
	int s,c;
	int q,w;
	int e,r;
	scanf_s("%d",&s);
	scanf_s("%d",&c);
	q=s*2;
	if(c>q)
	{
		w=c-q;
		e=w/4;
		r=e+s;
		printf("%d",r);
	}
	if(c==q)
	{
		printf("%d",s);
	}
	if(c<q)
	{
		if(0==c%2)
		{
			w=c/2;
			printf("%d",w);
		}
		if(0!=c%2)
		{
			c--;
			w=c/2;
			printf("%d",w);
		}
	}
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:9: error: 'scanf_s' was not declared in this scope; did you mean 'scanf'?
    7 |         scanf_s("%d",&s);
      |         ^~~~~~~
      |         scanf
Language: C++

#include<stdio.h>
int main()
{
	int s,c,q,w,e,r;
	scanf_s("%d",&s);
	scanf_s("%d",&c);
	q=s*2;
	if(c>q)
	{
		w=c-q;
		e=w/4;
		r=e+s;
		printf("%d",r);
	}
	if(c==q)
	{
		printf("%d",s);
	}
	if(c<q)
	{
		if(0==c%2)
		{
			w=c/2;
			printf("%d",w);
		}
		if(0!=c%2)
		{
			c--;
			w=c/2;
			printf("%d",w);
		}
	}
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:9: error: 'scanf_s' was not declared in this scope; did you mean 'scanf'?
    5 |         scanf_s("%d",&s);
      |         ^~~~~~~
      |         scanf
Language: C++

#include <iostream>
#include <cmath>
int main() {
int N;
std::cin >> N;
int remainder = 1;
for (int i = 1; i <= N; i++) {
  remainder *= i;
}
remainder = remainder%pow(10, 9) + 7;
std::cout << remainder << std::endl;
return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:10:22: error: invalid operands of types 'int' and 'double' to binary 'operator%'
   10 | remainder = remainder%pow(10, 9) + 7;
      |             ~~~~~~~~~^~~~~~~~~~~
      |             |            |
      |             int          double
Language: C++

#include <iostream>
#include <cmath>
int main() {
int N;
std::cin >> N;
int remainder = 1;
for (int i = 1; i <= N; i++) {
  remainder *= i;
}
remainder = remainder%pow(10, 9) + 7
std::cout << remainder << std::endl;
return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:22: error: invalid operands of types 'int' and 'double' to binary 'operator%'
   10 | remainder = remainder%pow(10, 9) + 7
      |             ~~~~~~~~~^~~~~~~~~~~
      |             |            |
      |             int          double
Language: C++

#include <iostream>
 
int main() {
int N;
std::cin >> N;
int remainder = 1;
for (int i = 1; i <= N; i++) {
  remainder *= i;
  remainder = (double)remainder % (10e+9 +7);
}
std::cout << remainder << std::endl;
return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:33: error: invalid operands of types 'double' and 'double' to binary 'operator%'
    9 |   remainder = (double)remainder % (10e+9 +7);
      |               ~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~
      |               |                          |
      |               double                     double
Language: C++

#include <iostream>
 
int main() {
int N;
std::cin >> N;
int remainder = 1;
for (int i = 1; i <= N; i++) {
  remainder *= i;
  remainder = remainder % (10e+9 +7);
}
std::cout << remainder << std::endl;
return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:25: error: invalid operands of types 'int' and 'double' to binary 'operator%'
    9 |   remainder = remainder % (10e+9 +7);
      |               ~~~~~~~~~ ^ ~~~~~~~~~~
      |               |                  |
      |               int                double
Language: C++

#include <iostream>
 
int main() {
int N;
std::cin >> N;
int remainder = 1;
for (int i = 1; i <= N; i++) {
  remainder *= i
  remainder = remainder % (10e+9 +7);
}
std::cout << remainder << std::endl;
return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:17: error: expected ';' before 'remainder'
    8 |   remainder *= i
      |                 ^
      |                 ;
    9 |   remainder = remainder % (10e+9 +7);
      |   ~~~~~~~~~
Language: C++

#include <iostream>

int main() {
int x=0, y=0, N=0;
std::cin >> N;

x = 800*N;
int z = N/15;
y = z*200;

reutrn (x-y);
}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:1: error: 'reutrn' was not declared in this scope
   11 | reutrn (x-y);
      | ^~~~~~
Language: C++

#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <iostream>
#include <vector>
#include <string>
#include <algorithm>
#include <stack>
#include <queue>
#include <set>
#include <cmath>
#include <map>
#include <fstream>
#include <copy>

#define rep(i,a,n) for(int i=a;i<n;i++)
using namespace std;
typedef long long ll;
typedef pair<int, int> P;


template <typename T>
std::ostream &operator<<(std::ostream &out, const std::vector<T> &v){
    if(!v.empty()) {
        out << '[';
        std::copy(v.begin(), v.end(), std::ostream_iterator<T>(out, ", "));
        out << "\b\b]";
    }
    return out;
}

template <typename T1, typename T2>
std::ostream &operator<<(std::ostream &out, const std::pair<T1, T2> &p) {
    out << "[" << p.first << ", " << p.second << "]";
    return out;
}
//---------


int main() {
    cin.tie(0);
    ios::sync_with_stdio(false);
    //CLion Standard Input for DEBUG
    //--------------------------------------------------------------------------
//    ifstream in("/Users/ryo/Dropbox/competition/CompetitivePrograming/in.txt");
//    cin.rdbuf(in.rdbuf());
    //-------------------------------------------------------------------------

    int n;
    cin >> n;
    cout << 800 * n  - 200 * (n / 15)<< endl;

}

Compiler output:
a.cc:14:10: fatal error: copy: No such file or directory
   14 | #include <copy>
      |          ^~~~~~
compilation terminated.
Language: C++

#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <iostream>
#include <vector>
#include <string>
#include <algorithm>
#include <stack>
#include <queue>
#include <set>
#include <cmath>
#include <map>
#include <fstream>

#define rep(i,a,n) for(int i=a;i<n;i++)
using namespace std;
typedef long long ll;
typedef pair<int, int> P;


template <typename T>
std::ostream &operator<<(std::ostream &out, const std::vector<T> &v){
    if(!v.empty()) {
        out << '[';
        std::copy(v.begin(), v.end(), std::ostream_iterator<T>(out, ", "));
        out << "\b\b]";
    }
    return out;
}

template <typename T1, typename T2>
std::ostream &operator<<(std::ostream &out, const std::pair<T1, T2> &p) {
    out << "[" << p.first << ", " << p.second << "]";
    return out;
}
//---------


int main() {
    cin.tie(0);
    ios::sync_with_stdio(false);
    //CLion Standard Input for DEBUG
    //--------------------------------------------------------------------------
//    ifstream in("/Users/ryo/Dropbox/competition/CompetitivePrograming/in.txt");
//    cin.rdbuf(in.rdbuf());
    //-------------------------------------------------------------------------

    int n;
    cin >> n;
    cout << 800 * n  - 200 * (n / 15)<< endl;

}

Compiler output:
a.cc: In function 'std::ostream& operator<<(std::ostream&, const std::vector<_Tp>&)':
a.cc:25:44: error: 'ostream_iterator' is not a member of 'std'
   25 |         std::copy(v.begin(), v.end(), std::ostream_iterator<T>(out, ", "));
      |                                            ^~~~~~~~~~~~~~~~
a.cc:14:1: note: 'std::ostream_iterator' is defined in header '<iterator>'; this is probably fixable by adding '#include <iterator>'
   13 | #include <fstream>
  +++ |+#include <iterator>
   14 | 
a.cc:25:62: error: expected primary-expression before '>' token
   25 |         std::copy(v.begin(), v.end(), std::ostream_iterator<T>(out, ", "));
      |                                                              ^
Language: C++

#include<iostream>
using namespace std;
int main(){
	long long a,b;
	std::cin>>a>>b;
	if(a=>(b/2)){
		std::cout<<(b/2);
	}else{
		std::cout<<(a+((b-2*a)/4));
	}
	}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:14: error: expected primary-expression before '>' token
    6 |         if(a=>(b/2)){
      |              ^
Language: C++

    #include <iostream>
    #include <math.h>
     
    using namespace std;
     
    int main()
    {
    int N, pre_p = 1, cur_p = 1;
    cin >> N;
    for (int i = 1; i < N; i++)
    {
    pre_p = cur_p;
    cur_p = pre_p * i;
    }
     
    cout << cur_p % (pow(10,9) + 7);
     
    return 0;
    }

Compiler output:
a.cc: In function 'int main()':
a.cc:16:19: error: invalid operands of types 'int' and '__gnu_cxx::__promote<double>::__type' {aka 'double'} to binary 'operator%'
   16 |     cout << cur_p % (pow(10,9) + 7);
      |             ~~~~~ ^ ~~~~~~~~~~~~~~~
      |             |                  |
      |             int                __gnu_cxx::__promote<double>::__type {aka double}
Language: C++


x = N * 800;
y = N / 15 * 200

print(x-y)

Compiler output:
a.cc:2:1: error: 'x' does not name a type
    2 | x = N * 800;
      | ^
a.cc:3:1: error: 'y' does not name a type
    3 | y = N / 15 * 200
      | ^
Language: C++

#include <iostream>
#include<stdio.h>
using namespace std;

int main(void) {
	int N;
	cin >> N;
	int x = 1;
	for (int i = 0; i < N; i++)
	{
		x = modx(x,N+1);
	}
	cout << x << endl;
}

int modx(int x,int y) {
	return (x*y) % 1000000007;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:21: error: 'modx' was not declared in this scope
   11 |                 x = modx(x,N+1);
      |                     ^~~~