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

#include<bits/stdc++.h>
using namespace std;
int main(){
	int n=o,x=0,y=0,ans=0;
	scanf("%d",&n);
	if(n>=15){
		x=n*800;
		y=((n/15)*200);
		ans=x-y;
		printf("%d",ans);
	}
	else{
		x=n*800;
		ans=x;
		printf("%d",ans);
	}
}

Compiler output:
a.cc: In function 'int main()':
a.cc:4:15: error: 'o' was not declared in this scope
    4 |         int n=o,x=0,y=0,ans=0;
      |               ^
a.cc:7:17: error: 'x' was not declared in this scope
    7 |                 x=n*800;
      |                 ^
a.cc:8:17: error: 'y' was not declared in this scope
    8 |                 y=((n/15)*200);
      |                 ^
a.cc:9:17: error: 'ans' was not declared in this scope; did you mean 'abs'?
    9 |                 ans=x-y;
      |                 ^~~
      |                 abs
a.cc:13:17: error: 'x' was not declared in this scope
   13 |                 x=n*800;
      |                 ^
a.cc:14:17: error: 'ans' was not declared in this scope; did you mean 'abs'?
   14 |                 ans=x;
      |                 ^~~
      |                 abs
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main(){
	int n=o,x=0,y=o,ans=0;
	scanf("%d",&n);
	if(n>=15){
		x=n*800;
		y=((n/15)*200);
		ans=x-y;
		printf("%d",ans);
	}
	else{
		x=n*800;
		ans=x;
		printf("%d",ans);
	}
}

Compiler output:
a.cc: In function 'int main()':
a.cc:4:15: error: 'o' was not declared in this scope
    4 |         int n=o,x=0,y=o,ans=0;
      |               ^
a.cc:7:17: error: 'x' was not declared in this scope
    7 |                 x=n*800;
      |                 ^
a.cc:8:17: error: 'y' was not declared in this scope
    8 |                 y=((n/15)*200);
      |                 ^
a.cc:9:17: error: 'ans' was not declared in this scope; did you mean 'abs'?
    9 |                 ans=x-y;
      |                 ^~~
      |                 abs
a.cc:13:17: error: 'x' was not declared in this scope
   13 |                 x=n*800;
      |                 ^
a.cc:14:17: error: 'ans' was not declared in this scope; did you mean 'abs'?
   14 |                 ans=x;
      |                 ^~~
      |                 abs
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main(){
  int n;
  cin>>n;
  int y = n/15;
  int x = 800*n
  cout << x-200*y <<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:3: error: expected ',' or ';' before 'cout'
    8 |   cout << x-200*y <<endl;
      |   ^~~~
Language: C++

#include<iostream>
using namespace std;
int main()
{
	int N,x,y;
	cin>>N;

	if(N>=15){
	x=N*800;
	y=(N/15)*200;
	
		cout<<x-y;
    }
	else{
		x=N*800;
	     y=0;
	cout<<x-y;
}

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

#include<iostream>
using namespace std;
int main(){
	int n,y;
	cin>>n;
	int c=0;
	for(int i=15;i<=n;i++)
	if(n>=15&&i%15==0)
	c++;
	y=(n*800)-(c*200);
	cout<<y;
	return 0;
}



Compiler output:
main.c:1:9: fatal error: iostream: No such file or directory
    1 | #include<iostream>
      |         ^~~~~~~~~~
compilation terminated.
Language: C

#include<iostream>
using namespace std;
int main(){
	int n,x;
	cin>>n;
	int c=0;
	for(int i=15;i<=n;i++)
	if(n>=15&&i%15==0)
	c++;
	x=(n*800)-(c*200);
	cout<<x;

	return 0;
}

Compiler output:
main.c:1:9: fatal error: iostream: No such file or directory
    1 | #include<iostream>
      |         ^~~~~~~~~~
compilation terminated.
Language: C++

#include<bits\stdc++.h>
using namespace std;
int main(){
	int n,x,c=1;
	scanf("%d",&n);
	for(int i=15;i<n;i++)
	if(n>15&&i%15==0){
	c++;
	x=(n*800)-(c*200);
	}
	cout<<x;
}




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

#include<bits/stdc++.h>
using namespace std;
int main()
{
	int x, n, y, x=0, i, y;
	scanf("%d", &n);
	if(n>=1 && n<=100){
			x=800*n;
		if(n>15){
			i=n/15;
			y=x-(i*200);
			printf("%d", y);
		}
		else{
			printf("%d", x);
		}
	}
	else{
		printf("Error");
	}
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:22: error: redeclaration of 'int x'
    5 |         int x, n, y, x=0, i, y;
      |                      ^
a.cc:5:13: note: 'int x' previously declared here
    5 |         int x, n, y, x=0, i, y;
      |             ^
a.cc:5:30: error: redeclaration of 'int y'
    5 |         int x, n, y, x=0, i, y;
      |                              ^
a.cc:5:19: note: 'int y' previously declared here
    5 |         int x, n, y, x=0, i, y;
      |                   ^
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main()
{
	int x, n, y, z=, i, t;
	scanf("%d", &n);
	if(n>=1 && n<=100){
			x=800*n;
		if(n>15){
			i=n/15;
			y=x-(i*200);
			printf("%d", y);
		}
		else{
			printf("%d", x);
		}
	}
	else{
		printf("Error");
	}
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:24: error: expected primary-expression before ',' token
    5 |         int x, n, y, z=, i, t;
      |                        ^
a.cc:10:25: error: 'i' was not declared in this scope
   10 |                         i=n/15;
      |                         ^
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main()
{
	int x, n, y, x=1, i, b;
	scanf("%d", &n);
	if(n>=1 && n<=100){
			x=800*n;
		if(n>15){
			i=n/15;
			y=(i*200);
                        b=x-y;
			printf("%d", b);
		}
		else{
			printf("%d", x);
		}
	}
	else{
		printf("Error");
	}
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:22: error: redeclaration of 'int x'
    5 |         int x, n, y, x=1, i, b;
      |                      ^
a.cc:5:13: note: 'int x' previously declared here
    5 |         int x, n, y, x=1, i, b;
      |             ^
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main()
{
	int x, n, y, x=0, i, y=1;
	scanf("%d", &n);
	if(n>=1 && n<=100){
			x=800*n;
		if(n>15){
			i=n/15;
			y=x-(i*200);
			printf("%d", y);
		}
		else{
			printf("%d", x);
		}
	}
	else{
		printf("Error");
	}
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:22: error: redeclaration of 'int x'
    5 |         int x, n, y, x=0, i, y=1;
      |                      ^
a.cc:5:13: note: 'int x' previously declared here
    5 |         int x, n, y, x=0, i, y=1;
      |             ^
a.cc:5:30: error: redeclaration of 'int y'
    5 |         int x, n, y, x=0, i, y=1;
      |                              ^
a.cc:5:19: note: 'int y' previously declared here
    5 |         int x, n, y, x=0, i, y=1;
      |                   ^
Language: Java

import java.util.Scanner;
2. 
3.public class Main{
4.  public static void main(String[] args){
5.    Scanner sc = new Scanner(System. in);
6.    int n = sc.nextInt();
7.    int x = 800 * n;
8.    int y = 200 * ( n / 15 );
9.    System.out.oriintin(x - y);
10.  }
11.}


Compiler output:
Main.java:2: error: class, interface, enum, or record expected
2. 
^
Main.java:4: error: illegal start of type
4.  public static void main(String[] args){
^
Main.java:5: error: not a statement
5.    Scanner sc = new Scanner(System. in);
^
Main.java:5: error: ';' expected
5.    Scanner sc = new Scanner(System. in);
  ^
Main.java:6: error: not a statement
6.    int n = sc.nextInt();
^
Main.java:6: error: ';' expected
6.    int n = sc.nextInt();
  ^
Main.java:7: error: not a statement
7.    int x = 800 * n;
^
Main.java:7: error: ';' expected
7.    int x = 800 * n;
  ^
Main.java:8: error: not a statement
8.    int y = 200 * ( n / 15 );
^
Main.java:8: error: ';' expected
8.    int y = 200 * ( n / 15 );
  ^
Main.java:9: error: not a statement
9.    System.out.oriintin(x - y);
^
Main.java:9: error: ';' expected
9.    System.out.oriintin(x - y);
  ^
Main.java:10: error: not a statement
10.  }
^
Main.java:10: error: ';' expected
10.  }
   ^
Main.java:11: error: illegal start of type
11.}
^
15 errors
Language: Java

import java.util.Scanner;
2.public class Main{
3.   public static void main(String[] args){
4.     Scanner sc = new Scanner(System.in);
5.     int n = sc.nextInt();
6.     int x = 800 * n;
7.     int y = 200 * ( n / 15);
8.     System.out.println( x - y );
9.   }
10.}


Compiler output:
Main.java:2: error: class, interface, enum, or record expected
2.public class Main{
^
Main.java:3: error: illegal start of type
3.   public static void main(String[] args){
^
Main.java:4: error: not a statement
4.     Scanner sc = new Scanner(System.in);
^
Main.java:4: error: ';' expected
4.     Scanner sc = new Scanner(System.in);
  ^
Main.java:5: error: not a statement
5.     int n = sc.nextInt();
^
Main.java:5: error: ';' expected
5.     int n = sc.nextInt();
  ^
Main.java:6: error: not a statement
6.     int x = 800 * n;
^
Main.java:6: error: ';' expected
6.     int x = 800 * n;
  ^
Main.java:7: error: not a statement
7.     int y = 200 * ( n / 15);
^
Main.java:7: error: ';' expected
7.     int y = 200 * ( n / 15);
  ^
Main.java:8: error: not a statement
8.     System.out.println( x - y );
^
Main.java:8: error: ';' expected
8.     System.out.println( x - y );
  ^
Main.java:9: error: not a statement
9.   }
^
Main.java:9: error: ';' expected
9.   }
  ^
Main.java:10: error: illegal start of type
10.}
^
15 errors
Language: Java

import java.util.Scanner;

public class Main{
3.  public static void main(String[] args){
4.    Scanner sc = new Scanner(System.in);
5.    int n = sc.nextInt();
6.    int x = 800 * n;
7.    int y = 200 * (n/25);
8.    System.out.println(x-y);
9.  }
10.}


Compiler output:
Main.java:4: error: illegal start of type
3.  public static void main(String[] args){
^
Main.java:5: error: not a statement
4.    Scanner sc = new Scanner(System.in);
^
Main.java:5: error: ';' expected
4.    Scanner sc = new Scanner(System.in);
  ^
Main.java:6: error: not a statement
5.    int n = sc.nextInt();
^
Main.java:6: error: ';' expected
5.    int n = sc.nextInt();
  ^
Main.java:7: error: not a statement
6.    int x = 800 * n;
^
Main.java:7: error: ';' expected
6.    int x = 800 * n;
  ^
Main.java:8: error: not a statement
7.    int y = 200 * (n/25);
^
Main.java:8: error: ';' expected
7.    int y = 200 * (n/25);
  ^
Main.java:9: error: not a statement
8.    System.out.println(x-y);
^
Main.java:9: error: ';' expected
8.    System.out.println(x-y);
  ^
Main.java:10: error: not a statement
9.  }
^
Main.java:10: error: ';' expected
9.  }
  ^
Main.java:11: error: illegal start of type
10.}
^
14 errors
Language: Java

import java.util.Scanner;

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


Compiler output:
Main.java:12: error: cannot find symbol
    System.out.printin(x-y);
              ^
  symbol:   method printin(int)
  location: variable out of type PrintStream
1 error
Language: Java

import java.util.Scanner

public class Main{

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

}


Compiler output:
Main.java:1: error: ';' expected
import java.util.Scanner
                        ^
1 error
Language: Java

import java.util.Scanner;

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

Compiler output:
Main.java:4: error: <identifier> expected
  public static void main(String{} args){
                                ^
Main.java:4: error: <identifier> expected
  public static void main(String{} args){
                                       ^
2 errors
Language: Java

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


Compiler output:
Main.java:1: error: package java.utl does not exist
import java.utl.*;
^
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
3 errors
Language: Java

import.java.util.Scanner;




public class Main{

  public static void main(String[] args){

    Scanner sc = new Scanner(System.in);

    int n = sc.nextInt();

    int x = 800 * n;

    int y = 200 * ( n / 15 );

    System.out.println( x - y );

  }

}


Compiler output:
Main.java:1: error: <identifier> expected
import.java.util.Scanner;
      ^
1 error
Language: Java

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


Compiler output:
Main.java:8: error: ';' expected
     System out.println( x - y );
               ^
1 error
Language: Java

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

Compiler output:
Main.java:4: error: ';' expected
  Scanner sc = new Scanner(System.in)
                                     ^
Main.java:7: error: ';' expected
  int y = 200*(n/15)
                    ^
Main.java:10: error: ';' expected
  System.out.println(result)
                            ^
3 errors
Language: Java

import java.util.Scanner

public class Main{

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

}


Compiler output:
Main.java:1: error: ';' expected
import java.util.Scanner
                        ^
1 error
Language: Java

import java.util.scanner

public class Main{

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

}



Compiler output:
Main.java:1: error: ';' expected
import java.util.scanner
                        ^
1 error
Language: Java

import java.util.scanner

public class Main{

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

}



Compiler output:
Main.java:1: error: ';' expected
import java.util.scanner
                        ^
Main.java:10: error: ';' expected
        int y = 200*(n/15)
                          ^
2 errors
Language: Java

import java.util.scanner

public class Main{

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

}



Compiler output:
Main.java:1: error: ';' expected
import java.util.scanner
                        ^
1 error
Language: Java

import java.util.scanner

public class Main{

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

}


Compiler output:
Main.java:1: error: ';' expected
import java.util.scanner
                        ^
Main.java:10: error: ';' expected
        int y = 200*(n/15)
                          ^
2 errors
Language: Java

import java.utl.scanner

public class Main{

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

}

Compiler output:
Main.java:1: error: ';' expected
import java.utl.scanner
                       ^
Main.java:10: error: ';' expected
        int y = 200*(n/15)
                          ^
2 errors
Language: C++

#include<bits/stdc++.h>

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

Compiler output:
a.cc: In function 'int main()':
a.cc:5:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    5 |   cin >> N;
      |   ^~~
      |   std::cin
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:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:6:3: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    6 |   cout << (800*N)-(200*(N%15)) << 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:6:35: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    6 |   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: C++

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

int main() {
  int N;
  cin >> N;

  int count = 0;
  while (N > 0) {
    // 2で割り切れなければループを抜ける
    if (N % 15 > 0) {
      break;
    }
    if( N % 15 == 0){
    count++;
  }
  cout <<(N*800)-(200*count) << endl;
}


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

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

int main() {
  int N;
  cin >> N;

  int count = 0;
  while (N > 0) {
    // 2で割り切れなければループを抜ける
    if (N % 15 > 0) {
      break;
    }
    if( n % 15 == 0){
    count++;
  }
  cout <<(N*800)-(200*count) << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:14:9: error: 'n' was not declared in this scope
   14 |     if( n % 15 == 0){
      |         ^
a.cc:18:2: error: expected '}' at end of input
   18 | }
      |  ^
a.cc:4:12: note: to match this '{'
    4 | int main() {
      |            ^
Language: C++

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

int main() {
  int N;
  cin >> N;

  int count = 0;
  while (N > 0) {
    // 2で割り切れなければループを抜ける
    if (N % 15 > 0) {
      break;
    }
    if( n % 15 == 0);
    count++;
  }
  cout <<(N*800)-(200*count) << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:14:9: error: 'n' was not declared in this scope
   14 |     if( n % 15 == 0);
      |         ^
Language: C++

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

int main() {
  int N;
  cin >> N;

  int count = 0;
  while (N > 0) {
    // 2で割り切れなければループを抜ける
    if (N % 15 > 0) {
      break;
    }
     n % 15 == 0;
    count++;
  }
  cout <<(N*800)-(200*count) << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:14:6: error: 'n' was not declared in this scope
   14 |      n % 15 == 0;
      |      ^
Language: C++

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:7:17: error: 'n' was not declared in this scope
    7 |   cout << 800 * n - n / 15 * 200 << endl;
      |                 ^
Language: C++

#include <iostream>

using namespace std;

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


Compiler output:
a.cc: In function 'int main()':
a.cc:8:3: error: expected initializer before 'cin'
    8 |   cin >> N;
      |   ^~~
a.cc:10:16: error: 'N' was not declared in this scope
   10 |   cout << (800*N - 200*(N/15)) << endl;
      |                ^
Language: C++

#include <iostream>
#include <vector>
#include <map>
#include <queue>
#include <string>
#include <algorithm>
#include <cmath>
#include <climits>
#define REP(i, n) for(int i=0; i<(n); i++)
#define FOR(i, a, n) for(int i=(a); i<(n); i++)
using namespace std;

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

Compiler output:
a.cc: In function 'int main()':
a.cc:16:19: error: invalid type argument of unary '*' (have 'int')
   16 |     cout << 800*N-*N/15*200 << endl;
      |                   ^~
Language: C++

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

int main() {
    int a;
    cin>>a;
    b=(a-a%15)/15;
    cout<<800*a-200*b<<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:5: error: 'b' was not declared in this scope
    7 |     b=(a-a%15)/15;
      |     ^
Language: C++

#include<stdio.h>
int main()
{
	int N, a;
	scanf("%d", &N);
	
	a = N % 15
	
	printf("%d", 800*N-200*a);
	
	return 0;
	
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:19: error: expected ';' before 'printf'
    7 |         a = N % 15
      |                   ^
      |                   ;
    8 | 
    9 |         printf("%d", 800*N-200*a);
      |         ~~~~~~
Language: C

#include <iostream>
using namespace std;

int main()
{
	int n,ans,tot;
	cin >> n;
	
	ans=n/15;
	ans=ans*200;
	tot=n*800;
	cout << tot-ans << endl;
	return 0;	
}

Compiler output:
main.c:1:10: fatal error: iostream: No such file or directory
    1 | #include <iostream>
      |          ^~~~~~~~~~
compilation terminated.
Language: C++

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

int main(){
    int N;
    cin >> N;
    final int price = 800;
    final int bonas = 200;
    int x,y;
    x = N * price;
    y = ( (N - N % 15) / 15 ) * bonas;
    int ans = x - y;
    cout << ans << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:5: error: 'final' was not declared in this scope
    7 |     final int price = 800;
      |     ^~~~~
a.cc:8:10: error: expected ';' before 'int'
    8 |     final int bonas = 200;
      |          ^~~~
      |          ;
a.cc:10:13: error: 'price' was not declared in this scope
   10 |     x = N * price;
      |             ^~~~~
a.cc:11:33: error: 'bonas' was not declared in this scope
   11 |     y = ( (N - N % 15) / 15 ) * bonas;
      |                                 ^~~~~
Language: C++

read N; echo $[N*800-N/15*200]

Compiler output:
a.cc:1:1: error: 'read' does not name a type
    1 | read N; echo $[N*800-N/15*200]
      | ^~~~
a.cc:1:9: error: 'echo' does not name a type
    1 | read N; echo $[N*800-N/15*200]
      |         ^~~~
Language: C++

#include <iostream>
#include <cstring>
using namespace std;
int main()
{
   int power=1;
   int tnum;
   cin>>tnum;
   for (int i = 1; i <tnum+1 ; i++)
   {
      power=power*tnum;
   }
   
   cout<<(power)/10^9+7;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:14:20: error: no match for 'operator^' (operand types are 'std::basic_ostream<char>' and 'int')
   14 |    cout<<(power)/10^9+7;
      |    ~~~~~~~~~~~~~~~~^~~~
      |        |             |
      |        |             int
      |        std::basic_ostream<char>
a.cc:14:20: note: candidate: 'operator^(int, int)' (built-in)
   14 |    cout<<(power)/10^9+7;
      |    ~~~~~~~~~~~~~~~~^~~~
a.cc:14:20: note:   no known conversion for argument 1 from 'std::basic_ostream<char>' to 'int'
In file included from /usr/include/c++/14/bits/memory_resource.h:38,
                 from /usr/include/c++/14/string:68,
                 from /usr/include/c++/14/bits/locale_classes.h:40,
                 from /usr/include/c++/14/bits/ios_base.h:41,
                 from /usr/include/c++/14/ios:44,
                 from /usr/include/c++/14/ostream:40,
                 from /usr/include/c++/14/iostream:41,
                 from a.cc:1:
/usr/include/c++/14/cstddef:146:3: note: candidate: 'constexpr std::byte std::operator^(byte, byte)'
  146 |   operator^(byte __l, byte __r) noexcept
      |   ^~~~~~~~
/usr/include/c++/14/cstddef:146:18: note:   no known conversion for argument 1 from 'std::basic_ostream<char>' to 'std::byte'
  146 |   operator^(byte __l, byte __r) noexcept
      |             ~~~~~^~~
/usr/include/c++/14/bits/ios_base.h:94:3: note: candidate: 'constexpr std::_Ios_Fmtflags std::operator^(_Ios_Fmtflags, _Ios_Fmtflags)'
   94 |   operator^(_Ios_Fmtflags __a, _Ios_Fmtflags __b) _GLIBCXX_NOTHROW
      |   ^~~~~~~~
/usr/include/c++/14/bits/ios_base.h:94:27: note:   no known conversion for argument 1 from 'std::basic_ostream<char>' to 'std::_Ios_Fmtflags'
   94 |   operator^(_Ios_Fmtflags __a, _Ios_Fmtflags __b) _GLIBCXX_NOTHROW
      |             ~~~~~~~~~~~~~~^~~
/usr/include/c++/14/bits/ios_base.h:144:3: note: candidate: 'constexpr std::_Ios_Openmode std::operator^(_Ios_Openmode, _Ios_Openmode)'
  144 |   operator^(_Ios_Openmode __a, _Ios_Openmode __b) _GLIBCXX_NOTHROW
      |   ^~~~~~~~
/usr/include/c++/14/bits/ios_base.h:144:27: note:   no known conversion for argument 1 from 'std::basic_ostream<char>' to 'std::_Ios_Openmode'
  144 |   operator^(_Ios_Openmode __a, _Ios_Openmode __b) _GLIBCXX_NOTHROW
      |             ~~~~~~~~~~~~~~^~~
/usr/include/c++/14/bits/ios_base.h:191:3: note: candidate: 'constexpr std::_Ios_Iostate std::operator^(_Ios_Iostate, _Ios_Iostate)'
  191 |   operator^(_Ios_Iostate __a, _Ios_Iostate __b) _GLIBCXX_NOTHROW
      |   ^~~~~~~~
/usr/include/c++/14/bits/ios_base.h:191:26: note:   no known conversion for argument 1 from 'std::basic_ostream<char>' to 'std::_Ios_Iostate'
  191 |   operator^(_Ios_Iostate __a, _Ios_Iostate __b) _GLIBCXX_NOTHROW
      |             ~~~~~~~~~~~~~^~~
Language: C

#include<stdio.h>

int main(void)
{
int n,x,y;

scanf("%d",&n);

x = n * 800;

y = n % 15 * 200;

prientf("%d",x-y);

  return 0;
}


Compiler output:
main.c: In function 'main':
main.c:13:1: error: implicit declaration of function 'prientf'; did you mean 'printf'? [-Wimplicit-function-declaration]
   13 | prientf("%d",x-y);
      | ^~~~~~~
      | printf
Language: C++

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

int main(){
  int N;
  cin >> N;
  int d=N/15;
  cout << N*800 - d*200

Compiler output:
a.cc: In function 'int main()':
a.cc:8:24: error: expected ';' at end of input
    8 |   cout << N*800 - d*200
      |                        ^
      |                        ;
a.cc:8:24: error: expected '}' at end of input
a.cc:4:11: note: to match this '{'
    4 | int main(){
      |           ^
Language: C++

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

int main(){
  int N,ans,coupon;
  cin >> N;
  coupon = N%15
  ans = 800*N - 200*coupon;
  cout << ans <<endl;
  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:16: error: expected ';' before 'ans'
    7 |   coupon = N%15
      |                ^
      |                ;
    8 |   ans = 800*N - 200*coupon;
      |   ~~~
Language: C++

def restaurant(N: int) -> int:
    x = 800 * N
    y = 200 * (N // 15)
    return x - y


if __name__ == "__main__":
    N = int(input())
    ans = restaurant(N)
    print(ans)


Compiler output:
a.cc:1:1: error: 'def' does not name a type
    1 | def restaurant(N: int) -> int:
      | ^~~
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:7:3: error: expected ',' or ';' before 'printf'
    7 |   printf("%d\n",x-y);
      |   ^~~~~~
Language: C++

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

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


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

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

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


Compiler output:
a.cc:1:2: error: invalid preprocessing directive #inlude; did you mean #include?
    1 | #inlude<bits.stdc++.h>
      |  ^~~~~~
      |  include
a.cc: In function 'int main()':
a.cc:6:5: error: 'cin' was not declared in this scope
    6 |     cin>>N;
      |     ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | #inlude<bits.stdc++.h>
a.cc:9:5: error: 'cout' was not declared in this scope
    9 |     cout<<x-y<<endl;
      |     ^~~~
a.cc:9:5: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:9:16: error: 'endl' was not declared in this scope
    9 |     cout<<x-y<<endl;
      |                ^~~~
a.cc:1:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
  +++ |+#include <ostream>
    1 | #inlude<bits.stdc++.h>
Language: C++

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:9:15: error: 'N' was not declared in this scope
    9 |   cout << 800*N-(N/15)*200;
      |               ^
Language: C++

#include<iostream>
using namespace std;
int main(){
  int n,cnt=0;
  cin>>n;
  for(int i=1;i<n+1:;i++){
    if(i%15==0)cnt++;
  }
  cout<<n*800-200*cnt<<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:15: warning: range-based 'for' loops with initializer only available with '-std=c++20' or '-std=gnu++20' [-Wc++20-extensions]
    6 |   for(int i=1;i<n+1:;i++){
      |               ^
a.cc:6:20: error: expected ';' before ':' token
    6 |   for(int i=1;i<n+1:;i++){
      |                    ^
      |                    ;
a.cc:6:25: error: expected ';' before ')' token
    6 |   for(int i=1;i<n+1:;i++){
      |                         ^
      |                         ;
Language: C++

#include <iostream>
using namespace std;

int main() {
	__int64 N, power = 1;
	cin >> N;
	for (int i = 1; i <= N; i++) {
		power = (power * i) % 1000000007;
	}
	cout << power << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:9: error: '__int64' was not declared in this scope; did you mean '__int64_t'?
    5 |         __int64 N, power = 1;
      |         ^~~~~~~
      |         __int64_t
a.cc:6:16: error: 'N' was not declared in this scope
    6 |         cin >> N;
      |                ^
a.cc:8:17: error: 'power' was not declared in this scope
    8 |                 power = (power * i) % 1000000007;
      |                 ^~~~~
a.cc:10:17: error: 'power' was not declared in this scope
   10 |         cout << power << endl;
      |                 ^~~~~
Language: C

import java.util.*;

public class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    int n = sc.nextInt();
    int sum = 0;
    for(int i = 1;i <= n;i++){
      sum = sum + 800;
      if(i%15 == 0){
        sum = sum - 200;
      }
    }
    System.out.println(sum);
  }
}


Compiler output:
main.c:1:1: error: unknown type name 'import'
    1 | import java.util.*;
      | ^~~~~~
main.c:1:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
    1 | import java.util.*;
      |            ^
main.c:3:1: error: unknown type name 'public'
    3 | public class Main{
      | ^~~~~~
main.c:3:14: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Main'
    3 | public class Main{
      |              ^~~~
Language: C++

#include<iostream>
using namespace std;

int main(void)
{
    int n = 0,tmp = 0;
    cin >> n;
    tmp = n / 15
    cout << n * 800 - tmp * 200 << endl;
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:17: error: expected ';' before 'cout'
    8 |     tmp = n / 15
      |                 ^
      |                 ;
    9 |     cout << n * 800 - tmp * 200 << endl;
      |     ~~~~
Language: C++

#include<iostream>

int main(void)
{
    int n = 0,tmp = 0;
    cin >> n;
    tmp = n / 15
    cout << n * 800 - tmp * 200 << endl;
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:5: 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
      |                  ^~~
a.cc:7:17: error: expected ';' before 'cout'
    7 |     tmp = n / 15
      |                 ^
      |                 ;
    8 |     cout << n * 800 - tmp * 200 << endl;
      |     ~~~~
Language: C++

#incldue<bits/stdc++.h>
using namespace std;
int main(){int a,b;cin>>a>>b;cout<<a*800-(b/15)*200;}

Compiler output:
a.cc:1:2: error: invalid preprocessing directive #incldue; did you mean #include?
    1 | #incldue<bits/stdc++.h>
      |  ^~~~~~~
      |  include
a.cc: In function 'int main()':
a.cc:3:20: error: 'cin' was not declared in this scope
    3 | int main(){int a,b;cin>>a>>b;cout<<a*800-(b/15)*200;}
      |                    ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | #incldue<bits/stdc++.h>
a.cc:3:30: error: 'cout' was not declared in this scope
    3 | int main(){int a,b;cin>>a>>b;cout<<a*800-(b/15)*200;}
      |                              ^~~~
a.cc:3:30: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
Language: C++

#include <iostream>
#include <string>
#include <vector>
#include <algorithm>
using namespace std;
int main()
{
    // 整数の入力
    int N,x,y;
    cin >> N;

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

  	cout << x -y << endl;
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:13:28: error: expected ';' before 'cout'
   13 |     y = 200 * (int)(N / 15)
      |                            ^
      |                            ;
   14 | 
   15 |         cout << x -y << endl;
      |         ~~~~
Language: C++

#include <iostream>
#include <string>
#include <vector>
#include <algorithm>
using namespace std;
int main()
{
    // 整数の入力
    int N,x,y;
    cin >> N;

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

  	cout << x -y << endl;
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:13:23: error: expected ';' before 'cout'
   13 |     y = 200 * (N / 15)
      |                       ^
      |                       ;
   14 | 
   15 |         cout << x -y << endl;
      |         ~~~~
Language: C++

#include <iostream>
using namespace std;

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

Compiler output:
a.cc: In function 'int main()':
a.cc:6:13: error: found ':' in nested-name-specifier, expected '::'
    6 |     cin >> N:
      |             ^
      |             ::
a.cc:6:12: error: 'N' is not a class, namespace, or enumeration
    6 |     cin >> N:
      |            ^
Language: Java

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

Compiler output:
Main.java:10: error: reached end of file while parsing
    }
     ^
1 error
Language: C++

#include <iostream>
using namespace std;

int main(){
    
    int n;
    cin>>n;

    int ans=0;
    ans=n*800
    int nebiki=0;
    nebiki=n%15;
    cout<<ans-(nebiki*200)<<endl;

    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:10:14: error: expected ';' before 'int'
   10 |     ans=n*800
      |              ^
      |              ;
   11 |     int nebiki=0;
      |     ~~~       
a.cc:12:5: error: 'nebiki' was not declared in this scope
   12 |     nebiki=n%15;
      |     ^~~~~~
Language: C++

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

#define EPS (1e-7)
#define INF (1e9)
#define PI (acos(-1))
//const ll mod = 1000000007;

int main() {
    //cout.precision(10);
    int M;
    cin >> M;
    cout << 800*x-(x/15)*200 << endl;
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:14:17: error: 'x' was not declared in this scope
   14 |     cout << 800*x-(x/15)*200 << endl;
      |                 ^
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:7:13: error: unable to find numeric literal operator 'operator""a'
    7 | cout<<n*800-200a;
      |             ^~~~
Language: C++

#include<iostream>
using namespace std;
int main(){
int n,a;
a=n/15;
cout<<n*800-200a;
cout<<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:13: error: unable to find numeric literal operator 'operator""a'
    6 | cout<<n*800-200a;
      |             ^~~~
Language: C++

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

int main(void){
  int n, x, y;
  cin >> n;
  x = n*800;
  y = n/15;
  cout << x-y << endl
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:22: error: expected ';' before '}' token
    9 |   cout << x-y << endl
      |                      ^
      |                      ;
   10 | }
      | ~
Language: C

#include <stdio.h>
int main(){
	int a;
	sacnf("%d",&a);
	printf("%d\n",(a*800)-((a/15)*200));
}

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

#include <cstdio>
#include <iostream>
int n ,ans;

int main()
{
scanf(“%d”,&n);
ans = n*800;
int k = n / 15;
ans -= k * 200;
printf(“%d”,ans);
}

Compiler output:
a.cc:7:7: error: extended character “ is not valid in an identifier
    7 | scanf(“%d”,&n);
      |       ^
a.cc:7:9: error: extended character ” is not valid in an identifier
    7 | scanf(“%d”,&n);
      |         ^
a.cc:11:8: error: extended character “ is not valid in an identifier
   11 | printf(“%d”,ans);
      |        ^
a.cc:11:10: error: extended character ” is not valid in an identifier
   11 | printf(“%d”,ans);
      |          ^
a.cc: In function 'int main()':
a.cc:7:7: error: '\U0000201c' was not declared in this scope
    7 | scanf(“%d”,&n);
      |       ^
a.cc:7:9: error: 'd\U0000201d' was not declared in this scope
    7 | scanf(“%d”,&n);
      |         ^~
Language: C++

#include <stdio.h>
#include <stdlib.h>
int main()
{
	int a;
	scanf("%d", &a);
	if (a<=15)
	{
		int b;
		b = * 800;
		printf("%d", b);
	}
	if (a > 15)
	{
		int c;
		c = a * 800 - 200 * (a / 15);
		printf("%d", c);
	}
	system("pause");
	return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:10:21: error: invalid type argument of unary '*' (have 'int')
   10 |                 b = * 800;
      |                     ^~~~~
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:7:11: error: unable to find numeric literal operator 'operator""N'
    7 |   cout << 800N-(N/15)*200 << endl;
      |           ^~~~
Language: C++

#include <bits/stdc++.h>
#define rep(i,a,n) for(int (i) = (a);(i) < (n);(i)++)
typedef long long ll;

using namespace std;

int main(){
	ll n,memo = 0;
	
	cin >> n;
	
	rep(i,1,n+1){
		memo += i;	
	}
	
	cout << memo % (pow(10,9)+7) << endl;
	return 0;
}

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

#include<bits/stdc++.h>
using namespace std;
int main(){
  const int N;
  scanf("%d",&N);
  printf("%d",N*800-(N/15)*200);
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:4:13: error: uninitialized 'const N' [-fpermissive]
    4 |   const int N;
      |             ^
Language: C++

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:11:15: error: 'b' was not declared in this scope
   11 |   cout << a - b << endl;
      |               ^
Language: C

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

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

Compiler output:
main.c:1:10: fatal error: bits/stdc++.h: No such file or directory
    1 | #include <bits/stdc++.h>
      |          ^~~~~~~~~~~~~~~
compilation terminated.
Language: C++

#include <bits/stdc++.h>
#define REP(i,n) for(int i=0;i<(n);i++)
const int MOD=(int)1e9+7;
using namespace std;
int main(){
    int n;
    cin >> n;
    cout << n*800 - (n/15)*200 << endl;

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

#include <bits/stdc++.h>
#define REP(i,n) for(int i=0;i<(n);i++)
const int MOD=(int)1e9+7;
using namespace std;
int main(){
    int n;
    cin >> n;
    cout << n*800+(n/15)*200 << endl;

Compiler output:
a.cc: In function 'int main()':
a.cc:8:38: error: expected '}' at end of input
    8 |     cout << n*800+(n/15)*200 << endl;
      |                                      ^
a.cc:5:11: note: to match this '{'
    5 | int main(){
      |           ^
Language: C++

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:8:17: error: 'x' was not declared in this scope
    8 |   cout << 800 * x - 200 * (x / 15) << endl;
      |                 ^
Language: C++

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

int main() {
int n;
scanf("%d",&n);
int x;
x=n*800;
int y=x/15;
y=y*200;
printf("%d",x-y);

Compiler output:
a.cc: In function 'int main()':
a.cc:12:18: error: expected '}' at end of input
   12 | printf("%d",x-y);
      |                  ^
a.cc:5:12: note: to match this '{'
    5 | int main() {
      |            ^
Language: C++

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

int main() {
int n;
scanf("%d",&n);
int x;
x=n*800;
y=x/15;
y=y*200;
printf("%d",x-y);

Compiler output:
a.cc: In function 'int main()':
a.cc:10:1: error: 'y' was not declared in this scope
   10 | y=x/15;
      | ^
a.cc:12:18: error: expected '}' at end of input
   12 | printf("%d",x-y);
      |                  ^
a.cc:5:12: note: to match this '{'
    5 | int main() {
      |            ^
Language: Java

package atcoder.abc.java;

public class Restaurant {

	public int calcPrice(int x) {
		int res = 0;
		res = 800 * x - 200 * (x / 15);

		return res;
	}

}


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: C++

#include <bits/stdc++.h>
using namespace std;
int N, x, y;

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

Compiler output:
a.cc: In function 'int main()':
a.cc:9:3: error: 'xout' was not declared in this scope
    9 |   xout<< x -y<<endl;
      |   ^~~~
Language: C++

#include<iostream>
#include<algorithm>
#include<vector>
#include<string>
using namespace std;
typedef long long lng;
#define FOR(i,a,b) for(int i=(a); i<=(b); ++i)
#define FORD(i,b,a) for(int i=(b); i>=(a); --i)
#define REP(i,n) FOR(i,0,n-1)
#define ALL(a) (a).begin(), (a).end()
#define UNIQUE(a) a.erase(unique(ALL(a)), a.end()) //NOTE: <a> must be sorted in advance

lng power(lng b, lng n) {lng sol=1; while(n>0) {if(n&1) {sol=sol*b;} n>>=1; b*= b;} return sol;} //calculate b^n

const int MOD = 1000000007; //10^9+7


/*********** variables ************/
int N
/**********************************/

int main() {
    cin.tie(0);
    ios::sync_with_stdio(false);
    cin >> N;
    int ans = N*800;
    ans -= 200*(N/15);
}


Compiler output:
a.cc:22:1: error: expected initializer before 'int'
   22 | int main() {
      | ^~~
Language: C++

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:7:11: error: expected ';' before 'cout'
    7 |   c = b/15
      |           ^
      |           ;
    8 |   cout << a * 800 - c * 200 << endl;
      |   ~~~~
Language: C++

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

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


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

#include <stdio.h>

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

Compiler output:
a.cc:3:16: error: expected unqualified-id before '{' token
    3 | int main(void);{
      |                ^
Language: C++

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:6:9: error: expected ';' before 'cout'
    6 |   cin>>n
      |         ^
      |         ;
    7 |     cout<<n*800-n/15*200<<endl;
      |     ~~~~